summaryrefslogtreecommitdiff
path: root/src/helpers/AnimatedVariable.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Workspace/core: Refactor workspace storage (#5380)Vaxry2024-04-021-1/+1
| | | | | * refactor workspaces to use ptrs * clang-format
* animvar: fixup update callbacks and cleanupVaxry2024-03-291-1/+24
|
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-021-43/+11
| | | | | | | | | | | | | | | | | | | | | | | * animation: Refactor AnimatedVariable This commit decomposes the AnimatedVariable class into a base class with the common attribute to all variable types and a templated derived type containing strongly typed info on the type being animated. Access to the typed version is perfomed using the visitor pattern. A utility is provided to build a visitor on the fly using lambdas. Adding a new type to be animated should just be a matter of adding the typed in the list defined by the ANIMABLE_TYPES macro The size of the commit is justified by the API change in the AnimatedVariable class. No more vec(), fl() or col() method but a unified value() method. * animation: Remove visitor pattern * animation: Fix coding style * animation: Fix coding style
* avar: return curve value of 1 when not animatedVaxry2024-02-271-0/+3
| | | | fixes #4862
* refactor: manually resets singletons (#3395)memchr2023-09-221-0/+2
|
* internal: Formatter rework (#3186)Vaxry2023-09-061-2/+2
|
* animationmgr: avoid redundant ticksvaxerski2023-08-051-0/+3
|
* animationmgr: avoid looping over all avars in favor of only active onesvaxerski2023-07-201-2/+14
|
* use curves for special dim animvaxerski2022-12-291-0/+9
|
* Added clang format (#1239)Vaxry2022-12-161-13/+12
| | | * clang-format stuff and format files
* Added resize transitionsvaxerski2022-11-061-0/+5
|
* prevent double-registering of avarsvaxerski2022-11-051-1/+4
|
* Multiple animation optimization and xwayland wine fixesvaxerski2022-11-041-2/+4
|
* Replace clamp with max if there is no upper bound.Felix Dick2022-09-261-1/+1
|
* Animation config reworkvaxerski2022-07-281-7/+10
|
* Added workspace animationsvaxerski2022-05-121-0/+4
|
* optimization: dont damage entire window on border animvaxerski2022-05-051-3/+4
|
* Added bezier curvesvaxerski2022-04-231-3/+4
|
* New animation systemvaxerski2022-04-231-0/+54