4 * Copyright 2005 Develer S.r.l. (http://www.develer.com/)
9 * \brief Edit bool widget (interface).
12 * \author Francesco Sacchi <batt@develer.com>
17 *#* Revision 1.1 2005/11/04 18:26:38 bernie
18 *#* Import into DevLib.
20 *#* Revision 1.2 2005/06/06 11:04:12 batt
21 *#* Add some comments.
23 *#* Revision 1.1 2005/05/31 11:11:37 batt
24 *#* Edit bool: first release.
31 #include <dt/dwidget.h>
34 typedef struct DEditBool
38 const char *true_string;
39 const char *false_string;
40 void (*draw)(struct DEditBool *);
43 void editbool_init(DEditBool *e, dpos_t pos, dpos_t size, dcontext_t *context, bool *val, const char *true_str, const char *false_str);
44 void editbool_update(DEditBool *e, dtag_t tag, dval_t val);
45 void editbool_draw(DEditBool *e);