BeRTOS
dwidget.h
Go to the documentation of this file.
00001 
00039 #ifndef DT_DWIDGET_H
00040 #define DT_DWIDGET_H
00041 
00042 #include <dt/dnotifier.h>
00043 #include <cfg/compiler.h>
00044 
00046 typedef uint8_t dpos_t;
00047 
00049 typedef iptr_t dcontext_t;
00050 
00052 typedef struct DWidget
00053 {
00054     DNotifier notifier;
00055 
00056     dpos_t pos;
00057     dpos_t size;
00058     dcontext_t *context;
00059 } DWidget;
00060 
00061 
00062 void widget_init(DWidget *w, dpos_t pos, dpos_t size, dcontext_t *context);
00063 
00064 #endif