Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: FRDM_RA8875_mPaint PUB_RA8875_mPaint
Menu::menu_item_t Struct Reference
Each menu item is a structure as defined here. More...
#include <menu.h>
Data Fields | |
char * | menuText |
text to show (keep it brief!) | |
post_fnc_action_t(* | fncPress )(uint32_t) |
function to call "on touch", or NULL | |
post_fnc_action_t(* | fncHeld )(uint32_t) |
function to call "on held", or NULL | |
post_fnc_action_t(* | fncRelease )(uint32_t) |
function to call "on release", or NULL | |
uint32_t | param |
parameter to pass to the function. | |
menu_item_t * | child |
child menu, if this is an upper menu. |
Detailed Description
Each menu item is a structure as defined here.
An array of these create multple entries on that menu level. The array must be terminated by a NULL entry.
Definition at line 79 of file menu.h.
Field Documentation
post_fnc_action_t(* fncHeld)(uint32_t) |
post_fnc_action_t(* fncPress)(uint32_t) |
post_fnc_action_t(* fncRelease)(uint32_t) |
Generated on Sat Jul 16 2022 06:37:36 by
