aboutsummaryrefslogtreecommitdiff
path: root/include/mgui/mgui.h
blob: d76226f821190233c6abaf126814623352d356d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef MGUI_H
#define MGUI_H

typedef struct mgui_widget mgui_widget;
typedef struct mgl_window mgl_window;

void mgui_init();
void mgui_draw(mgui_widget *root_widget, mgl_window *window);
/* Clamped to 1.0 second */
double mgui_get_seconds_since_last_update();

#endif /* MGUI_H */