editbool.c File Reference
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. | |
Detailed Description
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/bertos_logo.png)