|
Embedded SDK
Embedded SDK
|
This structure contains info to build a keyboard content (controls that are linked to keyboard). More...
#include <nbgl_layout_types.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 | obfuscated |
| 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 79 of file nbgl_layout_types.h.
| union { ... } nbgl_layoutKeyboardContent_t |
| nbgl_layoutConfirmationButton_t nbgl_layoutKeyboardContent_t::confirmationButton |
used if type is KEYBOARD_WITH_SUGGESTIONS
Definition at line 93 of file nbgl_layout_types.h.
| bool nbgl_layoutKeyboardContent_t::grayedOut |
(unused, kept for compatibility)
Definition at line 86 of file nbgl_layout_types.h.
| uint8_t nbgl_layoutKeyboardContent_t::number |
if numbered is true, number used to build 'number.' text
Definition at line 85 of file nbgl_layout_types.h.
| bool nbgl_layoutKeyboardContent_t::numbered |
if set to true, the text is preceded on the left by 'number.'
Definition at line 84 of file nbgl_layout_types.h.
| bool nbgl_layoutKeyboardContent_t::obfuscated |
Definition at line 83 of file nbgl_layout_types.h.
| nbgl_layoutSuggestionButtons_t nbgl_layoutKeyboardContent_t::suggestionButtons |
Definition at line 91 of file nbgl_layout_types.h.
| const char* nbgl_layoutKeyboardContent_t::text |
already entered text
Definition at line 82 of file nbgl_layout_types.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 87 of file nbgl_layout_types.h.
| const char* nbgl_layoutKeyboardContent_t::title |
centered title explaining the screen
Definition at line 81 of file nbgl_layout_types.h.
| tune_index_e nbgl_layoutKeyboardContent_t::tuneId |
if not NBGL_NO_TUNE, a tune will be played
Definition at line 96 of file nbgl_layout_types.h.
| nbgl_layoutKeyboardContentType_t nbgl_layoutKeyboardContent_t::type |
type of content
Definition at line 80 of file nbgl_layout_types.h.