Muteki
EABI code execution on Besta® RTOS devices.
Loading...
Searching...
No Matches
progressbar.h File Reference

Progress bar widget type definition. More...

#include "framework.h"

Go to the source code of this file.

Data Structures

struct  ui_progressbar_s
 Progress bar widget struct. More...

Typedefs

typedef struct ui_progressbar_s ui_progressbar_t
 Progress bar widget type.

Enumerations

enum  ui_progressbar_flag_e { UI_PROGRESSBAR_FLAG_NONE = 0x0000 , UI_PROGRESSBAR_FLAG_SHOW_PERCENT = 0x0001 , UI_PROGRESSBAR_FLAG_SEGMENTED = 0x0004 , UI_PROGRESSBAR_FLAG_GRADIENT = 0x0010 }
 Progress bar style flags. More...

Detailed Description

Progress bar widget type definition.

Enumeration Type Documentation

◆ ui_progressbar_flag_e

Progress bar style flags.

Enumerator
UI_PROGRESSBAR_FLAG_NONE 

Default look (flat, no percent label).

UI_PROGRESSBAR_FLAG_SHOW_PERCENT 

Add a percent label in the middle of the progress bar.

UI_PROGRESSBAR_FLAG_SEGMENTED 

Segmented mode.

UI_PROGRESSBAR_FLAG_GRADIENT 

Add a gradient texture (white -> widget fg color) to the progress bar.

Note
This does nothing if the progress bar is in segmented mode.