summaryrefslogtreecommitdiff
path: root/src/uiLibrary.h
blob: 98719d7fafc1787525dd49777c7ca3c5cfb7006b (plain)
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;