2 #define MENU_STACK_SIZE 8
4 #include "vg/vg_engine.h"
12 u32 page
, /* current page index */
16 ent_menuitem
*ctr_kbm
,
23 k_menu_input_mode_keys
,
24 k_menu_input_mode_mouse
27 f32 mouse_track
, mouse_dist
; /* used for waking up mouse */
30 struct page_stack_frame
{
35 page_stack
[ MENU_STACK_SIZE
];
45 mdl_array_ptr items
, markers
, cameras
;
48 void menu_close(void);
50 void menu_open_page( const char *name
,
51 enum ent_menuitem_stack_behaviour stackmode
);
53 void menu_update(void);
54 void menu_render(void);