Embedded SDK
Embedded SDK
Public Attributes | List of all members
nbgl_layoutDescription_s Struct Reference

Structure containing all information when creating a layout. This structure must be passed as argument to nbgl_layoutGet. More...

#include <nbgl_layout.h>

Collaboration diagram for nbgl_layoutDescription_s:
Collaboration graph
[legend]

Public Attributes

bool modal
 
bool withLeftBorder
 
const char * tapActionText
 Light gray text used when main container is "tapable". More...
 
uint8_t tapActionToken
 
nbgl_layoutTouchCallback_t onActionCallback
 the callback to be called on any action on the layout More...
 
nbgl_screenTickerConfiguration_t ticker
 

Detailed Description

Structure containing all information when creating a layout. This structure must be passed as argument to nbgl_layoutGet.

Note
It shall not be used

Definition at line 171 of file nbgl_layout.h.

Member Data Documentation

◆ modal

bool nbgl_layoutDescription_s::modal

if true, puts the layout on top of screen stack (modal). Otherwise puts on background (for apps)

Definition at line 172 of file nbgl_layout.h.

◆ onActionCallback

nbgl_layoutTouchCallback_t nbgl_layoutDescription_s::onActionCallback

the callback to be called on any action on the layout

Definition at line 185 of file nbgl_layout.h.

◆ tapActionText

const char* nbgl_layoutDescription_s::tapActionText

Light gray text used when main container is "tapable".

Definition at line 177 of file nbgl_layout.h.

◆ tapActionToken

uint8_t nbgl_layoutDescription_s::tapActionToken

the token that will be used as argument of the onActionCallback when main container is "tapped"

Definition at line 178 of file nbgl_layout.h.

◆ ticker

nbgl_screenTickerConfiguration_t nbgl_layoutDescription_s::ticker

Definition at line 190 of file nbgl_layout.h.

◆ withLeftBorder

bool nbgl_layoutDescription_s::withLeftBorder

if true, draws a light gray left border on the whole height of the screen

Definition at line 175 of file nbgl_layout.h.


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