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.2 2006/07/19 12:56:26 bernie
18 *#* Convert to new Doxygen style.
20 *#* Revision 1.1 2005/11/04 18:26:38 bernie
21 *#* Import into DevLib.
23 *#* Revision 1.2 2005/06/06 11:04:12 batt
24 *#* Add some comments.
26 *#* Revision 1.1 2005/05/31 11:11:37 batt
27 *#* Edit bool: first release.
34 #include <dt/dwidget.h>
37 typedef struct DEditBool
41 const char *true_string;
42 const char *false_string;
43 void (*draw)(struct DEditBool *);
46 void editbool_init(DEditBool *e, dpos_t pos, dpos_t size, dcontext_t *context, bool *val, const char *true_str, const char *false_str);
47 void editbool_update(DEditBool *e, dtag_t tag, dval_t val);
48 void editbool_draw(DEditBool *e);