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

This structure contains info to build a centered (vertically and horizontally) area, with many fields (if NULL, not used): More...

#include <nbgl_content.h>

Collaboration diagram for nbgl_contentCenter_t:
Collaboration graph
[legend]

Public Attributes

nbgl_contentIllustrationType_t illustrType
 
const nbgl_icon_details_ticon
 the icon (can be null) More...
 
const nbgl_animation_tanimation
 the animation (can be null), used if illustrType is ANIM_ILLUSTRATION More...
 
uint16_t animOffsetX
 horizontal offset of animation in icon if integrated (but usually 0) More...
 
uint16_t animOffsetY
 vertical offset of animation in icon if integrated (but usually 0) More...
 
const char * title
 title in black large (can be null) More...
 
const char * smallTitle
 sub-title in black small bold case (can be null) More...
 
const char * description
 description in black small regular case (can be null) More...
 
const char * subText
 sub-text in dark gray regular small case More...
 
uint16_t iconHug
 vertical margin to apply on top and bottom of the icon More...
 
bool padding
 if true, apply a padding of 40px at the bottom More...
 

Detailed Description

This structure contains info to build a centered (vertically and horizontally) area, with many fields (if NULL, not used):

Definition at line 90 of file nbgl_content.h.

Member Data Documentation

◆ animation

const nbgl_animation_t* nbgl_contentCenter_t::animation

the animation (can be null), used if illustrType is ANIM_ILLUSTRATION

Definition at line 94 of file nbgl_content.h.

◆ animOffsetX

uint16_t nbgl_contentCenter_t::animOffsetX

horizontal offset of animation in icon if integrated (but usually 0)

Definition at line 95 of file nbgl_content.h.

◆ animOffsetY

uint16_t nbgl_contentCenter_t::animOffsetY

vertical offset of animation in icon if integrated (but usually 0)

Definition at line 96 of file nbgl_content.h.

◆ description

const char* nbgl_contentCenter_t::description

description in black small regular case (can be null)

Definition at line 99 of file nbgl_content.h.

◆ icon

const nbgl_icon_details_t* nbgl_contentCenter_t::icon

the icon (can be null)

Definition at line 92 of file nbgl_content.h.

◆ iconHug

uint16_t nbgl_contentCenter_t::iconHug

vertical margin to apply on top and bottom of the icon

Definition at line 101 of file nbgl_content.h.

◆ illustrType

nbgl_contentIllustrationType_t nbgl_contentCenter_t::illustrType

Definition at line 91 of file nbgl_content.h.

◆ padding

bool nbgl_contentCenter_t::padding

if true, apply a padding of 40px at the bottom

Definition at line 102 of file nbgl_content.h.

◆ smallTitle

const char* nbgl_contentCenter_t::smallTitle

sub-title in black small bold case (can be null)

Definition at line 98 of file nbgl_content.h.

◆ subText

const char* nbgl_contentCenter_t::subText

sub-text in dark gray regular small case

Definition at line 100 of file nbgl_content.h.

◆ title

const char* nbgl_contentCenter_t::title

title in black large (can be null)

Definition at line 97 of file nbgl_content.h.


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