summaryrefslogtreecommitdiff
path: root/src/uiLibrary.h
diff options
context:
space:
mode:
author3gg <3gg@shellblade.net>2024-07-13 10:52:24 -0700
committer3gg <3gg@shellblade.net>2024-07-13 10:52:24 -0700
commita4294e4a94189dffb1fdf99c9a60d87d77272926 (patch)
tree2e92f7c95116861bc39f4dae1d0ab5d388550000 /src/uiLibrary.h
parentcf9579d7546c04dbc708bd8719e3f935a28088bd (diff)
Restructure project.
Diffstat (limited to 'src/uiLibrary.h')
-rw-r--r--src/uiLibrary.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/uiLibrary.h b/src/uiLibrary.h
new file mode 100644
index 0000000..98719d7
--- /dev/null
+++ b/src/uiLibrary.h
@@ -0,0 +1,16 @@
1#pragma once
2
3#include <ui.h>
4
5#include "constants.h"
6
7#include <font.h>
8
9typedef struct uiLibrary {
10 FontAtlas* font;
11 uiMouseButtonState mouse_button_state[uiMouseButtonMax];
12 uiWidgetEvent widget_events[MaxWidgetEvents];
13 int num_widget_events;
14} uiLibrary;
15
16extern uiLibrary g_ui;