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

This structure contains info to build a clickable "bar" with a text and an icon. More...

#include <nbgl_layout.h>

Public Attributes

const nbgl_icon_details_ticonLeft
 a buffer containing the 1BPP icon for icon on left (can be NULL) More...
 
const char * text
 text (can be NULL) More...
 
const nbgl_icon_details_ticonRight
 
const char * subText
 sub text (can be NULL) More...
 
bool large
 set to true only for the main level of OS settings More...
 
uint8_t token
 the token that will be used as argument of the callback More...
 
bool inactive
 if set to true, the bar is grayed-out and cannot be touched More...
 
bool centered
 DEPRECATED, not used. More...
 

Detailed Description

This structure contains info to build a clickable "bar" with a text and an icon.

Definition at line 197 of file nbgl_layout.h.

Member Data Documentation

◆ centered

bool nbgl_layoutBar_t::centered

DEPRECATED, not used.

Definition at line 207 of file nbgl_layout.h.

◆ iconLeft

const nbgl_icon_details_t* nbgl_layoutBar_t::iconLeft

a buffer containing the 1BPP icon for icon on left (can be NULL)

Definition at line 199 of file nbgl_layout.h.

◆ iconRight

const nbgl_icon_details_t* nbgl_layoutBar_t::iconRight

a buffer containing the 1BPP icon for icon 2 (can be NULL). Dimensions must be the same as iconLeft

Definition at line 201 of file nbgl_layout.h.

◆ inactive

bool nbgl_layoutBar_t::inactive

if set to true, the bar is grayed-out and cannot be touched

Definition at line 206 of file nbgl_layout.h.

◆ large

bool nbgl_layoutBar_t::large

set to true only for the main level of OS settings

Definition at line 204 of file nbgl_layout.h.

◆ subText

const char* nbgl_layoutBar_t::subText

sub text (can be NULL)

Definition at line 203 of file nbgl_layout.h.

◆ text

const char* nbgl_layoutBar_t::text

text (can be NULL)

Definition at line 200 of file nbgl_layout.h.

◆ token

uint8_t nbgl_layoutBar_t::token

the token that will be used as argument of the callback

Definition at line 205 of file nbgl_layout.h.


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