Embedded SDK
Embedded SDK
|
This structure contains a list of [tag,value] pairs. More...
#include <nbgl_content.h>
Public Attributes | |
const nbgl_contentTagValue_t * | pairs |
array of [tag,value] pairs (nbPairs items). If NULL, callback is used instead More... | |
nbgl_contentTagValueCallback_t | callback |
function to call to retrieve a given pair More... | |
uint8_t | nbPairs |
uint8_t | startIndex |
index of the first pair to get with callback More... | |
uint8_t | nbMaxLinesForValue |
uint8_t | token |
bool | smallCaseForValue |
bool | wrapping |
if set to true, value text will be wrapped on ' ' to avoid cutting words More... | |
nbgl_contentActionCallback_t | actionCallback |
called when a valueIcon is touched on a given pair More... | |
This structure contains a list of [tag,value] pairs.
Definition at line 185 of file nbgl_content.h.
nbgl_contentActionCallback_t nbgl_contentTagValueList_t::actionCallback |
called when a valueIcon is touched on a given pair
Definition at line 200 of file nbgl_content.h.
nbgl_contentTagValueCallback_t nbgl_contentTagValueList_t::callback |
function to call to retrieve a given pair
Definition at line 188 of file nbgl_content.h.
uint8_t nbgl_contentTagValueList_t::nbMaxLinesForValue |
if > 0, set the max number of lines for value field. And the last line is ended with "..." instead of the 3 last chars
Definition at line 192 of file nbgl_content.h.
uint8_t nbgl_contentTagValueList_t::nbPairs |
number of pairs in pairs array (or max number of pairs to retrieve with callback)
Definition at line 189 of file nbgl_content.h.
const nbgl_contentTagValue_t* nbgl_contentTagValueList_t::pairs |
array of [tag,value] pairs (nbPairs items). If NULL, callback is used instead
Definition at line 187 of file nbgl_content.h.
bool nbgl_contentTagValueList_t::smallCaseForValue |
if set to true, a 24px font is used for value text, otherwise a 32px font is used
Definition at line 196 of file nbgl_content.h.
uint8_t nbgl_contentTagValueList_t::startIndex |
index of the first pair to get with callback
Definition at line 191 of file nbgl_content.h.
uint8_t nbgl_contentTagValueList_t::token |
the token that will be used as argument of the callback if icon in any tag/value pair is touched (index is the index of the pair in pairs[])
Definition at line 194 of file nbgl_content.h.
bool nbgl_contentTagValueList_t::wrapping |
if set to true, value text will be wrapped on ' ' to avoid cutting words
Definition at line 198 of file nbgl_content.h.