create a lot of GUI source code files.
This commit is contained in:
21
inc/hgl/gui/Panel.h
Normal file
21
inc/hgl/gui/Panel.h
Normal 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
|
Reference in New Issue
Block a user