This functionality allows to extend and use default menu system for programs where this functionality is sufficient enough. More...
typedef int run_menu_item_fn_t(uint8_t line_id) Prototype for run_menu_item function.This functionality allows to extend and use default menu system for programs where this functionality is sufficient enough.
User has to define run_menu_item() and menu_line_str() functions and assign them to system variables
to extend default menu functionality.
◆ handle_menu() int handle_menu ( const smenu_t * menu_id, int action, int cur_line )Starts menu screen.
(Defined by user) Should return string representation of given menu item
ln
return Line item string
This function is called by system when particular line is drawn only if this function is assigned to menu_line_str_app
system variable.
(Defined by user) Invoke functionality for selected menu item
This function is called by system when particular menu item is selected only if this function is assigned to run_menu_item_app
system variable.
Invoke particular sys menu function.
It allows e.g. launching of USB disk mode from user program by running run_menu_item_sys(MI_MSC).
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4