summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorracarr <racarr>2007-01-28 18:41:20 +0000
committerracarr <racarr>2007-01-28 18:41:20 +0000
commit926f30587af06e23da37bc3b9b7f09211fe4e4e6 (patch)
treeb519731e5125cf1b0ec9a8ed4b0e5671a0483e40
parent2ea79d627c118e3d4364a8eab6eeeb243ad8eff2 (diff)
downloadberyl-desktop-manager-926f30587af06e23da37bc3b9b7f09211fe4e4e6.tar.gz
beryl-desktop-manager-926f30587af06e23da37bc3b9b7f09211fe4e4e6.tar.bz2
Add BDMWidgetList to beginning of bdm.c and struct in bdm.h, move yrot
-rw-r--r--src/bdm.c1
-rw-r--r--src/bdm.h11
2 files changed, 10 insertions, 2 deletions
diff --git a/src/bdm.c b/src/bdm.c
index f7aeabe..fa8e16d 100644
--- a/src/bdm.c
+++ b/src/bdm.c
@@ -20,6 +20,7 @@
#include <X11/Xlib.h>
#include <X11/Xatom.h>
+BDMWidgetList widgetList;
static void renderImage(cairo_t * cr, BDMImage * image, ScreenArea * area)
{
diff --git a/src/bdm.h b/src/bdm.h
index dc8cf82..c5f705b 100644
--- a/src/bdm.h
+++ b/src/bdm.h
@@ -71,8 +71,7 @@ typedef struct _BDMPaintAttribs
int x;
int y;
- int xrot;
- int yrot;
+ double xrot;
int alpha;
} BDMPaintAttribs;
@@ -145,6 +144,14 @@ struct _BDMWidget
};
+typedef struct _BDMWidgetList
+{
+ BDMWidget * head;
+ BDMWidget * tail;
+ BDMWidget * next;
+ BDMWidget * prev;
+} BDMWidgetList;
+
GSList * Wallpapers=NULL;