mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
add gui.get_active_frame, set_active_frame & update cursor lock behavior
This commit is contained in:
parent
463098aa1e
commit
8468ab184d
11 changed files with 123 additions and 50 deletions
|
|
@ -78,6 +78,7 @@ void guiutil::alert(
|
|||
}));
|
||||
menu.addPage("<alert>", panel, true);
|
||||
menu.setPage("<alert>");
|
||||
gui.setActiveFrame(GUI::CORE_MAIN);
|
||||
}
|
||||
|
||||
void guiutil::confirm(
|
||||
|
|
@ -155,6 +156,7 @@ void guiutil::confirm(
|
|||
panel->refresh();
|
||||
menu->addPage("<confirm>", container, true);
|
||||
menu->setPage("<confirm>");
|
||||
gui.setActiveFrame(GUI::CORE_MAIN);
|
||||
}
|
||||
|
||||
void guiutil::confirm_with_memo(
|
||||
|
|
@ -201,4 +203,5 @@ void guiutil::confirm_with_memo(
|
|||
panel->refresh();
|
||||
menu->addPage("<confirm>", panel, true);
|
||||
menu->setPage("<confirm>");
|
||||
gui.setActiveFrame(GUI::CORE_MAIN);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue