hyprerror: refactor class member vars (#10227)
This commit is contained in:
parent
8d6618104e
commit
ce4766772d
2 changed files with 61 additions and 61 deletions
|
|
@ -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;
|
||||
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_bMonitorChanged = false;
|
||||
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue