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

This structure contains info to build a centered (vertically and horizontally) area, with a QR Code, a possible text (black, bold) under it, and a possible sub-text (black, regular) under it. More...

#include <nbgl_layout.h>

Public Attributes

const char * url
 URL for QR code.
 
const char * text1
 first text (can be null)
 
const char * text2
 second text (can be null)
 
int16_t offsetY
 vertical shift to apply to this info (if > 0, shift to bottom)
 
bool centered
 if set to true, center vertically
 
bool largeText1
 if set to true, use 32px font for text1
 

Detailed Description

This structure contains info to build a centered (vertically and horizontally) area, with a QR Code, a possible text (black, bold) under it, and a possible sub-text (black, regular) under it.

Definition at line 287 of file nbgl_layout.h.

Member Data Documentation

◆ centered

bool nbgl_layoutQRCode_t::centered

if set to true, center vertically

Definition at line 292 of file nbgl_layout.h.

◆ largeText1

bool nbgl_layoutQRCode_t::largeText1

if set to true, use 32px font for text1

Definition at line 293 of file nbgl_layout.h.

◆ offsetY

int16_t nbgl_layoutQRCode_t::offsetY

vertical shift to apply to this info (if > 0, shift to bottom)

Definition at line 291 of file nbgl_layout.h.

◆ text1

const char* nbgl_layoutQRCode_t::text1

first text (can be null)

Definition at line 289 of file nbgl_layout.h.

◆ text2

const char* nbgl_layoutQRCode_t::text2

second text (can be null)

Definition at line 290 of file nbgl_layout.h.

◆ url

const char* nbgl_layoutQRCode_t::url

URL for QR code.

Definition at line 288 of file nbgl_layout.h.


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