49#ifdef HAVE_LANGUAGE_PACK
nbgl_contentType_t
The different types of predefined contents.
void(* nbgl_stepCallback_t)(void)
prototype of function to be called when a step is using a callback on "double-key" action
struct nbgl_pageContent_s nbgl_pageContent_t
This structure contains data to build a page in multi-pages mode (nbgl_pageDrawGenericContent)
void nbgl_flowRelease(nbgl_flow_t flow)
struct nbgl_stepDesc_s nbgl_stepDesc_t
Structure containing all specific information when creating a NBGL step.
void * nbgl_flow_t
type shared externally
nbgl_flow_t nbgl_flowDraw(const nbgl_stepDesc_t *steps, uint8_t nbSteps, uint8_t initStep, bool loop, bool modal)
API to draw all basic graphic objects.
Step construction API of NBGL.
common types for Graphical Library
struct PACKED__ nbgl_icon_details_s nbgl_icon_details_t
Represents all information about an icon.
This structure contains data to build a BARS_LIST content.
This structure contains info to build a centered (vertically and horizontally) area,...
This structure contains data to build a centered info + simple black button content.
This structure contains data to build a INFOS_LIST content.
This structure contains a list of names to build a list of radio buttons (on the right part of screen...
This structure contains a list of [tag,value] pairs.
This structure contains data to build a page in multi-pages mode (nbgl_pageDrawGenericContent)
nbgl_contentRadioChoice_t choicesList
CHOICES_LIST type
nbgl_contentSwitchesList_t switchesList
SWITCHES_LIST type
nbgl_contentBarsList_t barsList
BARS_LIST type
nbgl_contentInfoButton_t infoButton
INFO_BUTTON type
nbgl_contentInfoList_t infosList
INFOS_LIST type
nbgl_contentTagValueList_t tagValueList
TAG_VALUE_LIST type
nbgl_contentType_t type
type of page content in the following union
nbgl_contentCenteredInfo_t centeredInfo
CENTERED_INFO type
This structure contains data to build a SWITCHES_LIST content.
Structure containing all specific information when creating a NBGL step.
const char * subText
sub-text to display in step (NULL most of the time)
nbgl_stepCallback_t callback
if not NULL, function to be called on "double-key" action
const nbgl_icon_details_t * icon
icon to display in step (text must be single-page)
nbgl_stepCallback_t init
if not NULL, function to be called when the step is entered
const char * text
text to display in step (can be multi-pages if icon == NULL)
BOLOS_UX_LOC_STRINGS UX_LOC_STRINGS_INDEX