summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorguillaume <guillaume>2007-01-28 17:42:35 +0000
committerguillaume <guillaume>2007-01-28 17:42:35 +0000
commit9bd80419fd5d72b91a29bd341ecedbe45cb18e66 (patch)
tree300751c89e80f4d2a318b06b27e6382d54b0e8ac
parent026f4c6d51cb640c107ba85ec98af151f7d1e757 (diff)
downloadberyl-desktop-manager-9bd80419fd5d72b91a29bd341ecedbe45cb18e66.tar.gz
beryl-desktop-manager-9bd80419fd5d72b91a29bd341ecedbe45cb18e66.tar.bz2
bdm: update authors, add pango font infos to BDMText
-rw-r--r--src/bdm.c3
-rw-r--r--src/bdm.h10
2 files changed, 11 insertions, 2 deletions
diff --git a/src/bdm.c b/src/bdm.c
index 7957a68..5549f8f 100644
--- a/src/bdm.c
+++ b/src/bdm.c
@@ -1,7 +1,8 @@
/*
* Copyright: Robert Carr < racarr@beryl-project.org > GPLv2 and all that other stuff will add a real license in a bit
* Authors: Robert Carr <racarr@beryl-project.org>
-* Guillaume Seguin <iXce>
+* Guillaume Seguin <ixce@beryl-project.org>
+* Quinn Storm <quinn@beryl-project.org>
*/
#include <string.h>
diff --git a/src/bdm.h b/src/bdm.h
index 6c2c07a..dc8cf82 100644
--- a/src/bdm.h
+++ b/src/bdm.h
@@ -13,6 +13,10 @@
b = malloc(sizeof(a));\
memset((b),0,sizeof(a));
+#define TEXT_STYLE_NORMAL (1 << 0)
+#define TEXT_STYLE_BOLD (1 << 1)
+#define TEXT_STYLE_ITALIC (1 << 2)
+
typedef enum
{
WALLPAPER_TYPE_PIXBUF,
@@ -95,7 +99,11 @@ struct _BDMText
char * text;
BDMWidget * widget;
- // Add font information, will use pango
+
+ char *family;
+ int size;
+ unsigned short color[4];
+ unsigned int style;
} ;
typedef struct _BDMEvent