Graphical Widget toolkit.
Copyright (c) 2014-2018 Microchip Technology Inc. and its subsidiaries.
Macros | |
Progress bar orientation configuration options. | |
For use with the option parameter of wtk_progress_bar_create | |
#define | WTK_PROGRESS_BAR_HORIZONTAL (0 << 0) |
Progress bar is horizontally oriented. More... | |
#define | WTK_PROGRESS_BAR_VERTICAL (1 << 0) |
Progress bar is vertically oriented. More... | |
Progress bar widget invert configuration options. | |
For use with the option parameter of wtk_progress_bar_create | |
#define | WTK_PROGRESS_BAR_INVERT (1 << 1) |
Progress bar is inverted. More... | |
Functions | |
struct win_window * | wtk_progress_bar_as_child (struct wtk_progress_bar *bar) |
Get pointer to progress bar window. 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... | |
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 color1, gfx_color_t color2) |
Set new progress bar colors. More... | |
bool | wtk_progress_bar_set_value (struct wtk_progress_bar *bar, uint8_t value) |
Set new progress bar value. More... | |