mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2025-11-02 09:01:43 -05:00
opt: support custom fadein fadeout bigin opacity
This commit is contained in:
parent
f7ccaca144
commit
fb1a3e4dbc
2 changed files with 7 additions and 5 deletions
|
|
@ -8,8 +8,10 @@
|
|||
/* animation */
|
||||
static const bool animations = true; // Enable animations
|
||||
static const char *animation_type = "slide"; //slide or zoom
|
||||
static const char animation_fade_in = 1; // Enable animation fade in
|
||||
static const char animation_fade_in = 0; // Enable animation fade in
|
||||
static const float zoom_initial_ratio = 0.5; // Initial window ratio for animations
|
||||
static const float fadeout_begin_opacity = 1; // Begin opacity for animations fadeout
|
||||
static const float fadein_begin_opacity = 0; // Begin opacity for animations fasdein
|
||||
static const uint32_t animation_duration_move = 300; // Animation move speed
|
||||
static const uint32_t animation_duration_open = 300; // Animation open speed
|
||||
static const uint32_t animation_duration_close = 200; // Animation close speed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue