Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Public Attributes | List of all members
nbgl_layoutNavigationBar_t Struct Reference

This structure contains info to build a navigation bar at the bottom of the screen. More...

#include <nbgl_layout.h>

Public Attributes

uint8_t token
 the token that will be used as argument of the callback
 
uint8_t nbPages
 number of pages. (if 0, no navigation)
 
uint8_t activePage
 index of active page (from 0 to nbPages-1).
 
bool withExitKey
 if set to true, an exit button is drawn (X on the left)
 
bool withBackKey
 if set to true, the "back" key is drawn
 
bool withSeparationLine
 
bool withPageIndicator
 
bool visibleIndicator
 

Detailed Description

This structure contains info to build a navigation bar at the bottom of the screen.

Note
this widget is incompatible with a footer.

Definition at line 128 of file nbgl_layout.h.

Member Data Documentation

◆ activePage

uint8_t nbgl_layoutNavigationBar_t::activePage

index of active page (from 0 to nbPages-1).

Definition at line 131 of file nbgl_layout.h.

◆ nbPages

uint8_t nbgl_layoutNavigationBar_t::nbPages

number of pages. (if 0, no navigation)

Definition at line 130 of file nbgl_layout.h.

◆ token

uint8_t nbgl_layoutNavigationBar_t::token

the token that will be used as argument of the callback

Definition at line 129 of file nbgl_layout.h.

◆ visibleIndicator

bool nbgl_layoutNavigationBar_t::visibleIndicator

on Flex, the page indicator can be visible or not. if withPageIndicator is true and this boolean false, the back key is placed as if there was an indicator

Definition at line 138 of file nbgl_layout.h.

◆ withBackKey

bool nbgl_layoutNavigationBar_t::withBackKey

if set to true, the "back" key is drawn

Definition at line 133 of file nbgl_layout.h.

◆ withExitKey

bool nbgl_layoutNavigationBar_t::withExitKey

if set to true, an exit button is drawn (X on the left)

Definition at line 132 of file nbgl_layout.h.

◆ withPageIndicator

bool nbgl_layoutNavigationBar_t::withPageIndicator

on Flex, a "page on nb_pages" text can be added between back and forward keys

Definition at line 136 of file nbgl_layout.h.

◆ withSeparationLine

bool nbgl_layoutNavigationBar_t::withSeparationLine

if set to true, an horizontal line is drawn on top of bar in light gray

Definition at line 134 of file nbgl_layout.h.


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