2021-10-05 12:24:41 +02:00
|
|
|
#pragma once
|
|
|
|
|
#include "MinimalEngine.h"
|
|
|
|
|
#include "RenderHierarchy.h"
|
2022-04-18 18:08:38 +02:00
|
|
|
#include "Graphics/RenderPass/UIPass.h"
|
|
|
|
|
#include "Graphics/RenderPass/TextPass.h"
|
2021-10-05 12:24:41 +02:00
|
|
|
|
|
|
|
|
namespace Seele
|
|
|
|
|
{
|
|
|
|
|
namespace UI
|
|
|
|
|
{
|
|
|
|
|
DECLARE_REF(Panel)
|
|
|
|
|
class System
|
|
|
|
|
{
|
|
|
|
|
public:
|
|
|
|
|
System();
|
|
|
|
|
virtual ~System();
|
2022-04-18 18:08:38 +02:00
|
|
|
void update();
|
|
|
|
|
UIPassData getUIPassData();
|
|
|
|
|
TextPassData getTextPassData();
|
2021-10-05 12:24:41 +02:00
|
|
|
private:
|
|
|
|
|
PPanel rootPanel;
|
2022-04-18 18:08:38 +02:00
|
|
|
RenderHierarchy hierarchy;
|
2021-10-05 12:24:41 +02:00
|
|
|
};
|
|
|
|
|
DEFINE_REF(System)
|
|
|
|
|
} // namespace UI
|
|
|
|
|
} // namespace Seele
|