Work on implementing the weekly calendar view.

This commit is contained in:
Frederic Culot
2009-08-24 18:59:16 +00:00
parent 8929a81f3d
commit 2cfafe8a89
4 changed files with 168 additions and 55 deletions

View File

@@ -1,4 +1,4 @@
/* $calcurse: calcurse.c,v 1.85 2009/07/26 20:38:35 culot Exp $ */
/* $calcurse: calcurse.c,v 1.86 2009/08/24 18:59:17 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -526,6 +526,16 @@ main (int argc, char **argv)
calendar_move (WEEK_END);
}
break;
case KEY_GENERIC_SCROLL_UP:
if (wins_slctd () == CAL)
calendar_view_prev ();
break;
case KEY_GENERIC_SCROLL_DOWN:
if (wins_slctd () == CAL)
calendar_view_next ();
break;
case KEY_GENERIC_QUIT:
if (conf.auto_save)