From e543523be31d85846521ee447357f0afdb0b46d2 Mon Sep 17 00:00:00 2001 From: Leon Henrik Plickat Date: Fri, 25 Sep 2020 19:53:04 +0200 Subject: Add "lines" clock hand style --- src/wlclock.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/wlclock.h') diff --git a/src/wlclock.h b/src/wlclock.h index 98fa711..48a2147 100644 --- a/src/wlclock.h +++ b/src/wlclock.h @@ -10,6 +10,12 @@ #include"colour.h" +enum Hand_style +{ + STYLE_XCLOCK, + STYLE_LINES +}; + struct Wlclock_dimensions { /* Width and height of entire surface (size + borders). */ @@ -50,6 +56,7 @@ struct Wlclock int32_t radius_top_left, radius_top_right, radius_bottom_left, radius_bottom_right; int32_t anchor; bool input, snap; + enum Hand_style hand_style; struct Wlclock_colour background_colour; struct Wlclock_colour border_colour; -- cgit v1.2.3