aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2023-11-05 15:46:10 +0100
committerdec05eba <dec05eba@protonmail.com>2023-11-05 15:46:10 +0100
commit7b2cd582f1f69f57c8f826ae8e0a7eadd6e33627 (patch)
treeb53898b9b33d875bfcc049aca54b98e50c3af656 /include
parent5071a2428a35c4b2fed16c7f977e7448b02e3def (diff)
Add config option to set movement speed and icon spinning speed
Diffstat (limited to 'include')
-rw-r--r--include/Config.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/Config.hpp b/include/Config.hpp
index 7b77577..1d4675f 100644
--- a/include/Config.hpp
+++ b/include/Config.hpp
@@ -28,6 +28,11 @@ namespace QuickMedia {
int font_size = 16;
};
+ struct AnimationConfig {
+ float move_speed = 30.0f;
+ float loading_icon_speed = 400.0;
+ };
+
struct VideoConfig {
int max_height = 0;
};
@@ -103,6 +108,7 @@ namespace QuickMedia {
TabConfig tab;
BodyConfig body;
InputConfig input;
+ AnimationConfig animation;
VideoConfig video;
LocalMangaConfig local_manga;
LocalAnimeConfig local_anime;