font.c was created, and the Makefiles updated to reflect this. It contains reload_fon...
[xuni.git] / gui.h
blobfb807d5b450aeba397984298fa640a897096b8ef
1 /*! \file gui.h
3 */
5 #ifndef GUI_H
6 #define GUI_H
8 /* !!! for now */
9 #include "graphics.h"
11 enum panel_type_t { /* !!! xuni-specific: should be incorporated into enum mode_t */
12 PANEL_MAIN_MENU,
13 PANEL_GAME,
14 PANEL_GAME_MENU,
15 PANEL_OPTIONS,
16 PANEL_OPTIONS_GRAPHICS,
17 PANEL_OPTIONS_THEME,
18 PANELS
21 void allocate_panels(struct gui_t *gui, size_t panels);
22 void clear_panel(struct panel_t *panel);
23 void add_widget(struct panel_t *panel, struct widget_t *widget);
24 void free_widget(struct widget_t *widget);
25 void free_gui(struct gui_t *gui);
27 #endif