diff options
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index 2b5b055..27fcc68 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -425,13 +425,20 @@ struct day_item { union aptev_ptr item; }; -/* Available view for the calendar panel. */ +/* Available views for the calendar panel. */ enum { CAL_MONTH_VIEW, CAL_WEEK_VIEW, CAL_VIEWS }; +/* Available views for the todo panel. */ +enum { + TODO_SHOW_COMPLETED_VIEW, + TODO_HIDE_COMPLETED_VIEW, + TODO_VIEWS +}; + struct notify_app { long time; int got_app; @@ -1009,7 +1016,7 @@ int string_printf(struct string *, const char *, ...); /* todo.c */ extern llist_t todolist; -struct todo *todo_get_item(int); +struct todo *todo_get_item(int, int); struct todo *todo_add(char *, int, char *); char *todo_tostr(struct todo *); char *todo_hash(struct todo *); @@ -1062,6 +1069,8 @@ void ui_todo_popup_item(void); void ui_todo_flag(void); void ui_todo_view_note(void); void ui_todo_edit_note(void); +void ui_todo_view_prev(void); +void ui_todo_view_next(void); /* utf8.c */ int utf8_width(char *); |