hollyhock
Loading...
Searching...
No Matches
gui.h
1#pragma once
2
3#ifdef __cplusplus
4extern "C" {
5#endif
6
7#include <stdbool.h>
8
9enum GUI_Buttons {
10 BUTTON_OK = 1 << 5,
11 BUTTON_YES = 1 << 6,
12 BUTTON_NO = 1 << 7,
13 BUTTON_ABORT = 1 << 8,
14 BUTTON_RETRY = 1 << 9,
15 BUTTON_CANCEL = 1 << 10
16};
17
27extern void (*GUI_DisplayMessageBox)(int unknown, unsigned int titleStringID, unsigned int contentStringID);
28
53extern void *(*GUI_DisplayMessageBox_Internal)(
54 int unknown,
55 const char *titleString,
56 const char *contentPrefix, const char *contentString,
57 int buttons, bool disableCloseButton
58)
59#ifndef __clang__
60__attribute__((
61 null_terminated_string_arg(2), null_terminated_string_arg(3), null_terminated_string_arg(4),
62 access(read_only, 2), access(read_only, 3), access(read_only, 4)
63))
64#endif
65;
66
67#ifdef __cplusplus
68}
69#endif