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

Structure containing all information about the current layout. More...

#include <nbgl_layout_internal.h>

Collaboration diagram for nbgl_layoutInternal_s:
Collaboration graph
[legend]

Public Attributes

bool modal
 if true, means the screen is a modal More...
 
bool withLeftBorder
 
uint8_t layer
 
uint8_t nbChildren
 number of children in above array More...
 
nbgl_obj_t ** children
 children for main screen More...
 
uint8_t nbPages
 number of pages for navigation bar More...
 
uint8_t activePage
 index of active page for navigation bar More...
 
nbgl_layoutHeaderType_t headerType
 type of header More...
 
nbgl_layoutFooterType_t footerType
 type of footer More...
 
nbgl_layoutUpFooterType_t upFooterType
 type of up-footer More...
 
nbgl_container_theaderContainer
 container used to store header (progress, back, empty space...) More...
 
nbgl_container_tfooterContainer
 container used to store footer (buttons, nav....) More...
 
nbgl_container_tupFooterContainer
 
nbgl_text_area_ttapText
 
nbgl_layoutTouchCallback_t callback
 
layoutObj_t callbackObjPool [LAYOUT_OBJ_POOL_LEN]
 
uint8_t nbUsedCallbackObjs
 
nbgl_container_tcontainer
 
nbgl_swipe_usage_t swipeUsage
 
nbgl_layoutButtonCallback_t callback
 

Detailed Description

Structure containing all information about the current layout.

Note
It shall not be used externally

Definition at line 70 of file nbgl_layout_internal.h.

Member Data Documentation

◆ activePage

uint8_t nbgl_layoutInternal_s::activePage

index of active page for navigation bar

Definition at line 80 of file nbgl_layout_internal.h.

◆ callback [1/2]

nbgl_layoutTouchCallback_t nbgl_layoutInternal_s::callback

Definition at line 90 of file nbgl_layout_internal.h.

◆ callback [2/2]

nbgl_layoutButtonCallback_t nbgl_layoutInternal_s::callback

Definition at line 45 of file nbgl_layout_internal_nanos.h.

◆ callbackObjPool

layoutObj_t nbgl_layoutInternal_s::callbackObjPool[LAYOUT_OBJ_POOL_LEN]

Definition at line 92 of file nbgl_layout_internal.h.

◆ children

nbgl_obj_t ** nbgl_layoutInternal_s::children

children for main screen

Definition at line 77 of file nbgl_layout_internal.h.

◆ container

nbgl_container_t* nbgl_layoutInternal_s::container

Definition at line 96 of file nbgl_layout_internal.h.

◆ footerContainer

nbgl_container_t* nbgl_layoutInternal_s::footerContainer

container used to store footer (buttons, nav....)

Definition at line 86 of file nbgl_layout_internal.h.

◆ footerType

nbgl_layoutFooterType_t nbgl_layoutInternal_s::footerType

type of footer

Definition at line 82 of file nbgl_layout_internal.h.

◆ headerContainer

nbgl_container_t* nbgl_layoutInternal_s::headerContainer

container used to store header (progress, back, empty space...)

Definition at line 85 of file nbgl_layout_internal.h.

◆ headerType

nbgl_layoutHeaderType_t nbgl_layoutInternal_s::headerType

type of header

Definition at line 81 of file nbgl_layout_internal.h.

◆ layer

uint8_t nbgl_layoutInternal_s::layer

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

Definition at line 74 of file nbgl_layout_internal.h.

◆ modal

bool nbgl_layoutInternal_s::modal

if true, means the screen is a modal

Definition at line 71 of file nbgl_layout_internal.h.

◆ nbChildren

uint8_t nbgl_layoutInternal_s::nbChildren

number of children in above array

Definition at line 76 of file nbgl_layout_internal.h.

◆ nbPages

uint8_t nbgl_layoutInternal_s::nbPages

number of pages for navigation bar

Definition at line 79 of file nbgl_layout_internal.h.

◆ nbUsedCallbackObjs

uint8_t nbgl_layoutInternal_s::nbUsedCallbackObjs

Definition at line 94 of file nbgl_layout_internal.h.

◆ swipeUsage

nbgl_swipe_usage_t nbgl_layoutInternal_s::swipeUsage

Definition at line 97 of file nbgl_layout_internal.h.

◆ tapText

nbgl_text_area_t* nbgl_layoutInternal_s::tapText

Definition at line 89 of file nbgl_layout_internal.h.

◆ upFooterContainer

nbgl_container_t* nbgl_layoutInternal_s::upFooterContainer

container used on top on footer to store special contents like tip-box or long-press button

Definition at line 87 of file nbgl_layout_internal.h.

◆ upFooterType

nbgl_layoutUpFooterType_t nbgl_layoutInternal_s::upFooterType

type of up-footer

Definition at line 83 of file nbgl_layout_internal.h.

◆ withLeftBorder

bool nbgl_layoutInternal_s::withLeftBorder

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

Definition at line 72 of file nbgl_layout_internal.h.


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