Function eos_rs::api::top_menu::add_main_menu_option
source · pub fn add_main_menu_option(
_ov01: &OverlayLoadLease<1>,
action_id: i32,
enable_option: bool
)
Expand description
Adds an option to the top menu. This function is called for each one of the options in the top menu.
It loops the MAIN_MENU
data field, if the specified action ID does not exist there,
the option won’t be added.