mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-08-06 10:44:01 +00:00
[client] overlay: add support for confirmation dialogs
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user