|
Embedded SDK
Embedded SDK
|
This structure contains info to build a clickable "bar" with a text and an icon. More...
#include <nbgl_layout.h>
Public Attributes | |
| const nbgl_icon_details_t * | iconLeft |
| a buffer containing the 1BPP icon for icon on left (can be NULL) | |
| const char * | text |
| text (can be NULL) | |
| const nbgl_icon_details_t * | iconRight |
| const char * | subText |
| sub text (can be NULL) | |
| bool | large |
| set to true only for the main level of OS settings | |
| uint8_t | token |
| the token that will be used as argument of the callback | |
| bool | inactive |
| if set to true, the bar is grayed-out and cannot be touched | |
| bool | centered |
| DEPRECATED, not used. | |
| tune_index_e | tuneId |
| if not NBGL_NO_TUNE, a tune will be played | |
This structure contains info to build a clickable "bar" with a text and an icon.
Definition at line 251 of file nbgl_layout.h.
| bool nbgl_layoutBar_t::centered |
DEPRECATED, not used.
Definition at line 261 of file nbgl_layout.h.
| const nbgl_icon_details_t* nbgl_layoutBar_t::iconLeft |
a buffer containing the 1BPP icon for icon on left (can be NULL)
Definition at line 253 of file nbgl_layout.h.
| const nbgl_icon_details_t* nbgl_layoutBar_t::iconRight |
a buffer containing the 1BPP icon for icon 2 (can be NULL). Dimensions must be the same as iconLeft
Definition at line 255 of file nbgl_layout.h.
| bool nbgl_layoutBar_t::inactive |
if set to true, the bar is grayed-out and cannot be touched
Definition at line 260 of file nbgl_layout.h.
| bool nbgl_layoutBar_t::large |
set to true only for the main level of OS settings
Definition at line 258 of file nbgl_layout.h.
| const char* nbgl_layoutBar_t::subText |
sub text (can be NULL)
Definition at line 257 of file nbgl_layout.h.
| const char* nbgl_layoutBar_t::text |
text (can be NULL)
Definition at line 254 of file nbgl_layout.h.
| uint8_t nbgl_layoutBar_t::token |
the token that will be used as argument of the callback
Definition at line 259 of file nbgl_layout.h.
| tune_index_e nbgl_layoutBar_t::tuneId |
if not NBGL_NO_TUNE, a tune will be played
Definition at line 262 of file nbgl_layout.h.