|
Embedded SDK
Embedded SDK
|
Implementation of flow management. More...
#include <string.h>#include "nbgl_debug.h"#include "nbgl_flow.h"#include "glyphs.h"#include "os_pic.h"#include "ux.h"
Go to the source code of this file.
Classes | |
| struct | FlowContext_s |
Macros | |
| #define | NB_MAX_LAYERS 3 |
| < Maximum number of layers for flow, cannot be greater than max number of step layers | |
Typedefs | |
| typedef struct FlowContext_s | FlowContext_t |
Functions | |
| nbgl_flow_t | nbgl_flowDraw (const nbgl_stepDesc_t *steps, uint8_t nbSteps, uint8_t initStep, bool loop, bool modal) |
| draw the given flow, starting at the given step | |
| void | nbgl_flowRelease (nbgl_flow_t flow) |
| release the given flow | |
Implementation of flow management.
Definition in file nbgl_flow.c.
| #define NB_MAX_LAYERS 3 |
< Maximum number of layers for flow, cannot be greater than max number of step layers
Definition at line 27 of file nbgl_flow.c.
| typedef struct FlowContext_s FlowContext_t |
| nbgl_flow_t nbgl_flowDraw | ( | const nbgl_stepDesc_t * | steps, |
| uint8_t | nbSteps, | ||
| uint8_t | initStep, | ||
| bool | loop, | ||
| bool | modal | ||
| ) |
draw the given flow, starting at the given step
| steps | array of step descriptions |
| nbSteps | number of steps in above array |
| initStep | init step in above array |
| loop | if true, loop between last and first step, in both direction |
| modal | if true, screens are modal |
Definition at line 194 of file nbgl_flow.c.
| void nbgl_flowRelease | ( | nbgl_flow_t | flow | ) |