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();
|
2022-11-17 16:47:42 +01:00
|
|
|
void updateViewport(Gfx::PViewport viewport);
|
|
|
|
|
Component::Camera getVirtualCamera() const;
|
2021-10-05 12:24:41 +02:00
|
|
|
private:
|
2022-11-17 16:47:42 +01:00
|
|
|
Component::Camera virtualCamera;
|
2021-10-05 12:24:41 +02:00
|
|
|
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
|