NDSummary.OnToolTipsLoaded("File:game/menu.h",{148:"
Menu item types
",149:"
Menu item actions
",150:"
Menu input value
",151:"
Menu event callback
",153:"
Menu item actions
",155:"
void Menu_Initialize(
const Menu* menus
)
Initialize all the menu pages Must be called first (will reset or set default callback)
",156:"
inline void Menu_SetInputCallback(
Menu_InputCB cb
)
Set the callback function to be called to handle menu input
",157:"
inline void Menu_SetDrawCallback(
Menu_DrawCB cb
)
Set the callback function to be called to handle menu item drawing
",158:"
inline void Menu_SetEventCallback(
Menu_EventCB cb
)
Set the callback function to be called when event occurs
",159:"
inline void Menu_SetDirty()
Set flag to force a whole menu redraw
",160:"
inline const MenuItem* Menu_GetCurrentItem()
Get the current item in the menu This value is only available for the following events: - MENU_EVENT_SET - MENU_EVENT_INC - MENU_EVENT_DEC - MENU_EVENT_DRAW_ENTRY - MENU_EVENT_DRAW_SELECTED
",161:"
void Menu_Display(
u8 page
)
Draw a given page by its page number
",162:"
void Menu_Update()
Update the menu handler
",163:"
inline void Menu_SetScreenWidth(
u8 width
)
Set menu screen with
",164:"
inline u8 Menu_GetScreenWidth()
Get menu screen with
"});