summaryrefslogtreecommitdiff
path: root/src/managers/AnimationManager.hpp
Commit message (Collapse)AuthorAgeFilesLines
* input: Add fully configurable trackpad gestures (#11490)Vaxry2025-08-281-65/+0
| | | Adds configurable trackpad gestures
* refactor: Use new hyprutils casts (#11377)Kamikadze2025-08-141-1/+1
|
* managers: refactor class member vars (#10242)davc0n2025-05-021-3/+3
|
* animations: add the gnomed animation style for windowsVaxry2025-02-161-0/+1
|
* core: move all shared_ptrs from the STL to hyprutils (#9143)Vaxry2025-01-231-1/+1
|
* animationmgr: fix invalid includevaxerski2025-01-071-1/+1
|
* core: move parts of the animation system to hyprutils (#8868)Maximilian Seidler2025-01-071-34/+41
| | | | | | | | | | | | | * core: change animation manager to use Hyprutils::Animation * config: move animation config to hyprutils animation tree * use g_pAnimationManager->createAnimation and the new PHLANIMVAR template * core: use CGenericAnimatedVariabled::{enabled,setConfig,getStyle} and adapt callbacks * core: adapt animated variable usage (dereference the shared pointer) * misc: bump CMakeLists to hyprutils 0.3.3
* core: move colorspace handling to oklab (#8635)Vaxry2024-12-031-2/+2
| | | | | | | | | | | * Meson: add hyprgraphics * Nix: add hyprgraphics * CI/setup_base: get hyprgraphics-git --------- Co-authored-by: Mihai Fufezan <mihai@fufexan.net>
* internal: new shared_ptr and weak_ptr implementation (#5883)Vaxry2024-05-051-1/+1
| | | | | | | | | | | moves std::shared_ptrs to a new implementation Advantages: - you can dereference a weak_ptr directly. This will obviously segfault on a nullptr deref if it's expired. - this is useful to avoid the .lock() hell where we are 100% sure the pointer _should_ be valid. (and if it isn't, it should throw.) - weak_ptrs are still valid while the SP is being destroyed. - reasoning: while an object (e.g. CWindow) is being destroyed, its `weak_ptr self` should be accessible (the sp is still alive, and so is CWindow), but it's not because by stl it's already expired (to prevent resurrection) - this impl solves it differently. w_p is expired, but can still be dereferenced and used. Creating `s_p`s is not possible anymore, though. - this is useful in destructors and callbacks.
* internal: Window storage rework - part 1 (#5762)Vaxry2024-04-271-3/+3
| | | | | | | | | | | | | | | | | * Window storage rework - part 1 * format * remove useless include * fix pch * format * fix crash in dwindle * fix vram leak * prefer .expired() for bool checks
* core: Event loop rework (#5466)Vaxry2024-04-071-1/+2
| | | | | * Event loop rework * revert missed
* refactor: move window.hpp to desktop/Vaxry2024-03-201-1/+2
|
* animations: Refactor AnimatedVariable (#4911)GartoxFR2024-03-021-3/+3
| | | | | | | | | | | | | | | | | | | | | | | * 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
* internal: Unsafe state reworks (#3114)Vaxry2023-09-011-0/+1
|
* animationmgr: avoid redundant ticksvaxerski2023-08-051-0/+4
|
* animationmgr: avoid looping over all avars in favor of only active onesvaxerski2023-07-201-1/+2
|
* Update the debug overlayvaxerski2023-03-031-0/+3
|
* Move AnimationManager::tick() to an event loopvaxerski2023-03-021-0/+2
|
* Add hyprctl animationsvaxerski2023-01-251-8/+10
|
* use curves for special dim animvaxerski2022-12-291-0/+1
|
* Added clang format (#1239)Vaxry2022-12-161-17/+16
| | | * clang-format stuff and format files
* add more errorsvaxerski2022-08-071-0/+4
|
* added popin anim minimum %vaxerski2022-08-061-1/+1
|
* Added closing animations (reverse of open)vaxerski2022-05-281-3/+3
|
* Added window animation rulesvaxerski2022-05-151-0/+4
|
* Added animation style and style slidevaxerski2022-05-141-0/+3
|
* Added bezier curvesvaxerski2022-04-231-2/+8
|
* New animation systemvaxerski2022-04-231-0/+3
|
* added basic damage trackingvaxerski2022-04-141-0/+2
|
* Added animated bordersvaxerski2022-03-311-1/+4
|
* Added basic animations for windowsvaxerski2022-03-231-0/+17