Browse code

Replace font handling, add new watch face, add calendar. More watchfaces, make calendar interactive and start rearranging button functions

Dario Rodriguez authored on 17/12/2013 22:59:59
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,24 @@
1
+/*
2
+ * dayslib.h
3
+ *
4
+ * Small library to handle dates. The algorithms are mostly from Pascal's SWAG.
5
+ *
6
+ * Header file.
7
+ * 
8
+ * History:
9
+ *      15/09/06 Creation from the .c file.
10
+ *
11
+ * Author: Dario Rodriguez dario@softhome.net
12
+ * This code is dual licensed under the terms of the GNU LGPL/3-clause BSD.
13
+ */
14
+
15
+#ifndef DAYSLIB_H
16
+#define DAYSLIB_H
17
+
18
+/* Function prototypes */
19
+int yday2mday(int year, int yday, int *month, int *day);
20
+int mday2yday(int year, int month, int day, int *yday);
21
+int yday2wday(int year, int yday, int *wday);
22
+int *GetYearDays(int year);
23
+
24
+#endif