summaryrefslogtreecommitdiff
path: root/src/wlclock.h
diff options
context:
space:
mode:
authorLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-09-25 19:53:04 +0200
committerLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-09-25 19:53:04 +0200
commite543523be31d85846521ee447357f0afdb0b46d2 (patch)
tree5d332b0b448cc5a01a42a8f5478edfa60dc74b89 /src/wlclock.h
parentaf81637f64ba5112e9da0db79f9eadd1934308eb (diff)
downloadwlclock-e543523be31d85846521ee447357f0afdb0b46d2.tar.gz
wlclock-e543523be31d85846521ee447357f0afdb0b46d2.tar.bz2
Add "lines" clock hand style
Diffstat (limited to '')
-rw-r--r--src/wlclock.h7
1 files changed, 7 insertions, 0 deletions
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;