mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-09 13:01:49 +00:00
buttons-related semantics update + refactor
This commit is contained in:
parent
537a0ca358
commit
6cdb45485b
12 changed files with 130 additions and 110 deletions
|
|
@ -49,13 +49,13 @@ namespace gui {
|
|||
class PagesControl;
|
||||
|
||||
class GUI {
|
||||
Container* container;
|
||||
std::shared_ptr<Container> container;
|
||||
std::shared_ptr<UINode> hover = nullptr;
|
||||
std::shared_ptr<UINode> pressed = nullptr;
|
||||
std::shared_ptr<UINode> focus = nullptr;
|
||||
std::unordered_map<std::string, std::shared_ptr<UINode>> storage;
|
||||
|
||||
Camera* uicamera;
|
||||
std::unique_ptr<Camera> uicamera;
|
||||
std::shared_ptr<PagesControl> menu;
|
||||
void actMouse(float delta);
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue