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

This structure contains info to build a pair of buttons, the small one, with icon, on the left of the other. More...

#include <nbgl_layout.h>

Public Attributes

const nbgl_icon_details_tleftIcon
 a buffer containing the 1BPP icon for left button
 
const char * rightText
 right-button text
 
uint8_t leftToken
 the token used when left button is pressed
 
uint8_t rightToken
 the token used when right button is pressed
 
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, the small one, with icon, on the left of the other.

Note
the pair of button is automatically put on bottom of main container

Definition at line 363 of file nbgl_layout.h.

Member Data Documentation

◆ leftIcon

const nbgl_icon_details_t* nbgl_layoutHorizontalButtons_t::leftIcon

a buffer containing the 1BPP icon for left button

Definition at line 364 of file nbgl_layout.h.

◆ leftToken

uint8_t nbgl_layoutHorizontalButtons_t::leftToken

the token used when left button is pressed

Definition at line 366 of file nbgl_layout.h.

◆ rightText

const char* nbgl_layoutHorizontalButtons_t::rightText

right-button text

Definition at line 365 of file nbgl_layout.h.

◆ rightToken

uint8_t nbgl_layoutHorizontalButtons_t::rightToken

the token used when right button is pressed

Definition at line 367 of file nbgl_layout.h.

◆ tuneId

tune_index_e nbgl_layoutHorizontalButtons_t::tuneId

if not NBGL_NO_TUNE, a tune will be played

Definition at line 368 of file nbgl_layout.h.


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