66 #define CHECKBOX_WIN_FG_COLOR RGB(32,161,34)
bool gui_checkbox_add(CHECKBOX_STRUCT *checkbox)
Definition: checkbox.c:51
void gui_checkbox_update(CHECKBOX_STRUCT *checkbox)
Definition: checkbox.c:102
void gui_checkbox_remove(CHECKBOX_STRUCT *checkbox)
Definition: checkbox.c:96
bool checked
A boolean which indicates whether or not the checkbox is currently checked.
Definition: checkbox.h:37
Definition: checkbox.h:34
TOUCH_AREA_STRUCT base
Basic geometry of the Checkbox. You only need to set the x1, y1, x2, y2 members of this struct...
Definition: checkbox.h:35
void(* CHECKBOX_CALLBACK)(void *checkbox, bool checked)
Definition: checkbox.h:29
uint16_t fgcolor
The 16-bit color of the tickmark.
Definition: checkbox.h:36
void gui_checkbox_redraw(CHECKBOX_STRUCT *checkbox)
Definition: checkbox.c:85
CHECKBOX_CALLBACK callback
Callback which is executed when the checkbox changes state.
Definition: checkbox.h:38