summaryrefslogtreecommitdiffstats
path: root/src/hl2h.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/hl2h.h')
-rw-r--r--src/hl2h.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/hl2h.h b/src/hl2h.h
index 0f03925..e390aa0 100644
--- a/src/hl2h.h
+++ b/src/hl2h.h
@@ -23,6 +23,15 @@ constexpr float PI_F = 3.14159265f;
23void logf(const char *fmt, ...); 23void logf(const char *fmt, ...);
24 24
25// --------------------------------------------------------------------------- 25// ---------------------------------------------------------------------------
26// on-screen toasts
27// ---------------------------------------------------------------------------
28
29enum ToastLevel { TOAST_INFO = 0, TOAST_WARN, TOAST_ERROR };
30void toastf(int level, const char *fmt, ...);
31bool gui_toasts_active();
32void gui_draw_toasts();
33
34// ---------------------------------------------------------------------------
26// module discovery 35// module discovery
27// --------------------------------------------------------------------------- 36// ---------------------------------------------------------------------------
28 37