Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
nbgl_layoutKeyboardContent_t Struct Reference

This structure contains info to build a keyboard content (controls that are linked to keyboard). More...

#include <nbgl_layout_types.h>

Collaboration diagram for nbgl_layoutKeyboardContent_t:

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

Detailed Description

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.

Member Data Documentation

◆ [union]

◆ confirmationButton

nbgl_layoutConfirmationButton_t nbgl_layoutKeyboardContent_t::confirmationButton

used if type is KEYBOARD_WITH_SUGGESTIONS

Definition at line 93 of file nbgl_layout_types.h.

◆ grayedOut

bool nbgl_layoutKeyboardContent_t::grayedOut

(unused, kept for compatibility)

Definition at line 86 of file nbgl_layout_types.h.

◆ number

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.

◆ numbered

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.

◆ obfuscated

bool nbgl_layoutKeyboardContent_t::obfuscated

Definition at line 83 of file nbgl_layout_types.h.

◆ suggestionButtons

nbgl_layoutSuggestionButtons_t nbgl_layoutKeyboardContent_t::suggestionButtons

Definition at line 91 of file nbgl_layout_types.h.

◆ text

const char* nbgl_layoutKeyboardContent_t::text

already entered text

Definition at line 82 of file nbgl_layout_types.h.

◆ textToken

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.

◆ title

const char* nbgl_layoutKeyboardContent_t::title

centered title explaining the screen

Definition at line 81 of file nbgl_layout_types.h.

◆ tuneId

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.

◆ type

nbgl_layoutKeyboardContentType_t nbgl_layoutKeyboardContent_t::type

type of content

Definition at line 80 of file nbgl_layout_types.h.


The documentation for this struct was generated from the following file: