create a lot of GUI source code files.

This commit is contained in:
2020-10-14 22:05:24 +08:00
parent 111f1f8951
commit 2f98b1d08c
12 changed files with 172 additions and 4 deletions

21
inc/hgl/gui/Panel.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef HGL_GUI_PANEL_INCLUDE
#define HGL_GUI_PANEL_INCLUDE
#include<hgl/gui/Widget.h>
namespace hgl
{
namespace gui
{
class Panel:public Widget
{
public:
Panel(Widget *p):Widget(p){}
virtual ~Panel()=default;
void Draw() override;
};//class Panel:public Widget
}//namespace gui
}//namespace hgl
#endif//HGL_GUI_PANEL_INCLUDE