mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
ImguiSystem: make getters const
Can be const.
This commit is contained in:
parent
5d000db867
commit
e9a2aea17c
@ -23,8 +23,8 @@ public:
|
|||||||
// inlines:
|
// inlines:
|
||||||
inline void ToggleActive() { m_activated ^= true; }
|
inline void ToggleActive() { m_activated ^= true; }
|
||||||
|
|
||||||
inline bool IsActivated() { return m_activated; }
|
inline bool IsActivated() const { return m_activated; }
|
||||||
inline bool IsVisible() { return m_fadeAlpha > 0.0f; }
|
inline bool IsVisible() const { return m_fadeAlpha > 0.0f; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
const char* m_surfaceLabel;
|
const char* m_surfaceLabel;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user