summaryrefslogtreecommitdiff
path: root/src/render.c
diff options
context:
space:
mode:
authorLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-09-25 09:55:46 +0200
committerLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-09-25 09:55:46 +0200
commit74a155389c20d4e546050c756b7fa94e445e1c1d (patch)
treea629f8a0c93eb1eaafcd361a79a30a68fc66d465 /src/render.c
parent3a85053e4e72e7bd19790032e5851d2a6c785e9e (diff)
downloadwlclock-74a155389c20d4e546050c756b7fa94e445e1c1d.tar.gz
wlclock-74a155389c20d4e546050c756b7fa94e445e1c1d.tar.bz2
Implement all configuration options and signal handling
Diffstat (limited to 'src/render.c')
-rw-r--r--src/render.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render.c b/src/render.c
index bd3d91e..2b3d626 100644
--- a/src/render.c
+++ b/src/render.c
@@ -62,7 +62,6 @@ static void draw_background (cairo_t *cairo,
}
else
{
- fputs("here\n", stderr);
/* Calculate dimensions of center. */
uint32_t cx = x + border_left,
cy = y + border_top,
@@ -146,7 +145,8 @@ void render_surface_frame (struct Wlclock_surface *surface)
clock->radius_bottom_left, clock->radius_bottom_right,
scale, &clock->background_colour, &clock->border_colour);
- // TODO draw clock stuff
+ // TODO draw clock face
+ // TODO draw clock hands to subsurface
wl_surface_set_buffer_scale(surface->surface, scale);
wl_surface_attach(surface->surface, surface->current_buffer->buffer, 0, 0);