add gui.alert & critical fixes

This commit is contained in:
MihailRis
2025-01-02 21:59:18 +03:00
parent b9ff1db086
commit a3d35cd10f
7 changed files with 52 additions and 25 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ namespace guiutil {
std::shared_ptr<gui::UINode> create(const std::string& source, scriptenv env=0);
void alert(
const std::shared_ptr<gui::Menu>& menu,
Engine& engine,
const std::wstring& text,
const runnable& on_hidden=nullptr
);