summaryrefslogtreecommitdiff
path: root/src/bdm.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bdm.h')
-rw-r--r--src/bdm.h20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/bdm.h b/src/bdm.h
index 8441a13..b72e4e0 100644
--- a/src/bdm.h
+++ b/src/bdm.h
@@ -123,10 +123,7 @@ typedef int (*BDMWidgetInitProc) (void);
typedef int (*BDMWidgetFiniProc) (void);
typedef int (*BDMWidgetUpdateProc) (void);
-typedef int (*BDMWidgetNumImagesProc) (void);
typedef BDMImage * (*BDMWidgetGetImagesProc) (void);
-
-typedef int (*BDMWidgetNumTextProc) (void);
typedef BDMText * (*BDMWidgetGetTextProc) (void);
typedef int (*BDMWidgetHandleEventProc) (BDMEvent *event);
@@ -137,7 +134,7 @@ struct _BDMWidget
{
BDMPaintAttribs * attrib;
BDMImage * images;
- BDMText * text;
+ BDMText * texts;
BDMWidget * next;
BDMWidget * prev;
@@ -145,25 +142,14 @@ struct _BDMWidget
BDMWidgetFiniProc finiWidget;
BDMWidgetUpdateProc updateWidget;
- BDMWidgetNumImagesProc numImages;
BDMWidgetGetImagesProc getImages;
-
- BDMWidgetNumTextProc numText;
- BDMWidgetGetTextProc getText;
+ BDMWidgetGetTextProc getTexts;
BDMWidgetHandleEventProc handleEvent;
BDMWidgetSetBDMWidgetProc setBDMWidget;
};
-typedef struct _BDMWidgetList
-{
- BDMWidget * head;
- BDMWidget * tail;
- BDMWidget * next;
- BDMWidget * prev;
-} BDMWidgetList;
-
-
+GSList * Widgets = NULL;
GSList * Wallpapers=NULL;