aboutsummaryrefslogtreecommitdiff
path: root/src/draw.h
diff options
context:
space:
mode:
authorfoswret2026-05-02 13:01:10 -0500
committerfoswret2026-05-02 13:01:10 -0500
commit03ed4535c8489700058fb283837752035f3cf83d (patch)
tree731fc9b8959770c1c1e1d194cb37972f098365cf /src/draw.h
parent7540a10d9a2d377191b64a29e794d4b58f320347 (diff)
months start on correct first day of the month, no <time.h> needed
Diffstat (limited to 'src/draw.h')
-rw-r--r--src/draw.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/draw.h b/src/draw.h
index ed600c8..3e7c1b3 100644
--- a/src/draw.h
+++ b/src/draw.h
@@ -22,6 +22,6 @@ int print_dimensions(struct dimensions *d);
//int draw_month_grid (cairo_t *c, struct dimensions *d);
-int draw_month (cairo_t *c, cairo_t *cd, cairo_surface_t *s, struct dimensions *d, int days_in_month);
-
+int draw_month (cairo_t *c, cairo_t *cd, cairo_surface_t *s, struct dimensions *d, int days_in_month, int start_day);
+int day_of_week (int d, int m, int y);