ULRE/inc/hgl/gui/Form.h

27 lines
658 B
C
Raw Normal View History

#ifndef HGL_GUI_FORM_INCLUDE
#define HGL_GUI_FORM_INCLUDE
#include<hgl/graph/VKPipeline.h>
#include<hgl/gui/Widget.h>
namespace hgl
{
namespace gui
{
using namespace hgl::graph;
/**
* GUI控件的基本装置
*/
class Form:public Widget
{
protected: //每个窗体独立一个FBO存在所以每个窗体会有自己的RenderTarget与pipeline
public:
Form(ThemeEngine *te=nullptr):Widget(nullptr,te){}
virtual ~Form()=default;
};//class Form
}//namespace gui
}//namespace hgl
#endif//HGL_GUI_FORM_INCLUDE