]> Pileus Git - lackey/blob - src/screen.h
116840a41d6a419e920f092dfb3b3c1dc01c86c1
[lackey] / src / screen.h
1 /* Screen functions */
2 void screen_init(void);
3 void screen_resize(void);
4 void screen_draw(void);
5 int  screen_run(int key, mmask_t btn, int row, int col);
6
7 /* View init functions */
8 void day_init(WINDOW *win);
9 void week_init(WINDOW *win);
10 void month_init(WINDOW *win);
11 void year_init(WINDOW *win);
12 void todo_init(WINDOW *win);
13 void notes_init(WINDOW *win);
14 void settings_init(WINDOW *win);
15 void help_init(WINDOW *win);
16
17 /* View draw functions */
18 void day_draw(void);
19 void week_draw(void);
20 void month_draw(void);
21 void year_draw(void);
22 void todo_draw(void);
23 void notes_draw(void);
24 void settings_draw(void);
25 void help_draw(void);
26
27 /* View run functions */
28 int day_run(int,mmask_t,int,int);
29 int week_run(int,mmask_t,int,int);
30 int month_run(int,mmask_t,int,int);
31 int year_run(int,mmask_t,int,int);
32 int todo_run(int,mmask_t,int,int);
33 int notes_run(int,mmask_t,int,int);
34 int settings_run(int,mmask_t,int,int);
35 int help_run(int,mmask_t,int,int);