diff options
| author | davc0n <dconti.dev@gmail.com> | 2025-05-04 00:13:29 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-04 00:13:29 +0200 |
| commit | adbae0f74d951e06c575bad3c81a944027dfe413 (patch) | |
| tree | 4ae313af18629596c7e98518c7c1d2c10bc260a3 /src/protocols/GammaControl.hpp | |
| parent | 46ac115bd19ee3aff5c816033de0b1d55a74e33f (diff) | |
protocols: refactor class member vars (a-m) (#10265)
Diffstat (limited to 'src/protocols/GammaControl.hpp')
| -rw-r--r-- | src/protocols/GammaControl.hpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/protocols/GammaControl.hpp b/src/protocols/GammaControl.hpp index 9e21ef08..525f5b67 100644 --- a/src/protocols/GammaControl.hpp +++ b/src/protocols/GammaControl.hpp @@ -18,18 +18,18 @@ class CGammaControl { PHLMONITOR getMonitor(); private: - SP<CZwlrGammaControlV1> resource; - PHLMONITORREF pMonitor; - size_t gammaSize = 0; - bool gammaTableSet = false; - std::vector<uint16_t> gammaTable; // [r,g,b]+ + SP<CZwlrGammaControlV1> m_resource; + PHLMONITORREF m_monitor; + size_t m_gammaSize = 0; + bool m_gammaTableSet = false; + std::vector<uint16_t> m_gammaTable; // [r,g,b]+ void onMonitorDestroy(); struct { CHyprSignalListener monitorDisconnect; CHyprSignalListener monitorDestroy; - } listeners; + } m_listeners; }; class CGammaControlProtocol : public IWaylandProtocol { @@ -46,8 +46,8 @@ class CGammaControlProtocol : public IWaylandProtocol { void onGetGammaControl(CZwlrGammaControlManagerV1* pMgr, uint32_t id, wl_resource* output); // - std::vector<UP<CZwlrGammaControlManagerV1>> m_vManagers; - std::vector<UP<CGammaControl>> m_vGammaControllers; + std::vector<UP<CZwlrGammaControlManagerV1>> m_managers; + std::vector<UP<CGammaControl>> m_gammaControllers; friend class CGammaControl; }; |
