Starting work on moving GUI to event system (doesnt compile)
This commit is contained in:
parent
f1a855edc3
commit
ef7dfcef05
69 changed files with 4296 additions and 3709 deletions
12
src/GUIStuff/ElementHelpers/LayoutHelpers.hpp
Normal file
12
src/GUIStuff/ElementHelpers/LayoutHelpers.hpp
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#pragma once
|
||||
#include "../GUIManager.hpp"
|
||||
#include "../Elements/LayoutElement.hpp"
|
||||
|
||||
namespace GUIStuff { namespace ElementHelpers {
|
||||
|
||||
void top_to_bottom_window_popup_layout(GUIManager& gui, const char* id, Clay_SizingAxis x, Clay_SizingAxis y, const std::function<void()>& innerContent, const LayoutElement::Callbacks& callbacks);
|
||||
void left_to_right_layout(GUIManager& gui, Clay_SizingAxis x, Clay_SizingAxis y, const std::function<void()>& innerContent);
|
||||
void left_to_right_line_layout(GUIManager& gui, const std::function<void()>& innerContent);
|
||||
void left_to_right_line_centered_layout(GUIManager& gui, const std::function<void()>& innerContent);
|
||||
|
||||
}}
|
||||
Loading…
Add table
Add a link
Reference in a new issue