BeRTOS
|
Edit bool widget (implementation). More...
Go to the source code of this file.
Functions | |
void | editbool_init (DEditBool *e, dpos_t pos, dpos_t size, dcontext_t *context, bool *value, const char *true_string, const char *false_string) |
Init widget. | |
void | editbool_update (DEditBool *e, dtag_t tag, dval_t _val) |
Handle the messages (edit the bool). | |
void | editbool_draw (DEditBool *e) |
Draw the string on the context. |
Edit bool widget (implementation).
This widget handles boolean editing. The boolean value will be displayed using two strings: one when the bool is false and one when it's true.
Definition in file editbool.c.