|
Embedded SDK
Embedded SDK
|
This structure contains info to build suggestion buttons. More...
#include <nbgl_layout.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 354 of file nbgl_layout.h.
| const char** nbgl_layoutSuggestionButtons_t::buttons |
array of 4 strings for buttons (last ones can be NULL)
Definition at line 355 of file nbgl_layout.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 356 of file nbgl_layout.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 359 of file nbgl_layout.h.
| uint8_t nbgl_layoutSuggestionButtons_t::nbUsedButtons |
the number of actually used (displayed) buttons
Definition at line 358 of file nbgl_layout.h.