Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
Public Attributes | List of all members
TextContext_s Struct Reference

Public Attributes

uint8_t nbPages
 number of pages for this text step
 
uint8_t currentPage
 current page for this text step
 
const char * txtStart
 pointer on the start point of text (first page)
 
const char * nextPageStart
 pointer on the start point of text at the next page
 
const char * subTxtStart
 pointer on the start point of sub-text (first page)
 
nbgl_stepPosition_t pos
 position of the step within a flow (used for navigation arrows)
 
bool actionOnAnyButton
 if true, action applies on any button
 
nbgl_stepButtonCallback_t onActionCallback
 
char tmpString [TMP_STRING_MAX_LEN]
 
nbgl_contentCenteredInfoStyle_t style
 style to be used with a CENTERED_INFO_STEP step
 

Detailed Description

definition of context for a TEXT_STEP or CENTERED_INFO_STEP step

Definition at line 44 of file nbgl_step.c.

Member Data Documentation

◆ actionOnAnyButton

bool TextContext_s::actionOnAnyButton

if true, action applies on any button

Definition at line 52 of file nbgl_step.c.

◆ currentPage

uint8_t TextContext_s::currentPage

current page for this text step

Definition at line 46 of file nbgl_step.c.

◆ nbPages

uint8_t TextContext_s::nbPages

number of pages for this text step

Definition at line 45 of file nbgl_step.c.

◆ nextPageStart

const char* TextContext_s::nextPageStart

pointer on the start point of text at the next page

Definition at line 48 of file nbgl_step.c.

◆ onActionCallback

nbgl_stepButtonCallback_t TextContext_s::onActionCallback

function called when key actions done on this step (other than internal navigation)

Definition at line 53 of file nbgl_step.c.

◆ pos

nbgl_stepPosition_t TextContext_s::pos

position of the step within a flow (used for navigation arrows)

Definition at line 51 of file nbgl_step.c.

◆ style

nbgl_contentCenteredInfoStyle_t TextContext_s::style

style to be used with a CENTERED_INFO_STEP step

Definition at line 58 of file nbgl_step.c.

◆ subTxtStart

const char* TextContext_s::subTxtStart

pointer on the start point of sub-text (first page)

Definition at line 49 of file nbgl_step.c.

◆ tmpString

char TextContext_s::tmpString[TMP_STRING_MAX_LEN]

temporary string used for title when text + multi-pages subText

Definition at line 55 of file nbgl_step.c.

◆ txtStart

const char* TextContext_s::txtStart

pointer on the start point of text (first page)

Definition at line 47 of file nbgl_step.c.


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