A primitive menu system for touchscreen on the RA8875. This menu is not "finger friendly" and reminds one of the 90's using a Palm.
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 1.7.2