|
Embedded SDK
Embedded SDK
|
This structure contains info to build suggestion buttons. More...
#include <nbgl_layout_types.h>
Public Attributes | |
| const char ** | buttons |
| array of 4 strings for buttons (last ones can be NULL) | |
| int | firstButtonToken |
| uint8_t | nbUsedButtons |
| the number of actually used (displayed) buttons | |
| uint16_t | nbCandidates |
This structure contains info to build suggestion buttons.
Definition at line 54 of file nbgl_layout_types.h.
| const char** nbgl_layoutSuggestionButtons_t::buttons |
array of 4 strings for buttons (last ones can be NULL)
Definition at line 55 of file nbgl_layout_types.h.
| int nbgl_layoutSuggestionButtons_t::firstButtonToken |
first token used for buttons, provided in onActionCallback (the next 3 values will be used for other buttons)
Definition at line 56 of file nbgl_layout_types.h.
| uint16_t nbgl_layoutSuggestionButtons_t::nbCandidates |
total number of matching candidates, which may be greater than nbUsedButtons when the displayed buttons are capped. On Nano it is used to decide when the whole candidate list fits in the selection page. If left to 0, nbUsedButtons is used instead (legacy behaviour).
Definition at line 59 of file nbgl_layout_types.h.
| uint8_t nbgl_layoutSuggestionButtons_t::nbUsedButtons |
the number of actually used (displayed) buttons
Definition at line 58 of file nbgl_layout_types.h.