Embedded SDK
Embedded SDK
|
This structure contains info to build a header. More...
#include <nbgl_layout.h>
Public Attributes | ||
nbgl_layoutHeaderType_t | type | |
type of header | ||
bool | separationLine | |
if true, a separation line is added at the bottom of this control | ||
union { | ||
struct { | ||
uint16_t height | ||
} emptySpace | ||
if type is HEADER_EMPTY More... | ||
struct { | ||
const nbgl_icon_details_t * icon | ||
icon on left of text (only if HEADER_BACK_ICON_AND_TEXT) More... | ||
const char * text | ||
can be NULL if no text More... | ||
uint8_t token | ||
when back key is pressed More... | ||
tune_index_e tuneId | ||
when back key is pressed More... | ||
} backAndText | ||
if type is HEADER_BACK_ICON_AND_TEXT or HEADER_BACK_AND_TEXT More... | ||
struct { | ||
const nbgl_icon_details_t * actionIcon | ||
right button icon More... | ||
uint8_t activePage | ||
uint8_t nbPages | ||
bool withBack | ||
uint8_t token | ||
when optional back key is pressed More... | ||
uint8_t actionToken | ||
when optional right button is pressed More... | ||
tune_index_e tuneId | ||
when optional back key is pressed More... | ||
} progressAndBack | ||
if type is HEADER_BACK_AND_PROGRESS More... | ||
struct { | ||
const char * text | ||
} title | ||
if type is HEADER_TITLE More... | ||
struct { | ||
const nbgl_icon_details_t * actionIcon | ||
right button icon More... | ||
const char * text | ||
centered text (can be NULL if no text) More... | ||
uint8_t textToken | ||
when text is touched More... | ||
uint8_t backToken | ||
when back key is pressed More... | ||
uint8_t actionToken | ||
when right key is pressed More... | ||
tune_index_e tuneId | ||
when back key is pressed More... | ||
} extendedBack | ||
if type is HEADER_EXTENDED_BACK More... | ||
struct { | ||
const char * text | ||
touchable text on the right More... | ||
uint8_t token | ||
when text is pressed More... | ||
tune_index_e tuneId | ||
when text is pressed More... | ||
} rightText | ||
if type is HEADER_RIGHT_TEXT More... | ||
}; | ||
This structure contains info to build a header.
Definition at line 439 of file nbgl_layout.h.
union { ... } nbgl_layoutHeader_t |
const nbgl_icon_details_t* nbgl_layoutHeader_t::actionIcon |
right button icon
Definition at line 454 of file nbgl_layout.h.
uint8_t nbgl_layoutHeader_t::actionToken |
when optional right button is pressed
when right key is pressed
Definition at line 459 of file nbgl_layout.h.
uint8_t nbgl_layoutHeader_t::activePage |
Definition at line 455 of file nbgl_layout.h.
struct { ... } nbgl_layoutHeader_t::backAndText |
if type is HEADER_BACK_ICON_AND_TEXT or HEADER_BACK_AND_TEXT
uint8_t nbgl_layoutHeader_t::backToken |
when back key is pressed
Definition at line 469 of file nbgl_layout.h.
struct { ... } nbgl_layoutHeader_t::emptySpace |
if type is HEADER_EMPTY
struct { ... } nbgl_layoutHeader_t::extendedBack |
if type is HEADER_EXTENDED_BACK
uint16_t nbgl_layoutHeader_t::height |
Definition at line 444 of file nbgl_layout.h.
const nbgl_icon_details_t* nbgl_layoutHeader_t::icon |
icon on left of text (only if HEADER_BACK_ICON_AND_TEXT)
Definition at line 448 of file nbgl_layout.h.
uint8_t nbgl_layoutHeader_t::nbPages |
Definition at line 456 of file nbgl_layout.h.
struct { ... } nbgl_layoutHeader_t::progressAndBack |
if type is HEADER_BACK_AND_PROGRESS
struct { ... } nbgl_layoutHeader_t::rightText |
if type is HEADER_RIGHT_TEXT
bool nbgl_layoutHeader_t::separationLine |
if true, a separation line is added at the bottom of this control
Definition at line 441 of file nbgl_layout.h.
const char* nbgl_layoutHeader_t::text |
can be NULL if no text
touchable text on the right
centered text (can be NULL if no text)
Definition at line 449 of file nbgl_layout.h.
uint8_t nbgl_layoutHeader_t::textToken |
when text is touched
Definition at line 468 of file nbgl_layout.h.
struct { ... } nbgl_layoutHeader_t::title |
if type is HEADER_TITLE
uint8_t nbgl_layoutHeader_t::token |
when back key is pressed
when text is pressed
when optional back key is pressed
Definition at line 450 of file nbgl_layout.h.
tune_index_e nbgl_layoutHeader_t::tuneId |
when back key is pressed
when text is pressed
when optional back key is pressed
Definition at line 451 of file nbgl_layout.h.
nbgl_layoutHeaderType_t nbgl_layoutHeader_t::type |
type of header
Definition at line 440 of file nbgl_layout.h.
bool nbgl_layoutHeader_t::withBack |
Definition at line 457 of file nbgl_layout.h.