aboutsummaryrefslogtreecommitdiff
path: root/src/stylesheet.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stylesheet.c')
-rw-r--r--src/stylesheet.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c
index 323b3a4..a164029 100644
--- a/src/stylesheet.c
+++ b/src/stylesheet.c
@@ -570,6 +570,19 @@ void default_stylesheet(StyleSheet *ss)
sty->valign = V_CENTER;
sty->offset_x = +200.0;
sty->offset_y = -300.0;
+
+ ss->bgblocks = malloc(sizeof(struct bgblock));
+ ss->n_bgblocks = 1;
+ ss->bgblocks[0].type = BGBLOCK_GRADIENT_Y;
+ ss->bgblocks[0].min_x = 0.0;
+ ss->bgblocks[0].max_x = 1024.0;
+ ss->bgblocks[0].min_y = 0.0;
+ ss->bgblocks[0].max_y = 768.0;
+ ss->bgblocks[0].colour1 = strdup("#000000000000");
+ ss->bgblocks[0].alpha1 = 1.0;
+ ss->bgblocks[0].colour2 = strdup("#ffffffffffff");
+ ss->bgblocks[0].alpha2 = 1.0;
+
}