From a077eb38b01292611f4f6031b75e3e2c1c20f06e Mon Sep 17 00:00:00 2001 From: chai Date: Fri, 16 Aug 2019 08:54:08 +0800 Subject: *misc --- Source/Asura.Editor/System/GUIWindow.h | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Source/Asura.Editor/System/GUIWindow.h (limited to 'Source/Asura.Editor/System/GUIWindow.h') diff --git a/Source/Asura.Editor/System/GUIWindow.h b/Source/Asura.Editor/System/GUIWindow.h new file mode 100644 index 0000000..228aa74 --- /dev/null +++ b/Source/Asura.Editor/System/GUIWindow.h @@ -0,0 +1,36 @@ +#ifndef _ASURA_GUI_WINDOW_H_ +#define _ASURA_GUI_WINDOW_H_ + +#include + +#include + +#include "ContainerWindow.h" + +namespace_begin(AsuraEditor) + +typedef std::vector GUIPanelVector; + +/// 一个GUIWindow包含多个抽象的GUI panel,用tab可以在panel间切换。绘制GUI元素的窗口。 +class GUIWindow +{ +public: + + GUIWindow(); + ~GUIWindow(); + + void DoRepint(); + +private: + + ContainerWindow* m_ParentWindow; + GUIPanelVector m_GUIPanels; + + bool m_IsRepaint; + +}; + + +namespace_end + +#endif \ No newline at end of file -- cgit v1.1-26-g67d0