root / proj / libs / graph / include / menu.h @ 293
History | View | Annotate | Download (328 Bytes)
1 |
#ifndef MENU_H_INCLUDED
|
---|---|
2 |
#define MENU_H_INCLUDED
|
3 |
|
4 |
#include "font.h" |
5 |
|
6 |
typedef struct menu menu_t; |
7 |
|
8 |
menu_t* (menu_ctor)(const font_t *fnt);
|
9 |
|
10 |
int (menu_add_item)(menu_t *menu, const char *s); |
11 |
|
12 |
int (menu_update_state)(menu_t *menu, int click); |
13 |
|
14 |
void (menu_draw)(menu_t *menu);
|
15 |
|
16 |
void (menu_dtor)(menu_t *p);
|
17 |
|
18 |
#endif //MENU_H_INCLUDED |