move VK source files to up-level folder

This commit is contained in:
2020-10-21 11:43:18 +08:00
parent 114c57510c
commit 917424e784
118 changed files with 506 additions and 468 deletions

View File

@@ -1,7 +1,8 @@
#ifndef HGL_GUI_FORM_INCLUDE
#define HGL_GUI_FORM_INCLUDE
#include<hgl/graph/vulkan/VKPipeline.h>
#include<hgl/graph/VKPipeline.h>
#include<hgl/gui/Widget.h>
namespace hgl
{
namespace gui
@@ -11,18 +12,14 @@ namespace hgl
/**
* 窗体组件窗体是承载所有GUI控件的基本装置
*/
class Form
class Form:public Widget
{
protected: //每个窗体独立一个FBO存在所以每个窗体会有自己的RenderTarget与pipeline
struct
{
vulkan::Pipeline *solid;
vulkan::Pipeline *mask;
vulkan::Pipeline *alpha;
}pipeline;
public:
Form(ThemeEngine *te=nullptr):Widget(nullptr,te){}
virtual ~Form()=default;
};//class Form
}//namespace gui
}//namespace hgl