]> Pileus Git - lackey/blobdiff - src/screen.h
Move drawing code to screen.c, work on day view
[lackey] / src / screen.h
index bce2383b4c09347f8742d9126eeea3c5ddfcc75b..cf83b6e68dabcef7f8dd97c91fc1ed856b0cdcef 100644 (file)
 #define COLOR_TITLE 1
 #define COLOR_ERROR 2
 
+#define COLOR_CLASS 3
+#define COLOR_EC    4
+#define COLOR_WORK  5
+#define COLOR_OTHER 6
+
+/* Helper functions */
+void event_box(WINDOW *win, event_t *event, int y, int x, int h, int w);
+void event_line(WINDOW *win, event_t *event, int y, int x, int w);
+
 /* Screen functions */
 void screen_init(void);
 void screen_resize(void);
@@ -35,6 +44,16 @@ void notes_init(WINDOW *win);
 void settings_init(WINDOW *win);
 void help_init(WINDOW *win);
 
+/* View size functions */
+void day_size(int,int);
+void week_size(int,int);
+void month_size(int,int);
+void year_size(int,int);
+void todo_size(int,int);
+void notes_size(int,int);
+void settings_size(int,int);
+void help_size(int,int);
+
 /* View draw functions */
 void day_draw(void);
 void week_draw(void);