aboutsummaryrefslogtreecommitdiff
path: root/src/stylesheet.c
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2011-09-26 22:58:38 +0200
committerThomas White <taw@bitwiz.org.uk>2011-09-26 22:58:38 +0200
commitf97b36427f7607dd26de5bf626ba6cc1d5e8a6fb (patch)
tree6e4526acb8a0b6d38d5e7d1c9074b723cad5e031 /src/stylesheet.c
parent45187bc7cb2d63b0b252c6f90598947052b3d467 (diff)
Add a FIXME, and rationise the style elements so far
Diffstat (limited to 'src/stylesheet.c')
-rw-r--r--src/stylesheet.c67
1 files changed, 40 insertions, 27 deletions
diff --git a/src/stylesheet.c b/src/stylesheet.c
index 1e5b77b..20d01c4 100644
--- a/src/stylesheet.c
+++ b/src/stylesheet.c
@@ -467,43 +467,56 @@ static void default_stylesheet(StyleSheet *ss)
sty->offset_y = 0.0; /* irrelevant */
sty = new_style(ss, "Slide credit");
- sty->font = strdup("Sans 30");
- sty->colour = strdup("#000000000000"); /* Black */
+ sty->font = strdup("Sans 14");
+ sty->colour = strdup("#777777777777"); /* Grey */
sty->alpha = 1.0;
sty->margin_left = 20.0;
sty->margin_right = 20.0;
sty->margin_top = 20.0;
- sty->margin_bottom = 20.0;
- sty->halign = J_CENTER;
- sty->valign = V_CENTER;
- sty->offset_x = +200.0;
- sty->offset_y = -300.0;
+ sty->margin_bottom = 30.0;
+ sty->halign = J_RIGHT;
+ sty->valign = V_BOTTOM;
+ sty->offset_x = 0.0;
+ sty->offset_y = 0.0;
sty = new_style(ss, "Slide date");
- sty->font = strdup("Sans 30");
- sty->colour = strdup("#000000000000"); /* Black */
+ sty->font = strdup("Sans 12");
+ sty->colour = strdup("#999999999999"); /* Grey */
sty->alpha = 1.0;
- sty->margin_left = 20.0;
- sty->margin_right = 20.0;
- sty->margin_top = 20.0;
- sty->margin_bottom = 20.0;
- sty->halign = J_CENTER;
- sty->valign = V_CENTER;
- sty->offset_x = +200.0;
- sty->offset_y = -300.0;
+ sty->margin_left = 600.0;
+ sty->margin_right = 100.0;
+ sty->margin_top = 600.0;
+ sty->margin_bottom = 5.0;
+ sty->halign = J_RIGHT;
+ sty->valign = V_BOTTOM;
+ sty->offset_x = 0.0;
+ sty->offset_y = 0.0;
sty = new_style(ss, "Slide number");
- sty->font = strdup("Sans 30");
- sty->colour = strdup("#000000000000"); /* Black */
+ sty->font = strdup("Sans 12");
+ sty->colour = strdup("#999999999999"); /* Grey */
sty->alpha = 1.0;
- sty->margin_left = 20.0;
- sty->margin_right = 20.0;
- sty->margin_top = 20.0;
- sty->margin_bottom = 20.0;
- sty->halign = J_CENTER;
- sty->valign = V_CENTER;
- sty->offset_x = +200.0;
- sty->offset_y = -300.0;
+ sty->margin_left = 600.0;
+ sty->margin_right = 5.0;
+ sty->margin_top = 600.0;
+ sty->margin_bottom = 5.0;
+ sty->halign = J_RIGHT;
+ sty->valign = V_BOTTOM;
+ sty->offset_x = 0.0;
+ sty->offset_y = 0.0;
+
+ sty = new_style(ss, "Presentation title on slide");
+ sty->font = strdup("Sans 12");
+ sty->colour = strdup("#999999999999"); /* Grey */
+ sty->alpha = 1.0;
+ sty->margin_left = 5.0;
+ sty->margin_right = 600.0;
+ sty->margin_top = 600.0;
+ sty->margin_bottom = 5.0;
+ sty->halign = J_LEFT;
+ sty->valign = V_BOTTOM;
+ sty->offset_x = 0.0;
+ sty->offset_y = 0.0;
sty = new_style(ss, "Presentation title");
sty->font = strdup("Sans 50");