editbool.c File Reference
Edit bool widget (implementation). More...
#include "editbool.h"#include <dt/dtag.h>#include <drv/lcd_text.h>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.
- Version:
- Id
- editbool.c 2506 2009-04-15 08:29:07Z duplo
Definition in file editbool.c.
