Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
nbgl_layoutChoiceButtons_t Struct Reference

This structure contains info to build a pair of buttons, one on top of the other. More...

#include <nbgl_layout.h>

Public Attributes

const char * topText
 up-button text (index 0)
const char * bottomText
 bottom-button text (index 1)
const nbgl_icon_details_t * topIcon
 icon of top button
uint8_t token
 the token that will be used as argument of the callback
nbgl_layoutChoiceButtonsStyle_t style
 the style of the pair
tune_index_e tuneId
 if not NBGL_NO_TUNE, a tune will be played

Detailed Description

This structure contains info to build a pair of buttons, one on top of the other.

Note
the pair of button is automatically put on bottom of screen, in the footer

Definition at line 342 of file nbgl_layout.h.

Member Data Documentation

◆ bottomText

const char* nbgl_layoutChoiceButtons_t::bottomText

bottom-button text (index 1)

Definition at line 344 of file nbgl_layout.h.

◆ style

nbgl_layoutChoiceButtonsStyle_t nbgl_layoutChoiceButtons_t::style

the style of the pair

Definition at line 347 of file nbgl_layout.h.

◆ token

uint8_t nbgl_layoutChoiceButtons_t::token

the token that will be used as argument of the callback

Definition at line 346 of file nbgl_layout.h.

◆ topIcon

const nbgl_icon_details_t* nbgl_layoutChoiceButtons_t::topIcon

icon of top button

Definition at line 345 of file nbgl_layout.h.

◆ topText

const char* nbgl_layoutChoiceButtons_t::topText

up-button text (index 0)

Definition at line 343 of file nbgl_layout.h.

◆ tuneId

tune_index_e nbgl_layoutChoiceButtons_t::tuneId

if not NBGL_NO_TUNE, a tune will be played

Definition at line 348 of file nbgl_layout.h.


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