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