Embedded SDK
Embedded SDK
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 More...
 
uint8_t nbPages
 number of pages. (if 0, no navigation) More...
 
uint8_t activePage
 index of active page (from 0 to nbPages-1). More...
 
bool withExitKey
 if set to true, an exit button is drawn (X on the left) More...
 
bool withBackKey
 if set to true, the "back" key is drawn More...
 
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 118 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 121 of file nbgl_layout.h.

◆ nbPages

uint8_t nbgl_layoutNavigationBar_t::nbPages

number of pages. (if 0, no navigation)

Definition at line 120 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 119 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 128 of file nbgl_layout.h.

◆ withBackKey

bool nbgl_layoutNavigationBar_t::withBackKey

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

Definition at line 123 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 122 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 126 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 124 of file nbgl_layout.h.


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