mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
Refactor, GUI::storage (map for direct access to panels)
This commit is contained in:
parent
4e1f19c911
commit
6392f63604
10 changed files with 75 additions and 54 deletions
|
|
@ -80,8 +80,9 @@ void Button::mouseRelease(GUI* gui, int x, int y) {
|
|||
}
|
||||
}
|
||||
|
||||
void Button::listenAction(onaction action) {
|
||||
Button* Button::listenAction(onaction action) {
|
||||
actions.push_back(action);
|
||||
return this;
|
||||
}
|
||||
|
||||
TextBox::TextBox(wstring placeholder, vec4 padding)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue