dwidget.h
Go to the documentation of this file.00001 00041 /*#* 00042 *#* $Log$ 00043 *#* Revision 1.2 2006/07/19 12:56:26 bernie 00044 *#* Convert to new Doxygen style. 00045 *#* 00046 *#* Revision 1.1 2005/11/04 18:26:38 bernie 00047 *#* Import into DevLib. 00048 *#* 00049 *#* Revision 1.3 2005/06/06 11:04:12 batt 00050 *#* Add some comments. 00051 *#* 00052 *#* Revision 1.2 2005/05/26 14:44:10 batt 00053 *#* Abstract widget from layer: use context. 00054 *#* 00055 *#* Revision 1.1 2005/05/26 08:32:53 batt 00056 *#* Add new Develer widget system :) 00057 *#* 00058 *#*/ 00059 00060 #ifndef DT_DWIDGET_H 00061 #define DT_DWIDGET_H 00062 00063 #include <dt/dnotifier.h> 00064 #include <cfg/compiler.h> 00065 00067 typedef uint8_t dpos_t; 00068 00070 typedef iptr_t dcontext_t; 00071 00073 typedef struct DWidget 00074 { 00075 DNotifier notifier; 00076 00077 dpos_t pos; 00078 dpos_t size; 00079 dcontext_t *context; 00080 } DWidget; 00081 00082 00083 void widget_init(DWidget *w, dpos_t pos, dpos_t size, dcontext_t *context); 00084 00085 #endif
