aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/view-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/view-utils.h')
-rw-r--r--calendar/view-utils.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/calendar/view-utils.h b/calendar/view-utils.h
new file mode 100644
index 0000000000..c334bbd6d3
--- /dev/null
+++ b/calendar/view-utils.h
@@ -0,0 +1,26 @@
+/* Miscellaneous utility functions for the calendar view widgets
+ *
+ * Copyright (C) 1998 The Free Software Foundation
+ *
+ * Author: Federico Mena <federico@nuclecu.unam.mx>
+ */
+
+#ifndef VIEW_UTILS_H
+#define VIEW_UTILS_H
+
+
+#include <gtk/gtk.h>
+#include "calendar.h"
+
+
+enum {
+ VIEW_UTILS_DRAW_END = 1 << 0,
+ VIEW_UTILS_DRAW_SPLIT = 1 << 1
+};
+
+
+void view_utils_draw_events (GtkWidget *widget, GdkWindow *window, GdkGC *gc, GdkRectangle *area,
+ int flags, Calendar *calendar, time_t start, time_t end);
+
+
+#endif