This commit is contained in:
MihailRis
2024-12-09 01:12:41 +03:00
parent 5fe5c6b27a
commit 5ffc054d75
16 changed files with 212 additions and 126 deletions
+2
View File
@@ -13,6 +13,7 @@ class Viewport;
class DrawContext;
class Assets;
class Camera;
class Batch2D;
/*
Some info about padding and margin.
@@ -52,6 +53,7 @@ namespace gui {
/// @brief The main UI controller
class GUI {
std::unique_ptr<Batch2D> batch2D;
std::shared_ptr<Container> container;
std::shared_ptr<UINode> hover;
std::shared_ptr<UINode> pressed;