|
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 | |
| nbgl_contentTagValueCallback_t | callback |
| function to call to retrieve a given pair | |
| uint8_t | nbPairs |
| uint8_t | startIndex |
| index of the first pair to get with callback | |
| bool | hideEndOfLastLine |
| if set to true, replace 3 last chars of last line by "..." | |
| uint8_t | nbMaxLinesForValue |
| if > 0, set the max number of lines for value field. | |
| uint8_t | token |
| bool | smallCaseForValue |
| bool | wrapping |
| if set to true, value text will be wrapped on ' ' to avoid cutting words | |
| nbgl_contentActionCallback_t | actionCallback |
| called when a valueIcon is touched on a given pair | |
This structure contains a list of [tag,value] pairs.
Definition at line 206 of file nbgl_content.h.
| nbgl_contentActionCallback_t nbgl_contentTagValueList_s::actionCallback |
called when a valueIcon is touched on a given pair
Definition at line 221 of file nbgl_content.h.
| nbgl_contentTagValueCallback_t nbgl_contentTagValueList_s::callback |
function to call to retrieve a given pair
Definition at line 209 of file nbgl_content.h.
| bool nbgl_contentTagValueList_s::hideEndOfLastLine |
if set to true, replace 3 last chars of last line by "..."
Definition at line 213 of file nbgl_content.h.
| uint8_t nbgl_contentTagValueList_s::nbMaxLinesForValue |
if > 0, set the max number of lines for value field.
Definition at line 214 of file nbgl_content.h.
| uint8_t nbgl_contentTagValueList_s::nbPairs |
number of pairs in pairs array (or max number of pairs to retrieve with callback)
Definition at line 210 of file nbgl_content.h.
| const nbgl_contentTagValue_t* nbgl_contentTagValueList_s::pairs |
array of [tag,value] pairs (nbPairs items). If NULL, callback is used instead
Definition at line 208 of file nbgl_content.h.
| bool nbgl_contentTagValueList_s::smallCaseForValue |
if set to true, a 24px font is used for value text, otherwise a 32px font is used
Definition at line 217 of file nbgl_content.h.
| uint8_t nbgl_contentTagValueList_s::startIndex |
index of the first pair to get with callback
Definition at line 212 of file nbgl_content.h.
| uint8_t nbgl_contentTagValueList_s::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 215 of file nbgl_content.h.
| bool nbgl_contentTagValueList_s::wrapping |
if set to true, value text will be wrapped on ' ' to avoid cutting words
Definition at line 219 of file nbgl_content.h.