49 #ifdef HAVE_LANGUAGE_PACK
void(* nbgl_stepCallback_t)(void)
prototype of function to be called when a step is using a callback on "double-key" action
nbgl_stepDesc_t nbgl_pageContent_t
void nbgl_flowRelease(nbgl_flow_t flow)
struct nbgl_stepDesc_s nbgl_stepDesc_t
Structure containing all specific information when creating a NBGL step.
void * nbgl_flow_t
type shared externally
nbgl_flow_t nbgl_flowDraw(const nbgl_stepDesc_t *steps, uint8_t nbSteps, uint8_t initStep, bool loop, bool modal)
API to draw all basic graphic objects.
Step construction API of NBGL.
common types for Graphical Library
struct PACKED__ nbgl_icon_details_s nbgl_icon_details_t
Represents all information about an icon.
Structure containing all specific information when creating a NBGL step.
const char * subText
sub-text to display in step (NULL most of the time)
nbgl_stepCallback_t callback
if not NULL, function to be called on "double-key" action
const nbgl_icon_details_t * icon
icon to display in step (text must be single-page)
nbgl_stepCallback_t init
if not NULL, function to be called when the step is entered
const char * text
text to display in step (can be multi-pages if icon == NULL)
BOLOS_UX_LOC_STRINGS UX_LOC_STRINGS_INDEX