diff options
Diffstat (limited to 'src/protocols/CTMControl.hpp')
| -rw-r--r-- | src/protocols/CTMControl.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/protocols/CTMControl.hpp b/src/protocols/CTMControl.hpp index 70bc79bc..51820f20 100644 --- a/src/protocols/CTMControl.hpp +++ b/src/protocols/CTMControl.hpp @@ -6,6 +6,8 @@ #include "WaylandProtocol.hpp" #include "hyprland-ctm-control-v1.hpp" #include <unordered_map> +#include <map> +#include "../helpers/AnimatedVariable.hpp" class CMonitor; @@ -36,6 +38,14 @@ class CHyprlandCTMControlProtocol : public IWaylandProtocol { // std::vector<SP<CHyprlandCTMControlResource>> m_vManagers; + // + struct SCTMData { + SCTMData(); + Mat3x3 ctmFrom = Mat3x3::identity(), ctmTo = Mat3x3::identity(); + CAnimatedVariable<float> progress; + }; + std::map<PHLMONITORREF, std::unique_ptr<SCTMData>> m_mCTMDatas; + friend class CHyprlandCTMControlResource; }; |
