Commit graph

10 commits

Author SHA1 Message Date
DreamMaoMao
36995cca1f feat: add fadein fadeout curve 2025-12-12 12:14:32 +08:00
DreamMaoMao
9bf87a9610 opt: change unsigned int to uint32_t 2025-12-02 16:58:04 +08:00
DreamMaoMao
9d9a4356e3 feat: Calculate animation curve by time points rather than passed frames 2025-11-04 13:40:34 +08:00
Szymon Rączka
e0f114af59 feat: add smooth focus transition animation for opacity and border
This adds animated transitions when switching focus between windows.
Both window opacity and border color now fade smoothly using cubic
bezier easing instead of changing instantly.

Implementation:
- Added animation_duration_focus config option (default 400ms)
- Added animation_curve_focus for cubic bezier easing curve
- Window opacity and border color animate together when focus changes
- Uses existing animation infrastructure (baked bezier points)

The feature is backwards compatible and can be disabled by setting
animation_duration_focus=0 in config file.

Changes affect 5 files with minimal additions to keep code clean.
2025-11-01 19:29:28 +08:00
DreamMaoMao
cbfd20bff8 opt: optimize animaiton frame fresh 2025-11-01 19:24:45 +08:00
DreamMaoMao
457534bd41 opt: set all monitor pointer init value to NULL 2025-10-06 14:29:12 +08:00
DreamMaoMao
1e1e37e92d opt: optimize layer animaiton frame count in multi monitor 2025-09-07 18:00:19 +08:00
DreamMaoMao
e046053954 feat: support client fade int fade out only animaiton 2025-08-27 09:42:00 +08:00
DreamMaoMao
43081f385e back: no effect 2025-07-09 11:44:04 +08:00
DreamMaoMao
f67a7a1c8b project: optimize project struct 2025-07-06 20:57:38 +08:00