mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-11 22:11:51 +00:00
frontend/gui refactor
This commit is contained in:
parent
49fdcdfb27
commit
8c722b146e
17 changed files with 331 additions and 332 deletions
|
|
@ -8,7 +8,7 @@
|
|||
#include <functional>
|
||||
#include <unordered_map>
|
||||
|
||||
class Batch2D;
|
||||
class GfxContext;
|
||||
class Assets;
|
||||
class Camera;
|
||||
|
||||
|
|
@ -71,7 +71,7 @@ namespace gui {
|
|||
bool isFocusCaught() const;
|
||||
|
||||
void act(float delta);
|
||||
void draw(Batch2D* batch, Assets* assets);
|
||||
void draw(const GfxContext* pctx, Assets* assets);
|
||||
void addBack(std::shared_ptr<UINode> panel);
|
||||
void add(std::shared_ptr<UINode> panel);
|
||||
void remove(std::shared_ptr<UINode> panel);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue