[client] overlay: add support for confirmation dialogs

This commit is contained in:
Quantum
2022-03-18 01:35:13 -04:00
committed by Geoffrey McRae
parent f28084e653
commit c55d0a82f2
4 changed files with 62 additions and 10 deletions

View File

@@ -140,6 +140,11 @@ void app_alert(LG_MsgAlert type, const char * fmt, ...);
typedef void * MsgBoxHandle;
MsgBoxHandle app_msgBox(const char * caption, const char * fmt, ...);
typedef void (*MsgBoxConfirmCallback)(bool yes, void * opaque);
MsgBoxHandle app_confirmMsgBox(const char * caption,
MsgBoxConfirmCallback callback, void * opaque, const char * fmt, ...);
void app_msgBoxClose(MsgBoxHandle * handle);
typedef struct KeybindHandle * KeybindHandle;