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

struct to represent a progress bar (PROGRESS_BAR type) More...

#include <nbgl_obj.h>

Collaboration diagram for nbgl_progress_bar_s:
Collaboration graph
[legend]

Public Attributes

nbgl_obj_t obj
 
bool withBorder
 if set to true, a border in black surround the whole object More...
 
uint8_t state
 state of the progress, in % (from 0 to 100). More...
 
bool partialRedraw
 set to true to redraw only partially the object (update state). More...
 
uint16_t previousWidth
 
color_t foregroundColor
 color of the inner progress bar and border (if applicable) More...
 

Detailed Description

struct to represent a progress bar (PROGRESS_BAR type)

Note
if withBorder, the stroke of the border is fixed (3 pixels)

Definition at line 349 of file nbgl_obj.h.

Member Data Documentation

◆ foregroundColor

color_t nbgl_progress_bar_s::foregroundColor

color of the inner progress bar and border (if applicable)

Definition at line 355 of file nbgl_obj.h.

◆ obj

nbgl_obj_t nbgl_progress_bar_s::obj

Definition at line 350 of file nbgl_obj.h.

◆ partialRedraw

bool nbgl_progress_bar_s::partialRedraw

set to true to redraw only partially the object (update state).

Definition at line 353 of file nbgl_obj.h.

◆ previousWidth

uint16_t nbgl_progress_bar_s::previousWidth

Definition at line 354 of file nbgl_obj.h.

◆ state

uint8_t nbgl_progress_bar_s::state

state of the progress, in % (from 0 to 100).

Definition at line 352 of file nbgl_obj.h.

◆ withBorder

bool nbgl_progress_bar_s::withBorder

if set to true, a border in black surround the whole object

Definition at line 351 of file nbgl_obj.h.


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