From 0c391fdbce5a079cf03e483eb6174dd47806163d Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 7 Aug 2019 21:08:47 +0800 Subject: *misc --- Source/Asura.Editor/Core/GUIState.h | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Source/Asura.Editor/Core/GUIState.h (limited to 'Source/Asura.Editor/Core') 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 + +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 -- cgit v1.1-26-g67d0