Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Public Attributes | List of all members
nbgl_contentBarsList_t Struct Reference

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.
 

Detailed Description

This structure contains data to build a BARS_LIST content.

Definition at line 357 of file nbgl_content.h.

Member Data Documentation

◆ barTexts

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.

◆ nbBars

uint8_t nbgl_contentBarsList_t::nbBars

number of elements in barTexts and tokens array

Definition at line 360 of file nbgl_content.h.

◆ title

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.

◆ tokens

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.

◆ tuneId

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.

◆ vertical

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.


The documentation for this struct was generated from the following file: