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().
Data Fields | |
gfx_color_t | background_color |
Color for progress bar background. More... | |
struct win_window * | container |
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 |
Container window of progress bar.
Referenced by wtk_progress_bar_as_child(), wtk_progress_bar_create(), wtk_progress_bar_handler(), and wtk_progress_bar_set_value().
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 |
Configuration of orientation and behavior.
Referenced by wtk_progress_bar_create(), wtk_progress_bar_handler(), wtk_progress_bar_set_colors(), and wtk_progress_bar_set_value().
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 |
Value of progress bar.
Referenced by wtk_progress_bar_create(), wtk_progress_bar_get_value(), and wtk_progress_bar_set_value().