Progress bar widget implementation.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Data Structures | |
struct | wtk_progress_bar |
Progress bar control struct. More... | |
Functions | |
struct win_window * | wtk_progress_bar_as_child (struct wtk_progress_bar *bar) |
Get pointer to progress bar window. More... | |
bool | wtk_progress_bar_set_value (struct wtk_progress_bar *bar, uint8_t value) |
Set new progress bar value. More... | |
uint8_t | wtk_progress_bar_get_value (struct wtk_progress_bar *bar) |
Get progress bar value. More... | |
void | wtk_progress_bar_set_colors (struct wtk_progress_bar *bar, gfx_color_t fill_color, gfx_color_t background_color) |
Set new progress bar colors. More... | |
static bool | wtk_progress_bar_handler (struct win_window *win, enum win_event_type type, void const *data) |
Progress bar event handler. More... | |
struct wtk_progress_bar * | wtk_progress_bar_create (struct win_window *parent, struct win_area const *area, uint8_t maximum, uint8_t value, gfx_color_t fill_color, gfx_color_t background_color, uint8_t option) |
Create a new progress bar widget. More... | |