summaryrefslogtreecommitdiffstats
path: root/src/calendar.h
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2007-12-10 18:56:08 +0000
committerFrederic Culot <calcurse@culot.org>2007-12-10 18:56:08 +0000
commit4227e47ae427e4a030d4484729efd55ec581979e (patch)
treea754f4aa7a76d5e901142a3b1af381f69496f3a4 /src/calendar.h
parent3e429667dbf4bdbdb33451483a32292e3c602fa3 (diff)
downloadcalcurse-4227e47ae427e4a030d4484729efd55ec581979e.tar.gz
calcurse-4227e47ae427e4a030d4484729efd55ec581979e.zip
calendar_move_*() gathered together into calendar_move()
Diffstat (limited to 'src/calendar.h')
-rwxr-xr-xsrc/calendar.h15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/calendar.h b/src/calendar.h
index a3c9bb9..4c4a8f4 100755
--- a/src/calendar.h
+++ b/src/calendar.h
@@ -1,4 +1,4 @@
-/* $calcurse: calendar.h,v 1.7 2007/08/31 19:41:24 culot Exp $ */
+/* $calcurse: calendar.h,v 1.8 2007/12/10 19:00:45 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -60,6 +60,14 @@ typedef enum {
MOON_PHASES
} pom_e;
+typedef enum {
+ UP,
+ DOWN,
+ LEFT,
+ RIGHT,
+ MOVES
+} move_t;
+
void calendar_start_date_thread(void);
void calendar_stop_date_thread(void);
void calendar_set_current_date(void);
@@ -72,10 +80,7 @@ date_t *calendar_get_slctd_day(void);
long calendar_get_slctd_day_sec(void);
void calendar_update_panel(WINDOW *);
void calendar_change_day(void);
-void calendar_move_right(void);
-void calendar_move_left(void);
-void calendar_move_up(void);
-void calendar_move_down(void);
+void calendar_move(move_t);
char *calendar_get_pom(time_t);
#endif /* CALCURSE_CALENDAR_H */