From a4294e4a94189dffb1fdf99c9a60d87d77272926 Mon Sep 17 00:00:00 2001 From: 3gg <3gg@shellblade.net> Date: Sat, 13 Jul 2024 10:52:24 -0700 Subject: Restructure project. --- src/uiLibrary.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/uiLibrary.h (limited to 'src/uiLibrary.h') 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 @@ +#pragma once + +#include + +#include "constants.h" + +#include + +typedef struct uiLibrary { + FontAtlas* font; + uiMouseButtonState mouse_button_state[uiMouseButtonMax]; + uiWidgetEvent widget_events[MaxWidgetEvents]; + int num_widget_events; +} uiLibrary; + +extern uiLibrary g_ui; -- cgit v1.2.3