N64FlashcartMenu
Loading...
Searching...
No Matches
context_menu.c File Reference

Implementation of the context menu UI component. More...

Functions

void ui_components_context_menu_init (component_context_menu_t *cm)
 Initialize the context menu component.
 
void ui_components_context_menu_show (component_context_menu_t *cm)
 Show the context menu component (reset selection and submenu).
 
bool ui_components_context_menu_process (menu_t *menu, component_context_menu_t *cm)
 Process the context menu actions (navigation, selection, etc).
 
void ui_components_context_menu_draw (component_context_menu_t *cm)
 Draw the context menu UI component.
 

Detailed Description

Implementation of the context menu UI component.

Function Documentation

◆ ui_components_context_menu_init()

void ui_components_context_menu_init ( component_context_menu_t * cm)

Initialize the context menu component.

Parameters
cmPointer to the context menu component.

◆ ui_components_context_menu_show()

void ui_components_context_menu_show ( component_context_menu_t * cm)

Show the context menu component (reset selection and submenu).

Show the context menu component.

Parameters
cmPointer to the context menu component.

◆ ui_components_context_menu_process()

bool ui_components_context_menu_process ( menu_t * menu,
component_context_menu_t * cm )

Process the context menu actions (navigation, selection, etc).

Process the context menu component.

Parameters
menuPointer to the menu structure.
cmPointer to the context menu component.
Returns
true if the context menu is processed, false otherwise.

◆ ui_components_context_menu_draw()

void ui_components_context_menu_draw ( component_context_menu_t * cm)

Draw the context menu UI component.

Draw the context menu component.

Parameters
cmPointer to the context menu component.