mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
idk
This commit is contained in:
parent
b4caf888dc
commit
c9db1acd91
6 changed files with 227 additions and 221 deletions
|
|
@ -19,6 +19,7 @@ Button* guiutil::backButton(PagesControl* menu) {
|
|||
}
|
||||
|
||||
Button* guiutil::gotoButton(wstring text, string page, PagesControl* menu) {
|
||||
text = langs::get(text, L"menu");
|
||||
return (new Button(text, vec4(10.f)))->listenAction([=](GUI* gui) {
|
||||
menu->set(page);
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue