1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
#pragma once #include <ui.h> #include "constants.h" #include <font.h> typedef struct uiLibrary { FontAtlas* font; uiMouseButtonState mouse_button_state[uiMouseButtonMax]; uiWidgetEvent widget_events[MaxWidgetEvents]; int num_widget_events; } uiLibrary; extern uiLibrary g_ui;