diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/Asura.Editor/Controls/GUIButton.h | 5 | ||||
-rw-r--r-- | source/Asura.Editor/Controls/GUIContent.h | 6 | ||||
-rw-r--r-- | source/Asura.Editor/Controls/GUIPanel.h | 10 | ||||
-rw-r--r-- | source/Asura.Editor/Core/GUIState.h | 27 |
4 files changed, 17 insertions, 31 deletions
diff --git a/source/Asura.Editor/Controls/GUIButton.h b/source/Asura.Editor/Controls/GUIButton.h index e1199db..47da571 100644 --- a/source/Asura.Editor/Controls/GUIButton.h +++ b/source/Asura.Editor/Controls/GUIButton.h @@ -2,13 +2,14 @@ #define _ASURA_EDITOR_GUI_BUTTON_H_ #include <asura-base/Classes.h> +#include <asura-base/Type.h> namespace_begin(AsuraEditor) +bool GUIButton(int controlID); bool GUIButton(); - namespace_end -#endif +#endif
\ No newline at end of file diff --git a/source/Asura.Editor/Controls/GUIContent.h b/source/Asura.Editor/Controls/GUIContent.h index 88213f4..034aa42 100644 --- a/source/Asura.Editor/Controls/GUIContent.h +++ b/source/Asura.Editor/Controls/GUIContent.h @@ -8,10 +8,14 @@ namespace_begin(AsuraEditor) /// IMGUI content class GUIContent { +public: + + GUIContent(); + ~GUIContent(); }; namespace_end -#endif +#endif
\ No newline at end of file diff --git a/source/Asura.Editor/Controls/GUIPanel.h b/source/Asura.Editor/Controls/GUIPanel.h index 105edde..0f98eaa 100644 --- a/source/Asura.Editor/Controls/GUIPanel.h +++ b/source/Asura.Editor/Controls/GUIPanel.h @@ -8,9 +8,17 @@ namespace_begin(AsuraEditor) /// IMGUI panel class GUIPanel { +public: + + GUIPanel(); + ~GUIPanel(); + +private: + + }; namespace_end -#endif +#endif
\ No newline at end of file diff --git a/source/Asura.Editor/Core/GUIState.h b/source/Asura.Editor/Core/GUIState.h deleted file mode 100644 index b4fce49..0000000 --- a/source/Asura.Editor/Core/GUIState.h +++ /dev/null @@ -1,27 +0,0 @@ -#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 |