|
Embedded SDK
Embedded SDK
|
This structure contains info to build a single button. More...
#include <nbgl_layout.h>
Public Attributes | |
| const char * | text |
| button text | |
| const nbgl_icon_details_t * | icon |
| a buffer containing the 1BPP icon for button | |
| uint8_t | token |
| the token that will be used as argument of the callback | |
| nbgl_layoutButtonStyle_t | style |
| bool | fittingContent |
| if set to true, fit the width of button to text, otherwise full width | |
| bool | onBottom |
| tune_index_e | tuneId |
| if not NBGL_NO_TUNE, a tune will be played | |
This structure contains info to build a single button.
Definition at line 392 of file nbgl_layout.h.
| bool nbgl_layoutButton_t::fittingContent |
if set to true, fit the width of button to text, otherwise full width
Definition at line 397 of file nbgl_layout.h.
| const nbgl_icon_details_t* nbgl_layoutButton_t::icon |
a buffer containing the 1BPP icon for button
Definition at line 394 of file nbgl_layout.h.
| bool nbgl_layoutButton_t::onBottom |
if set to true, align on bottom of page, otherwise put on bottom of previous object
Definition at line 398 of file nbgl_layout.h.
| nbgl_layoutButtonStyle_t nbgl_layoutButton_t::style |
Definition at line 396 of file nbgl_layout.h.
| const char* nbgl_layoutButton_t::text |
button text
Definition at line 393 of file nbgl_layout.h.
| uint8_t nbgl_layoutButton_t::token |
the token that will be used as argument of the callback
Definition at line 395 of file nbgl_layout.h.
| tune_index_e nbgl_layoutButton_t::tuneId |
if not NBGL_NO_TUNE, a tune will be played
Definition at line 400 of file nbgl_layout.h.