Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
nbgl_layout_types.h File Reference

Types of NBGL layouts also used by the use-case API. More...

#include <stdint.h>
#include <stdbool.h>
#include "os_io_seph_cmd.h"
#include "nbgl_types.h"
Include dependency graph for nbgl_layout_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  nbgl_layoutSuggestionButtons_t
 This structure contains info to build suggestion buttons. More...
struct  nbgl_layoutConfirmationButton_t
 This structure contains info to build a confirmation button. More...
struct  nbgl_layoutKeyboardContent_t
 This structure contains info to build a keyboard content (controls that are linked to keyboard). More...
struct  nbgl_layoutLeftContent_t
 This structure contains info to build a left content area. More...

Macros

#define NBGL_NO_TUNE   NB_TUNES

Typedefs

typedef void(* nbgl_layoutTouchCallback_t) (int token, uint8_t index)
 prototype of function to be called when an object is touched

Enumerations

enum  nbgl_layoutKeyboardContentType_t { KEYBOARD_WITH_SUGGESTIONS , KEYBOARD_WITH_BUTTON , NB_KEYBOARD_CONTENT_TYPES }
 The different types of keyboard contents. More...

Detailed Description

Types of NBGL layouts also used by the use-case API.

Definition in file nbgl_layout_types.h.

Macro Definition Documentation

◆ NBGL_NO_TUNE

#define NBGL_NO_TUNE   NB_TUNES

Definition at line 27 of file nbgl_layout_types.h.

Typedef Documentation

◆ nbgl_layoutTouchCallback_t

typedef void(* nbgl_layoutTouchCallback_t) (int token, uint8_t index)

prototype of function to be called when an object is touched

Parameters
tokeninteger passed when registering callback
indexwhen the object touched is a list of radio buttons, gives the index of the activated button

Definition at line 39 of file nbgl_layout_types.h.

Enumeration Type Documentation

◆ nbgl_layoutKeyboardContentType_t

The different types of keyboard contents.

Enumerator
KEYBOARD_WITH_SUGGESTIONS 

text entry area + suggestion buttons

KEYBOARD_WITH_BUTTON 

text entry area + confirmation button

NB_KEYBOARD_CONTENT_TYPES 

Definition at line 45 of file nbgl_layout_types.h.