2 #define MENU_STACK_SIZE 8
4 #include "vg/vg_engine.h"
13 u32 page
, /* current page index */
17 ent_menuitem
*ctr_kbm
,
24 k_menu_input_mode_keys
,
25 k_menu_input_mode_mouse
28 f32 mouse_track
, mouse_dist
; /* used for waking up mouse */
31 struct page_stack_frame
{
36 page_stack
[ MENU_STACK_SIZE
];
46 mdl_array_ptr items
, markers
, cameras
;
49 void menu_close(void);
51 void menu_open_page( const char *name
,
52 enum ent_menuitem_stack_behaviour stackmode
);
54 void menu_update(void);
55 void menu_render(void);
56 void menu_at_begin(void);