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.2 2006/07/19 12:56:26 bernie
19 *#* Convert to new Doxygen style.
21 *#* Revision 1.1 2005/11/04 18:26:38 bernie
22 *#* Import into DevLib.
24 *#* Revision 1.3 2005/06/06 11:04:12 batt
25 *#* Add some comments.
27 *#* Revision 1.2 2005/05/26 14:44:10 batt
28 *#* Abstract widget from layer: use context.
30 *#* Revision 1.1 2005/05/26 08:32:53 batt
31 *#* Add new Develer widget system :)
38 #include <dt/dnotifier.h>
39 #include <cfg/compiler.h>
41 /** Widget position. */
42 typedef uint8_t dpos_t;
44 /** Widget drawing context. */
45 typedef iptr_t dcontext_t;
47 /** Widget definition. */
48 typedef struct DWidget
58 void widget_init(DWidget *w, dpos_t pos, dpos_t size, dcontext_t *context);