|
GPS Device
|
Functions | |
| static ERR_te | menu_selectable_run (MENU_HANDLE_ts *menu_handle) |
| Renders a MENU_TYPE_SELECTABLE menu to the display. | |
| static ERR_te | menu_dataview_run (MENU_HANDLE_ts *menu_handle) |
| Renders a MENU_TYPE_DATA_VIEW menu to the display. | |
|
static |
Renders a MENU_TYPE_SELECTABLE menu to the display.
Clamps the selection index to valid bounds, updates the visible window and highlight line based on scroll direction, draws each visible option string, inverts the highlight line to show selection, and draws the title.
The display supports 7 option lines (lines 1–7) plus a title line (line 8). When the option count exceeds 7, a sliding window tracks which options are currently visible.
| [in,out] | menu_handle | Pointer to the menu handle to render. |
Definition at line 445 of file menu.c.


|
static |
Renders a MENU_TYPE_DATA_VIEW menu to the display.
Behaves like menu_selectable_run for window and highlight tracking, but renders alternating rows: even-indexed rows display the static option label, odd-indexed rows display the live value returned by MENU_CFG_ts::get_value_fn for the corresponding option index.
| [in,out] | menu_handle | Pointer to the menu handle to render. |
Definition at line 540 of file menu.c.

