diff options
Diffstat (limited to 'Source/Asura.Editor/Core/GUIState.h')
-rw-r--r-- | Source/Asura.Editor/Core/GUIState.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/Source/Asura.Editor/Core/GUIState.h b/Source/Asura.Editor/Core/GUIState.h new file mode 100644 index 0000000..b4fce49 --- /dev/null +++ b/Source/Asura.Editor/Core/GUIState.h @@ -0,0 +1,27 @@ +#ifndef _ASURA_EDITOR_GUI_STATE_H_ +#define _ASURA_EDITOR_GUI_STATE_H_ + +#include <asura-base/Classes.h> + +namespace_begin(AsuraEditor) + +/// GUI widgets uniqueID +class GUIState +{ +public: + + inline int GetDepth() { return m_Depth; }; + +private: + + int m_Depth; + bool m_Changed; + +}; + +extern GUIState g_GUIState; + +namespace_end + + +#endif
\ No newline at end of file |