Embedded SDK
Embedded SDK
|
common content for Graphical Library More...
Go to the source code of this file.
Classes | |
struct | nbgl_contentCenteredInfo_t |
This structure contains info to build a centered (vertically and horizontally) area, with a possible Icon, a possible text under it, and a possible sub-text gray under it. More... | |
struct | nbgl_contentCenter_t |
This structure contains info to build a centered (vertically and horizontally) area, with many fields (if NULL, not used): More... | |
struct | nbgl_contentInfoLongPress_t |
This structure contains data to build a centered info + long press button content. More... | |
struct | nbgl_contentInfoButton_t |
This structure contains data to build a centered info + simple black button content. More... | |
struct | nbgl_contentValueExt_t |
This structure contains additions to a tag/value pair, to be able to build a screen to display these additions (for alias) More... | |
struct | nbgl_contentTagValue_t |
This structure contains a [tag,value] pair. More... | |
struct | nbgl_contentTagValueList_t |
This structure contains a list of [tag,value] pairs. More... | |
struct | nbgl_contentTagValueDetails_t |
This structure contains a [item,value] pair and info about "details" button. More... | |
struct | nbgl_contentTagValueConfirm_t |
This structure contains [item,value] pair(s) and info about a potential "details" button, but also a black button + footer to confirm/cancel. More... | |
struct | nbgl_contentSwitch_t |
This structure contains info to build a switch (on the right) with a description (on the left), with a potential sub-description (in gray) More... | |
struct | nbgl_pageSwitchesList_s |
This structure contains data to build a SWITCHES_LIST content. More... | |
struct | nbgl_contentInfoList_t |
This structure contains data to build a INFOS_LIST content. More... | |
struct | nbgl_contentRadioChoice_t |
This structure contains a list of names to build a list of radio buttons (on the right part of screen), with for each a description (names array) The chosen item index is provided is the "index" argument of the callback. More... | |
struct | nbgl_contentBarsList_t |
This structure contains data to build a BARS_LIST content. More... | |
struct | nbgl_contentTipBox_t |
This structure contains data to build a tip-box, on top of a footer, on bottom of a content center. More... | |
struct | nbgl_contentExtendedCenter_t |
This structure contains data to build a EXTENDED_CENTER content. More... | |
union | nbgl_content_u |
Union of the different type of contents. More... | |
struct | nbgl_content_t |
This structure contains data to build a content. More... | |
Typedefs | |
typedef nbgl_contentTagValue_t *(* | nbgl_contentTagValueCallback_t) (uint8_t pairIndex) |
prototype of tag/value pair retrieval callback More... | |
typedef void(* | nbgl_contentActionCallback_t) (int token, uint8_t index, int page) |
prototype of function to be called when an action on a content object occurs More... | |
typedef struct nbgl_pageSwitchesList_s | nbgl_contentSwitchesList_t |
This structure contains data to build a SWITCHES_LIST content. More... | |
Enumerations | |
enum | nbgl_contentCenteredInfoStyle_t { LARGE_CASE_INFO , LARGE_CASE_BOLD_INFO , LARGE_CASE_GRAY_INFO , NORMAL_INFO , PLUGIN_INFO } |
possible styles for Centered Info Area More... | |
enum | nbgl_contentValueAliasType_t { NO_ALIAS_TYPE = 0 , ENS_ALIAS , ADDRESS_BOOK_ALIAS , QR_CODE_ALIAS } |
possible types of value alias More... | |
enum | nbgl_contentType_t { CENTERED_INFO = 0 , EXTENDED_CENTER , INFO_LONG_PRESS , INFO_BUTTON , TAG_VALUE_LIST , TAG_VALUE_DETAILS , TAG_VALUE_CONFIRM , SWITCHES_LIST , INFOS_LIST , CHOICES_LIST , BARS_LIST } |
The different types of predefined contents. More... | |
common content for Graphical Library
Definition in file nbgl_content.h.
typedef void(* nbgl_contentActionCallback_t) (int token, uint8_t index, int page) |
prototype of function to be called when an action on a content object occurs
token | integer passed at content object initialization |
index | when the object touched is a list of radio buttons, gives the index of the activated |
page | index of the current page, can be used to restart the use_case directly at the right page button |
Definition at line 180 of file nbgl_content.h.
typedef struct nbgl_pageSwitchesList_s nbgl_contentSwitchesList_t |
This structure contains data to build a SWITCHES_LIST content.
typedef nbgl_contentTagValue_t*(* nbgl_contentTagValueCallback_t) (uint8_t pairIndex) |
prototype of tag/value pair retrieval callback
pairIndex | index of the tag/value pair to retrieve (from 0 (to nbPairs-1)) |
Definition at line 171 of file nbgl_content.h.
possible styles for Centered Info Area
Definition at line 34 of file nbgl_content.h.
enum nbgl_contentType_t |
The different types of predefined contents.
Definition at line 340 of file nbgl_content.h.
possible types of value alias
Enumerator | |
---|---|
NO_ALIAS_TYPE | |
ENS_ALIAS | alias comes from ENS |
ADDRESS_BOOK_ALIAS | alias comes from Address Book |
QR_CODE_ALIAS | alias is an address to be displayed as a QR Code |
Definition at line 125 of file nbgl_content.h.