summaryrefslogtreecommitdiff
path: root/src/hyprerror/HyprError.hpp
diff options
context:
space:
mode:
authordavc0n <dconti.dev@gmail.com>2025-05-01 13:26:43 +0200
committerGitHub <noreply@github.com>2025-05-01 13:26:43 +0200
commitce4766772d2723f8562a2b991c8ff378fd27d3a2 (patch)
tree2c6a15eb8fd42f6d4ed39c9c8bf987c7505a59f0 /src/hyprerror/HyprError.hpp
parent8d6618104e28f6444d917b398244c56ac32ae993 (diff)
hyprerror: refactor class member vars (#10227)
Diffstat (limited to 'src/hyprerror/HyprError.hpp')
-rw-r--r--src/hyprerror/HyprError.hpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/hyprerror/HyprError.hpp b/src/hyprerror/HyprError.hpp
index 12de0c81..f4bc43d8 100644
--- a/src/hyprerror/HyprError.hpp
+++ b/src/hyprerror/HyprError.hpp
@@ -20,16 +20,16 @@ class CHyprError {
private:
void createQueued();
- std::string m_szQueued = "";
- CHyprColor m_cQueued;
- bool m_bQueuedDestroy = false;
- bool m_bIsCreated = false;
- SP<CTexture> m_pTexture;
- PHLANIMVAR<float> m_fFadeOpacity;
- CBox m_bDamageBox = {0, 0, 0, 0};
- float m_fLastHeight = 0.F;
-
- bool m_bMonitorChanged = false;
+ std::string m_queued = "";
+ CHyprColor m_queuedColor;
+ bool m_queuedDestroy = false;
+ bool m_isCreated = false;
+ SP<CTexture> m_texture;
+ PHLANIMVAR<float> m_fadeOpacity;
+ CBox m_damageBox = {0, 0, 0, 0};
+ float m_lastHeight = 0.F;
+
+ bool m_monitorChanged = false;
};
inline UP<CHyprError> g_pHyprError; // This is a full-screen error. Treat it with respect, and there can only be one at a time.