From 7b2cd582f1f69f57c8f826ae8e0a7eadd6e33627 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 5 Nov 2023 15:46:10 +0100 Subject: Add config option to set movement speed and icon spinning speed --- include/Config.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/Config.hpp') 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; -- cgit v1.2.3