summaryrefslogtreecommitdiff
path: root/src/protocols/CTMControl.hpp
diff options
context:
space:
mode:
authordavc0n <dconti.dev@gmail.com>2025-05-04 00:13:29 +0200
committerGitHub <noreply@github.com>2025-05-04 00:13:29 +0200
commitadbae0f74d951e06c575bad3c81a944027dfe413 (patch)
tree4ae313af18629596c7e98518c7c1d2c10bc260a3 /src/protocols/CTMControl.hpp
parent46ac115bd19ee3aff5c816033de0b1d55a74e33f (diff)
protocols: refactor class member vars (a-m) (#10265)
Diffstat (limited to 'src/protocols/CTMControl.hpp')
-rw-r--r--src/protocols/CTMControl.hpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/protocols/CTMControl.hpp b/src/protocols/CTMControl.hpp
index eb54a3aa..0f2faca8 100644
--- a/src/protocols/CTMControl.hpp
+++ b/src/protocols/CTMControl.hpp
@@ -19,10 +19,10 @@ class CHyprlandCTMControlResource {
void block();
private:
- SP<CHyprlandCtmControlManagerV1> resource;
+ SP<CHyprlandCtmControlManagerV1> m_resource;
- std::unordered_map<std::string, Mat3x3> ctms;
- bool blocked = false;
+ std::unordered_map<std::string, Mat3x3> m_ctms;
+ bool m_blocked = false;
};
class CHyprlandCTMControlProtocol : public IWaylandProtocol {
@@ -38,8 +38,8 @@ class CHyprlandCTMControlProtocol : public IWaylandProtocol {
bool isCTMAnimationEnabled();
//
- std::vector<SP<CHyprlandCTMControlResource>> m_vManagers;
- WP<CHyprlandCTMControlResource> m_pManager;
+ std::vector<SP<CHyprlandCTMControlResource>> m_managers;
+ WP<CHyprlandCTMControlResource> m_manager;
//
struct SCTMData {
@@ -47,7 +47,7 @@ class CHyprlandCTMControlProtocol : public IWaylandProtocol {
Mat3x3 ctmFrom = Mat3x3::identity(), ctmTo = Mat3x3::identity();
PHLANIMVAR<float> progress;
};
- std::map<PHLMONITORREF, UP<SCTMData>> m_mCTMDatas;
+ std::map<PHLMONITORREF, UP<SCTMData>> m_ctmDatas;
friend class CHyprlandCTMControlResource;
};