4 * Copyright 2005 Develer S.r.l. (http://www.develer.com/)
9 * \brief Widget (implementation).
10 * A widget is typically a graphic object on a device.
11 * Its proproperties are the position, the size and a context on which the widget is drawn.
14 * \author Bernardo Innocenti <bernie@develer.com>
15 * \author Francesco Sacchi <batt@ðeveler.com>
20 *#* Revision 1.1 2005/11/04 18:26:38 bernie
21 *#* Import into DevLib.
23 *#* Revision 1.3 2005/06/06 11:04:12 batt
24 *#* Add some comments.
26 *#* Revision 1.2 2005/05/26 14:44:10 batt
27 *#* Abstract widget from layer: use context.
29 *#* Revision 1.1 2005/05/26 08:32:53 batt
30 *#* Add new Develer widget system :)
34 #include <dt/dwidget.h>
35 #include <dt/dnotifier.h>
38 * Init the widget of \a pos and \a size on the drawing \a context.
40 void widget_init(DWidget *w, dpos_t pos, dpos_t size, dcontext_t *context)
43 notifier_init(&w->notifier);