summaryrefslogtreecommitdiff
path: root/extras.h
diff options
context:
space:
mode:
authorSimeon Simeonov2020-12-10 23:57:33 +0100
committerSimeon Simeonov2020-12-10 23:57:33 +0100
commitb16438a23b237aa44fe9358a0b8954888bf81ea2 (patch)
tree9e0fcb3e8f3d4b1707bd702f2bf4429299d1e2e3 /extras.h
parent12a06184e733554bafc76e643b49067fcd758fc0 (diff)
Add support for counting to a specific calendar time (absolute time)
Diffstat (limited to 'extras.h')
-rw-r--r--extras.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/extras.h b/extras.h
index d4a353e..c78ffff 100644
--- a/extras.h
+++ b/extras.h
@@ -88,7 +88,6 @@ void i3lock_draw_elapsed_time(cairo_t *cr,
88 const uint32_t *resolution, 88 const uint32_t *resolution,
89 const time_t *now); 89 const time_t *now);
90 90
91
92void i3lock_draw_led_clock(cairo_t *cr, 91void i3lock_draw_led_clock(cairo_t *cr,
93 const i3lock_led_clock_t *lc, 92 const i3lock_led_clock_t *lc,
94 const uint32_t *resolution, 93 const uint32_t *resolution,
@@ -99,4 +98,9 @@ void i3lock_draw_string(cairo_t *cr,
99 const char *formatted_string, 98 const char *formatted_string,
100 const i3lock_elapsed_time_t *et, 99 const i3lock_elapsed_time_t *et,
101 const uint32_t *resolution); 100 const uint32_t *resolution);
101
102char * i3lock_format_elapsed_time(char *to,
103 const char *template,
104 int max_size,
105 int seconds);
102#endif 106#endif