summaryrefslogtreecommitdiff
path: root/src/wlclock.h
diff options
context:
space:
mode:
authorLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-09-28 02:16:37 +0200
committerLeon Henrik Plickat <leonhenrik.plickat@stud.uni-goettingen.de>2020-09-28 02:36:04 +0200
commitaffa688b44a522948ece0962cea5e14c79f65ba7 (patch)
tree45f2814fb3e6a306fa519414dcb1aee395765e60 /src/wlclock.h
parente7adc6269c8a054d5a4e1139ccc6b667407b108e (diff)
downloadwlclock-affa688b44a522948ece0962cea5e14c79f65ba7.tar.gz
wlclock-affa688b44a522948ece0962cea5e14c79f65ba7.tar.bz2
Change face/hand line width configuration
Also decided there will be no additional hand styles, so removed --hand-style option. Xclock like hands can be enabled by setting the hand width to 0 (default).
Diffstat (limited to 'src/wlclock.h')
-rw-r--r--src/wlclock.h9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/wlclock.h b/src/wlclock.h
index a2dd9ce..bf2c19e 100644
--- a/src/wlclock.h
+++ b/src/wlclock.h
@@ -10,12 +10,6 @@
#include"colour.h"
-enum Hand_style
-{
- STYLE_XCLOCK,
- STYLE_LINES
-};
-
struct Wlclock_dimensions
{
/* Width and height of entire surface (size + borders). */
@@ -47,14 +41,13 @@ struct Wlclock
enum zwlr_layer_shell_v1_layer layer;
struct Wlclock_dimensions dimensions;
char *namespace;
- int32_t face_line_size, hand_line_size;
+ int32_t marking_width, hand_width;
int32_t exclusive_zone;
int32_t border_top, border_right, border_bottom, border_left;
int32_t margin_top, margin_right, margin_bottom, margin_left;
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;