Embedded SDK
Embedded SDK
Public Attributes | List of all members
nbgl_pageContent_s Struct Reference

This structure contains data to build a page in multi-pages mode (nbgl_pageDrawGenericContent) More...

#include <nbgl_page.h>

Collaboration diagram for nbgl_pageContent_s:
Collaboration graph
[legend]

Public Attributes

const char * title
 text for the title of the page (if NULL, no title) More...
 
bool isTouchableTitle
 if set to true, the title is preceded by <- arrow to go back More...
 
uint8_t titleToken
 
tune_index_e tuneId
 if not NBGL_NO_TUNE, a tune will be played when title is touched More...
 
uint8_t topRightToken
 token used when top-right button (if not NULL) is touched More...
 
const nbgl_icon_details_ttopRightIcon
 
nbgl_contentType_t type
 type of page content in the following union More...
 
union {
   nbgl_contentCenteredInfo_t   centeredInfo
 CENTERED_INFO type More...
 
   nbgl_contentExtendedCenter_t   extendedCenter
 EXTENDED_CENTER type More...
 
   nbgl_contentInfoLongPress_t   infoLongPress
 INFO_LONG_PRESS type More...
 
   nbgl_contentInfoButton_t   infoButton
 INFO_BUTTON type More...
 
   nbgl_contentTagValueList_t   tagValueList
 TAG_VALUE_LIST type More...
 
   nbgl_contentTagValueDetails_t   tagValueDetails
 TAG_VALUE_DETAILS type More...
 
   nbgl_contentTagValueConfirm_t   tagValueConfirm
 TAG_VALUE_CONFIRM type More...
 
   nbgl_contentSwitchesList_t   switchesList
 SWITCHES_LIST type More...
 
   nbgl_contentInfoList_t   infosList
 INFOS_LIST type More...
 
   nbgl_contentRadioChoice_t   choicesList
 CHOICES_LIST type More...
 
   nbgl_contentBarsList_t   barsList
 BARS_LIST type More...
 
}; 
 

Detailed Description

This structure contains data to build a page in multi-pages mode (nbgl_pageDrawGenericContent)

Definition at line 52 of file nbgl_page.h.

Member Data Documentation

◆ 

union { ... }

◆ barsList

nbgl_contentBarsList_t nbgl_pageContent_s::barsList

BARS_LIST type

Definition at line 73 of file nbgl_page.h.

◆ centeredInfo

nbgl_contentCenteredInfo_t nbgl_pageContent_s::centeredInfo

CENTERED_INFO type

Definition at line 63 of file nbgl_page.h.

◆ choicesList

nbgl_contentRadioChoice_t nbgl_pageContent_s::choicesList

CHOICES_LIST type

Definition at line 72 of file nbgl_page.h.

◆ extendedCenter

nbgl_contentExtendedCenter_t nbgl_pageContent_s::extendedCenter

EXTENDED_CENTER type

Definition at line 64 of file nbgl_page.h.

◆ infoButton

nbgl_contentInfoButton_t nbgl_pageContent_s::infoButton

INFO_BUTTON type

Definition at line 66 of file nbgl_page.h.

◆ infoLongPress

nbgl_contentInfoLongPress_t nbgl_pageContent_s::infoLongPress

INFO_LONG_PRESS type

Definition at line 65 of file nbgl_page.h.

◆ infosList

nbgl_contentInfoList_t nbgl_pageContent_s::infosList

INFOS_LIST type

Definition at line 71 of file nbgl_page.h.

◆ isTouchableTitle

bool nbgl_pageContent_s::isTouchableTitle

if set to true, the title is preceded by <- arrow to go back

Definition at line 54 of file nbgl_page.h.

◆ switchesList

nbgl_contentSwitchesList_t nbgl_pageContent_s::switchesList

SWITCHES_LIST type

Definition at line 70 of file nbgl_page.h.

◆ tagValueConfirm

nbgl_contentTagValueConfirm_t nbgl_pageContent_s::tagValueConfirm

TAG_VALUE_CONFIRM type

Definition at line 69 of file nbgl_page.h.

◆ tagValueDetails

nbgl_contentTagValueDetails_t nbgl_pageContent_s::tagValueDetails

TAG_VALUE_DETAILS type

Definition at line 68 of file nbgl_page.h.

◆ tagValueList

nbgl_contentTagValueList_t nbgl_pageContent_s::tagValueList

TAG_VALUE_LIST type

Definition at line 67 of file nbgl_page.h.

◆ title

const char* nbgl_pageContent_s::title

text for the title of the page (if NULL, no title)

Definition at line 53 of file nbgl_page.h.

◆ titleToken

uint8_t nbgl_pageContent_s::titleToken

if isTouchableTitle set to true, this is the token used when touching title

Definition at line 55 of file nbgl_page.h.

◆ topRightIcon

const nbgl_icon_details_t* nbgl_pageContent_s::topRightIcon

a buffer containing the 32px/40px icon for icon on top-right of screen (no button if NULL)

Definition at line 59 of file nbgl_page.h.

◆ topRightToken

uint8_t nbgl_pageContent_s::topRightToken

token used when top-right button (if not NULL) is touched

Definition at line 58 of file nbgl_page.h.

◆ tuneId

tune_index_e nbgl_pageContent_s::tuneId

if not NBGL_NO_TUNE, a tune will be played when title is touched

Definition at line 57 of file nbgl_page.h.

◆ type

nbgl_contentType_t nbgl_pageContent_s::type

type of page content in the following union

Definition at line 61 of file nbgl_page.h.


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