mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
add 'select' element (WIP)
This commit is contained in:
parent
f473df33fb
commit
3571d0c902
4 changed files with 91 additions and 3 deletions
|
|
@ -49,7 +49,7 @@ Button::Button(
|
|||
label = std::make_shared<Label>(gui, text);
|
||||
label->setAlign(Align::center);
|
||||
label->setSize(getContentSize());
|
||||
label->setInteractive(true);
|
||||
label->setInteractive(false);
|
||||
add(label);
|
||||
|
||||
setHoverColor({0.05f, 0.1f, 0.15f, 0.75f});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue