Microchip® Advanced Software Framework

wtk_progress_bar Struct Reference

Progress bar control struct.

Contains a pointer to the progress bar's containing window, and non-window information necessary for its operation. Structs of this type are created with wtk_progress_bar_create().

Note
Structure fields are only internally accessible. Only pointers to these structures are needed externally.

Data Fields

gfx_color_t background_color
 Color for progress bar background. More...
 
struct win_windowcontainer
 Container window of progress bar. More...
 
gfx_color_t fill_color
 Color for progress bar fill. More...
 
uint8_t maximum
 Maximum value of progress bar. More...
 
uint8_t option
 Configuration of orientation and behavior. More...
 
uint8_t position
 End position of progress bar. More...
 
uint8_t value
 Value of progress bar. More...
 

gfx_color_t wtk_progress_bar::background_color

Color for progress bar background.

Referenced by wtk_progress_bar_create(), wtk_progress_bar_handler(), and wtk_progress_bar_set_colors().

struct win_window* wtk_progress_bar::container
gfx_color_t wtk_progress_bar::fill_color

Color for progress bar fill.

Referenced by wtk_progress_bar_create(), wtk_progress_bar_handler(), and wtk_progress_bar_set_colors().

uint8_t wtk_progress_bar::maximum

Maximum value of progress bar.

Referenced by wtk_progress_bar_create(), and wtk_progress_bar_set_value().

uint8_t wtk_progress_bar::option
uint8_t wtk_progress_bar::position

End position of progress bar.

Referenced by wtk_progress_bar_create(), wtk_progress_bar_handler(), and wtk_progress_bar_set_value().

uint8_t wtk_progress_bar::value