Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
nbgl_step_internal.h
Go to the documentation of this file.
1
6
7#ifndef NBGL_STEP_INTERNAL_H
8#define NBGL_STEP_INTERNAL_H
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14/*********************
15 * INCLUDES
16 *********************/
17#include "nbgl_step.h"
18
19/**********************
20 * GLOBAL PROTOTYPES
21 **********************/
23 nbgl_stepButtonCallback_t onActionCallback,
25 const char *text,
26 const char *subText,
28 bool modal,
29 uint8_t nbMaxLinesForSubText);
30
31#ifdef __cplusplus
32} /* extern "C" */
33#endif
34
35#endif /* NBGL_STEP_INTERNAL_H */
nbgl_contentCenteredInfoStyle_t
possible styles for Centered Info Area
struct PACKED__ nbgl_screenTickerConfiguration_s nbgl_screenTickerConfiguration_t
struct to configure a screen layer
Step construction API of NBGL.
void(* nbgl_stepButtonCallback_t)(nbgl_step_t stepCtx, nbgl_buttonEvent_t event)
prototype of function to be called when buttons are touched on a screen
Definition nbgl_step.h:59
void * nbgl_step_t
type shared externally
Definition nbgl_step.h:46
uint8_t nbgl_stepPosition_t
this type is a bitfield containing:
Definition nbgl_step.h:90
nbgl_step_t stepDrawText(nbgl_stepPosition_t pos, nbgl_stepButtonCallback_t onActionCallback, nbgl_screenTickerConfiguration_t *ticker, const char *text, const char *subText, nbgl_contentCenteredInfoStyle_t style, bool modal, uint8_t nbMaxLinesForSubText)
Same as nbgl_stepDrawText(), with the possibility to truncate subText.
Definition nbgl_step.c:524