GPS Device
Loading...
Searching...
No Matches
Menu Types

Data types used by the menu module. More...

Collaboration diagram for Menu Types:

Classes

struct  MENU_CFG_ts
 Configuration structure for initializing a menu handle. More...

Typedefs

typedef struct menu_handle_s MENU_HANDLE_ts
 Opaque handle representing a menu instance.

Enumerations

enum  MENU_TYPE_ts { MENU_TYPE_SELECTABLE , MENU_TYPE_DATA_VIEW }
 Determines the rendering and interaction mode of a menu. More...

Detailed Description

Data types used by the menu module.

Typedef Documentation

◆ MENU_HANDLE_ts

typedef struct menu_handle_s MENU_HANDLE_ts

Opaque handle representing a menu instance.

Returned by menu_init_handle and used for all subsequent operations on that menu. The internal structure is hidden and must not be accessed directly.

Definition at line 115 of file menu.h.

Enumeration Type Documentation

◆ MENU_TYPE_ts

Determines the rendering and interaction mode of a menu.

Enumerator
MENU_TYPE_SELECTABLE 

Scrollable list of static string options with highlight selection.

MENU_TYPE_DATA_VIEW 

Scrollable list that alternates between a static label and a live value fetched via MENU_CFG_ts::get_value_fn on each render.

Definition at line 59 of file menu.h.

59 {
62
MENU_TYPE_ts
Determines the rendering and interaction mode of a menu.
Definition menu.h:59
@ MENU_TYPE_DATA_VIEW
Definition menu.h:67
@ MENU_TYPE_SELECTABLE
Definition menu.h:61