Embedded SDK
Embedded SDK
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. More...
 
const char * text1
 first text (can be null) More...
 
const char * text2
 second text (can be null) More...
 
int16_t offsetY
 vertical shift to apply to this info (if > 0, shift to bottom) More...
 
bool centered
 if set to true, center vertically More...
 
bool largeText1
 if set to true, use 32px font for text1 More...
 

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 277 of file nbgl_layout.h.

Member Data Documentation

◆ centered

bool nbgl_layoutQRCode_t::centered

if set to true, center vertically

Definition at line 282 of file nbgl_layout.h.

◆ largeText1

bool nbgl_layoutQRCode_t::largeText1

if set to true, use 32px font for text1

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

◆ text1

const char* nbgl_layoutQRCode_t::text1

first text (can be null)

Definition at line 279 of file nbgl_layout.h.

◆ text2

const char* nbgl_layoutQRCode_t::text2

second text (can be null)

Definition at line 280 of file nbgl_layout.h.

◆ url

const char* nbgl_layoutQRCode_t::url

URL for QR code.

Definition at line 278 of file nbgl_layout.h.


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