summaryrefslogtreecommitdiff
path: root/Source/Asura.Editor/Controls/GUIState.h
blob: 424a12f578ab8483f1b2235b85b002ae446f83d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#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; };
	inline int GetCurrentControlID() { return m_CurrentControlID};

private:

	int  m_Depth;
	bool m_Changed;
	int  m_CurrentControlID;

};

extern GUIState g_GUIState;

namespace_end

#endif