X-Git-Url: http://pileus.org/git/?p=lackey;a=blobdiff_plain;f=src%2Fview.h;h=7f967ea066732a90ade60f871f6b38ffe4c8003b;hp=352359f8a98d542367403c72935499225fd51f93;hb=73c73a83c246975dd04df36b94cb381d315dc2ad;hpb=2b8964c94d39fc6d888e0b274cfb9fbe59424c1c diff --git a/src/view.h b/src/view.h index 352359f..7f967ea 100644 --- a/src/view.h +++ b/src/view.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2012 Andy Spencer + * Copyright (C) 2012-2013 Andy Spencer * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,9 +28,12 @@ #define COLOR_WORK 8 #define COLOR_OTHER 9 +/* Display flags */ +#define SHOW_DETAILS 0x1 +#define SHOW_ACTIVE 0x2 + /* Config data */ extern int COMPACT; -extern int ACTIVE; /* Curses functions */ void wmvresize(WINDOW *win, int top, int left, int rows, int cols); @@ -38,8 +41,8 @@ void wshrink(WINDOW *win, int top); /* 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, int full); -void todo_line(WINDOW *win, todo_t *todo, int y, int x, int w, int full); +void event_line(WINDOW *win, event_t *event, int y, int x, int w, int flags); +void todo_line(WINDOW *win, todo_t *todo, int y, int x, int w, int flags); /* View functions */ void view_init(void);