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

This structure contains info to build an up-footer (area on top of footer). More...

#include <nbgl_layout.h>

Collaboration diagram for nbgl_layoutUpFooter_t:
Collaboration graph
[legend]

Public Attributes

nbgl_layoutUpFooterType_t type
 type of up-footer More...
 
union {
   struct {
      const char *   text
 text in the long-press button More...
 
      uint8_t   token
 token used when button is long-pressed More...
 
      tune_index_e   tuneId
 tune played when button is long-pressed More...
 
   }   longPress
 if type is UP_FOOTER_LONG_PRESS More...
 
   nbgl_layoutButton_t   button
 if type is UP_FOOTER_BUTTON More...
 
   nbgl_layoutHorizontalButtons_t   horizontalButtons
 if type is UP_FOOTER_HORIZONTAL_BUTTONS More...
 
   nbgl_contentTipBox_t   tipBox
 if type is UP_FOOTER_TIP_BOX More...
 
   struct {
      const char *   text
 text More...
 
      uint8_t   token
 token used when text is touched More...
 
      tune_index_e   tuneId
 tune played when text is touched More...
 
   }   text
 if type is UP_FOOTER_TEXT More...
 
}; 
 

Detailed Description

This structure contains info to build an up-footer (area on top of footer).

Definition at line 539 of file nbgl_layout.h.

Member Data Documentation

◆ 

union { ... }

◆ button

nbgl_layoutButton_t nbgl_layoutUpFooter_t::button

if type is UP_FOOTER_BUTTON

Definition at line 547 of file nbgl_layout.h.

◆ horizontalButtons

nbgl_layoutHorizontalButtons_t nbgl_layoutUpFooter_t::horizontalButtons

if type is UP_FOOTER_HORIZONTAL_BUTTONS

Definition at line 549 of file nbgl_layout.h.

◆ 

struct { ... } nbgl_layoutUpFooter_t::longPress

◆ text [1/2]

const char* nbgl_layoutUpFooter_t::text

text in the long-press button

text

Definition at line 543 of file nbgl_layout.h.

◆  [2/2]

struct { ... } nbgl_layoutUpFooter_t::text

if type is UP_FOOTER_TEXT

◆ tipBox

nbgl_contentTipBox_t nbgl_layoutUpFooter_t::tipBox

if type is UP_FOOTER_TIP_BOX

Definition at line 550 of file nbgl_layout.h.

◆ token

uint8_t nbgl_layoutUpFooter_t::token

token used when button is long-pressed

token used when text is touched

Definition at line 544 of file nbgl_layout.h.

◆ tuneId

tune_index_e nbgl_layoutUpFooter_t::tuneId

tune played when button is long-pressed

tune played when text is touched

Definition at line 545 of file nbgl_layout.h.

◆ type

nbgl_layoutUpFooterType_t nbgl_layoutUpFooter_t::type

type of up-footer

Definition at line 540 of file nbgl_layout.h.


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