summaryrefslogtreecommitdiff
path: root/glitchyclock.c
diff options
context:
space:
mode:
Diffstat (limited to 'glitchyclock.c')
-rw-r--r--glitchyclock.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/glitchyclock.c b/glitchyclock.c
index 6d366d6..c71cb59 100644
--- a/glitchyclock.c
+++ b/glitchyclock.c
@@ -88,7 +88,7 @@ static gboolean draw_sig(GtkWidget *widget, cairo_t *cr, struct glitchyclock *gc
minutes = (seconds/60 + glitch_minutes) % 60;
snprintf(timestr, 63, "%02i:%02i", hours, minutes);
}
- pango_layout_set_text(layout, timestr, -1);
+ pango_layout_set_text(layout, "88:88", -1);
pango_cairo_update_layout(cr, layout);
pango_layout_get_size(layout, &lw, &lh);
@@ -103,7 +103,11 @@ static gboolean draw_sig(GtkWidget *widget, cairo_t *cr, struct glitchyclock *gc
cairo_translate(cr, (w-lw)/2.0, h-lh);
pango_cairo_update_layout(cr, layout);
- cairo_set_source_rgb(cr, 1.0, 0.0, 0.0);
+ cairo_set_source_rgb(cr, 0.04, 0.0, 0.0);
+ pango_cairo_show_layout(cr, layout);
+
+ pango_layout_set_text(layout, timestr, -1);
+ cairo_set_source_rgb(cr, 0.95, 0.0, 0.05);
pango_cairo_show_layout(cr, layout);
return FALSE;