Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
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
 
bool withLeftBorder
 
uint8_t layer
 
uint8_t nbChildren
 number of children in above array
 
nbgl_obj_t ** children
 children for main screen
 
uint8_t nbPages
 number of pages for navigation bar
 
uint8_t activePage
 index of active page for navigation bar
 
nbgl_layoutHeaderType_t headerType
 type of header
 
nbgl_layoutFooterType_t footerType
 type of footer
 
nbgl_layoutUpFooterType_t upFooterType
 type of up-footer
 
nbgl_container_theaderContainer
 container used to store header (progress, back, empty space...)
 
nbgl_container_tfooterContainer
 container used to store footer (buttons, nav....)
 
nbgl_container_tupFooterContainer
 
nbgl_text_area_ttapText
 
nbgl_layoutTouchCallback_t callback
 
layoutObj_t callbackObjPool [LAYOUT_OBJ_POOL_LEN]
 
uint8_t nbUsedCallbackObjs
 
nbgl_container_tcontainer
 
const nbgl_animation_tanimation
 current animation (if not NULL)
 
uint8_t iconIdxInAnim
 current icon index in animation
 
bool incrementAnim
 if true, means that animation index is currently incrementing
 
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 75 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 85 of file nbgl_layout_internal.h.

◆ animation

const nbgl_animation_t* nbgl_layoutInternal_s::animation

current animation (if not NULL)

Definition at line 102 of file nbgl_layout_internal.h.

◆ callback [1/2]

nbgl_layoutTouchCallback_t nbgl_layoutInternal_s::callback

Definition at line 95 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 97 of file nbgl_layout_internal.h.

◆ children

nbgl_obj_t ** nbgl_layoutInternal_s::children

children for main screen

Definition at line 82 of file nbgl_layout_internal.h.

◆ container

nbgl_container_t* nbgl_layoutInternal_s::container

Definition at line 101 of file nbgl_layout_internal.h.

◆ footerContainer

nbgl_container_t* nbgl_layoutInternal_s::footerContainer

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

Definition at line 91 of file nbgl_layout_internal.h.

◆ footerType

nbgl_layoutFooterType_t nbgl_layoutInternal_s::footerType

type of footer

Definition at line 87 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 90 of file nbgl_layout_internal.h.

◆ headerType

nbgl_layoutHeaderType_t nbgl_layoutInternal_s::headerType

type of header

Definition at line 86 of file nbgl_layout_internal.h.

◆ iconIdxInAnim

uint8_t nbgl_layoutInternal_s::iconIdxInAnim

current icon index in animation

Definition at line 103 of file nbgl_layout_internal.h.

◆ incrementAnim

bool nbgl_layoutInternal_s::incrementAnim

if true, means that animation index is currently incrementing

Definition at line 104 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 79 of file nbgl_layout_internal.h.

◆ modal

bool nbgl_layoutInternal_s::modal

if true, means the screen is a modal

Definition at line 76 of file nbgl_layout_internal.h.

◆ nbChildren

uint8_t nbgl_layoutInternal_s::nbChildren

number of children in above array

Definition at line 81 of file nbgl_layout_internal.h.

◆ nbPages

uint8_t nbgl_layoutInternal_s::nbPages

number of pages for navigation bar

Definition at line 84 of file nbgl_layout_internal.h.

◆ nbUsedCallbackObjs

uint8_t nbgl_layoutInternal_s::nbUsedCallbackObjs

Definition at line 99 of file nbgl_layout_internal.h.

◆ swipeUsage

nbgl_swipe_usage_t nbgl_layoutInternal_s::swipeUsage

Definition at line 105 of file nbgl_layout_internal.h.

◆ tapText

nbgl_text_area_t* nbgl_layoutInternal_s::tapText

Definition at line 94 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 92 of file nbgl_layout_internal.h.

◆ upFooterType

nbgl_layoutUpFooterType_t nbgl_layoutInternal_s::upFooterType

type of up-footer

Definition at line 88 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 77 of file nbgl_layout_internal.h.


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