4 * Copyright 2005 Develer S.r.l. (http://www.develer.com/)
9 * \brief Widget (interface).
12 * \author Bernardo Innocenti <bernie@develer.com>
13 * \author Francesco Sacchi <batt@develer.com>
18 *#* Revision 1.1 2005/11/04 18:26:38 bernie
19 *#* Import into DevLib.
21 *#* Revision 1.3 2005/06/06 11:04:12 batt
22 *#* Add some comments.
24 *#* Revision 1.2 2005/05/26 14:44:10 batt
25 *#* Abstract widget from layer: use context.
27 *#* Revision 1.1 2005/05/26 08:32:53 batt
28 *#* Add new Develer widget system :)
35 #include <dt/dnotifier.h>
36 #include <cfg/compiler.h>
38 /*! Widget position. */
39 typedef uint8_t dpos_t;
41 /*! Widget drawing context. */
42 typedef iptr_t dcontext_t;
44 /*! Widget definition. */
45 typedef struct DWidget
55 void widget_init(DWidget *w, dpos_t pos, dpos_t size, dcontext_t *context);