X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=dt%2Feditbool.h;h=a339330d11024c7c377c0f1b8d44ddcba8b311eb;hb=HEAD;hp=3f723a32b49d274f3996a4139050df116c16eea9;hpb=77d2e9d82dc6d8dea26fe13eacaeb63554b97094;p=bertos.git diff --git a/dt/editbool.h b/dt/editbool.h deleted file mode 100755 index 3f723a32..00000000 --- a/dt/editbool.h +++ /dev/null @@ -1,48 +0,0 @@ -/*! - * \file - * - * - * \version $Id$ - * - * \brief Edit bool widget (interface). - * - * \version $Id$ - * \author Francesco Sacchi - */ - -/*#* - *#* $Log$ - *#* Revision 1.1 2005/11/04 18:26:38 bernie - *#* Import into DevLib. - *#* - *#* Revision 1.2 2005/06/06 11:04:12 batt - *#* Add some comments. - *#* - *#* Revision 1.1 2005/05/31 11:11:37 batt - *#* Edit bool: first release. - *#* - *#*/ - -#ifndef DT_EDITBOOL_H -#define DT_EDITBOOL_H - -#include
-#include
- -typedef struct DEditBool -{ - DWidget widget; - bool *value; - const char *true_string; - const char *false_string; - void (*draw)(struct DEditBool *); -} DEditBool; - -void editbool_init(DEditBool *e, dpos_t pos, dpos_t size, dcontext_t *context, bool *val, const char *true_str, const char *false_str); -void editbool_update(DEditBool *e, dtag_t tag, dval_t val); -void editbool_draw(DEditBool *e); - - -#endif