Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
nbgl_contentTagValue_t Struct Reference

This structure contains a [tag,value] pair and possible extensions. More...

#include <nbgl_content.h>

Collaboration diagram for nbgl_contentTagValue_t:

Public Attributes

const char * item
 string giving the tag name
const char * value
 string giving the value name
union { 
   const nbgl_icon_details_t *   valueIcon 
   const nbgl_contentValueExt_t *   extension 
 if not NULL, gives additional info on value field More...
}; 
uint8_t forcePageStart: 1
uint8_t centeredInfo: 1
 if set to 1, the tag will be displayed as a centered info
uint8_t aliasValue: 1
uint8_t nbMaxLinesForValue: 2

Detailed Description

This structure contains a [tag,value] pair and possible extensions.

Definition at line 190 of file nbgl_content.h.

Member Data Documentation

◆ [union]

union { ... } nbgl_contentTagValue_t

◆ aliasValue

uint8_t nbgl_contentTagValue_t::aliasValue

if set to 1, the value represents an alias

  • On wallet size, a > icon enables to view the full value (extension field in union)
  • On Nano, the value is displayed in white

Definition at line 204 of file nbgl_content.h.

◆ centeredInfo

uint8_t nbgl_contentTagValue_t::centeredInfo

if set to 1, the tag will be displayed as a centered info

Definition at line 203 of file nbgl_content.h.

◆ extension

const nbgl_contentValueExt_t* nbgl_contentTagValue_t::extension

if not NULL, gives additional info on value field

Definition at line 199 of file nbgl_content.h.

◆ forcePageStart

uint8_t nbgl_contentTagValue_t::forcePageStart

if set to 1, the tag will be displayed at the top of a new review page

Definition at line 201 of file nbgl_content.h.

◆ item

const char* nbgl_contentTagValue_t::item

string giving the tag name

Definition at line 191 of file nbgl_content.h.

◆ nbMaxLinesForValue

uint8_t nbgl_contentTagValue_t::nbMaxLinesForValue

if > 0, max number of lines (1 to 3) for the value. If the value doesn't fit, it is cut and its last line ends with "..." (displaying the whole value elsewhere is up to the application). On Nano, such a value is displayed in a single page. Not used when the pair is displayed as a centered info by a use case

Definition at line 208 of file nbgl_content.h.

◆ value

const char* nbgl_contentTagValue_t::value

string giving the value name

Definition at line 192 of file nbgl_content.h.

◆ valueIcon

const nbgl_icon_details_t* nbgl_contentTagValue_t::valueIcon
  • if alias, a buffer containing the 1BPP icon for icon on right of value, on Stax/Flex/Apex (can be NULL)
    • if centeredInfo, it's the icon of the centered info (can be NULL)

Definition at line 195 of file nbgl_content.h.


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