|
Embedded SDK
Embedded SDK
|
This structure contains info to build a keyboard content (controls that are linked to keyboard) More...
#include <nbgl_layout.h>

Public Attributes | ||
| nbgl_layoutKeyboardContentType_t | type | |
| type of content | ||
| const char * | title | |
| centered title explaining the screen | ||
| const char * | text | |
| already entered text | ||
| bool | numbered | |
| if set to true, the text is preceded on the left by 'number.' | ||
| uint8_t | number | |
| if numbered is true, number used to build 'number.' text | ||
| bool | grayedOut | |
| (unused, kept for compatibility) | ||
| int | textToken | |
| union { | ||
| nbgl_layoutSuggestionButtons_t suggestionButtons | ||
| nbgl_layoutConfirmationButton_t confirmationButton | ||
| used if type is KEYBOARD_WITH_SUGGESTIONS More... | ||
| }; | ||
| tune_index_e | tuneId | |
| if not NBGL_NO_TUNE, a tune will be played | ||
This structure contains info to build a keyboard content (controls that are linked to keyboard)
Definition at line 436 of file nbgl_layout.h.
| union { ... } nbgl_layoutKeyboardContent_t |
| nbgl_layoutConfirmationButton_t nbgl_layoutKeyboardContent_t::confirmationButton |
used if type is KEYBOARD_WITH_SUGGESTIONS
Definition at line 449 of file nbgl_layout.h.
| bool nbgl_layoutKeyboardContent_t::grayedOut |
(unused, kept for compatibility)
Definition at line 442 of file nbgl_layout.h.
| uint8_t nbgl_layoutKeyboardContent_t::number |
if numbered is true, number used to build 'number.' text
Definition at line 441 of file nbgl_layout.h.
| bool nbgl_layoutKeyboardContent_t::numbered |
if set to true, the text is preceded on the left by 'number.'
Definition at line 440 of file nbgl_layout.h.
| nbgl_layoutSuggestionButtons_t nbgl_layoutKeyboardContent_t::suggestionButtons |
Definition at line 447 of file nbgl_layout.h.
| const char* nbgl_layoutKeyboardContent_t::text |
already entered text
Definition at line 439 of file nbgl_layout.h.
| int nbgl_layoutKeyboardContent_t::textToken |
the token that will be used as argument of the callback when "cross" button is touched (when text is not empty)
Definition at line 443 of file nbgl_layout.h.
| const char* nbgl_layoutKeyboardContent_t::title |
centered title explaining the screen
Definition at line 438 of file nbgl_layout.h.
| tune_index_e nbgl_layoutKeyboardContent_t::tuneId |
if not NBGL_NO_TUNE, a tune will be played
Definition at line 451 of file nbgl_layout.h.
| nbgl_layoutKeyboardContentType_t nbgl_layoutKeyboardContent_t::type |
type of content
Definition at line 437 of file nbgl_layout.h.