Embedded SDK
Embedded SDK
|
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 |
tune_index_e | tuneId |
if not NBGL_NO_TUNE, a tune will be played when pressing keys) | |
This structure contains info to build a navigation bar at the bottom of the screen.
Definition at line 176 of file nbgl_layout.h.
uint8_t nbgl_layoutNavigationBar_t::activePage |
index of active page (from 0 to nbPages-1).
Definition at line 179 of file nbgl_layout.h.
uint8_t nbgl_layoutNavigationBar_t::nbPages |
number of pages. (if 0, no navigation)
Definition at line 178 of file nbgl_layout.h.
uint8_t nbgl_layoutNavigationBar_t::token |
the token that will be used as argument of the callback
Definition at line 177 of file nbgl_layout.h.
tune_index_e nbgl_layoutNavigationBar_t::tuneId |
if not NBGL_NO_TUNE, a tune will be played when pressing keys)
Definition at line 189 of file nbgl_layout.h.
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 186 of file nbgl_layout.h.
bool nbgl_layoutNavigationBar_t::withBackKey |
if set to true, the "back" key is drawn
Definition at line 181 of file nbgl_layout.h.
bool nbgl_layoutNavigationBar_t::withExitKey |
if set to true, an exit button is drawn (X on the left)
Definition at line 180 of file nbgl_layout.h.
bool nbgl_layoutNavigationBar_t::withPageIndicator |
on Flex, a "page on nb_pages" text can be added between back and forward keys
Definition at line 184 of file nbgl_layout.h.
bool nbgl_layoutNavigationBar_t::withSeparationLine |
if set to true, an horizontal line is drawn on top of bar in light gray
Definition at line 182 of file nbgl_layout.h.