managers: refactor class member vars (#10242)
This commit is contained in:
parent
6f174a9e08
commit
ce821294e2
54 changed files with 930 additions and 932 deletions
|
|
@ -56,22 +56,22 @@ class CCursorManager {
|
|||
void tickAnimatedCursor();
|
||||
|
||||
private:
|
||||
bool m_bOurBufferConnected = false;
|
||||
std::vector<SP<CCursorBuffer>> m_vCursorBuffers;
|
||||
bool m_ourBufferConnected = false;
|
||||
std::vector<SP<CCursorBuffer>> m_cursorBuffers;
|
||||
|
||||
UP<Hyprcursor::CHyprcursorManager> m_pHyprcursor;
|
||||
UP<CXCursorManager> m_pXcursor;
|
||||
UP<Hyprcursor::CHyprcursorManager> m_hyprcursor;
|
||||
UP<CXCursorManager> m_xcursor;
|
||||
SP<SXCursors> m_currentXcursor;
|
||||
|
||||
std::string m_szTheme = "";
|
||||
int m_iSize = 0;
|
||||
float m_fCursorScale = 1.0;
|
||||
std::string m_theme = "";
|
||||
int m_size = 0;
|
||||
float m_cursorScale = 1.0;
|
||||
|
||||
Hyprcursor::SCursorStyleInfo m_sCurrentStyleInfo;
|
||||
Hyprcursor::SCursorStyleInfo m_currentStyleInfo;
|
||||
|
||||
SP<CEventLoopTimer> m_pAnimationTimer;
|
||||
int m_iCurrentAnimationFrame = 0;
|
||||
Hyprcursor::SCursorShapeData m_sCurrentCursorShapeData;
|
||||
SP<CEventLoopTimer> m_animationTimer;
|
||||
int m_currentAnimationFrame = 0;
|
||||
Hyprcursor::SCursorShapeData m_currentCursorShapeData;
|
||||
};
|
||||
|
||||
inline UP<CCursorManager> g_pCursorManager;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue