impr: Switch most usages of modals over to toasts

This commit is contained in:
WerWolv
2023-12-26 00:22:47 +01:00
parent 52192a3b26
commit 96fe608d60
25 changed files with 129 additions and 121 deletions

View File

@@ -8,6 +8,8 @@
#include <hex/helpers/utils.hpp>
#include <popups/popup_notification.hpp>
using namespace hex;
#define VERSION V1
@@ -114,7 +116,7 @@ private:
};
SCRIPT_API(void showMessageBox, const char *message) {
hex::RequestOpenInfoPopup::post(message);
ui::PopupInfo::open(message);
}
SCRIPT_API(void showInputTextBox, const char *title, const char *message, char *buffer, u32 bufferSize) {