|
Embedded SDK
Embedded SDK
|
This structure contains data to build a BARS_LIST content. More...
#include <nbgl_content.h>
Public Attributes | |
| const char *const * | barTexts |
| array of texts for each bar (nbBars items, in black/bold) | |
| const uint8_t * | tokens |
| array of tokens, one for each bar (nbBars items) | |
| uint8_t | nbBars |
| number of elements in barTexts and tokens array | |
| tune_index_e | tuneId |
| if not NBGL_NO_TUNE, a tune will be played when a bar is touched | |
| bool | vertical |
| const char * | title |
| Nano only and used in the horizontal flow: per-content header text. Same semantics as nbgl_contentRadioChoice_t::title. | |
This structure contains data to build a BARS_LIST content.
Definition at line 357 of file nbgl_content.h.
| const char* const* nbgl_contentBarsList_t::barTexts |
array of texts for each bar (nbBars items, in black/bold)
Definition at line 358 of file nbgl_content.h.
| uint8_t nbgl_contentBarsList_t::nbBars |
number of elements in barTexts and tokens array
Definition at line 360 of file nbgl_content.h.
| const char* nbgl_contentBarsList_t::title |
Nano only and used in the horizontal flow: per-content header text. Same semantics as nbgl_contentRadioChoice_t::title.
Definition at line 370 of file nbgl_content.h.
| const uint8_t* nbgl_contentBarsList_t::tokens |
array of tokens, one for each bar (nbBars items)
Definition at line 359 of file nbgl_content.h.
| tune_index_e nbgl_contentBarsList_t::tuneId |
if not NBGL_NO_TUNE, a tune will be played when a bar is touched
Definition at line 361 of file nbgl_content.h.
| bool nbgl_contentBarsList_t::vertical |
Nano only: if true, render as a vertical menu list (all bars visible) instead of the default one-bar-per-page horizontal flow. Default false preserves existing behaviour.
Definition at line 363 of file nbgl_content.h.