Embedded SDK
Embedded SDK
Loading...
Searching...
No Matches
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_t * leftIcon
 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 357 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 358 of file nbgl_layout.h.

◆ leftToken

uint8_t nbgl_layoutHorizontalButtons_t::leftToken

the token used when left button is pressed

Definition at line 360 of file nbgl_layout.h.

◆ rightText

const char* nbgl_layoutHorizontalButtons_t::rightText

right-button text

Definition at line 359 of file nbgl_layout.h.

◆ rightToken

uint8_t nbgl_layoutHorizontalButtons_t::rightToken

the token used when right button is pressed

Definition at line 361 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 362 of file nbgl_layout.h.


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