From 0ca9cc46d61140435be2f6961e90afbd089aa279 Mon Sep 17 00:00:00 2001 From: Frederic Culot Date: Thu, 14 Sep 2006 15:09:10 +0000 Subject: day_add_apoint() updated --- src/day.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/day.h') diff --git a/src/day.h b/src/day.h index ef4c6ea..ac48e54 100755 --- a/src/day.h +++ b/src/day.h @@ -1,4 +1,4 @@ -/* $calcurse: day.h,v 1.5 2006/09/12 15:06:42 culot Exp $ */ +/* $calcurse: day.h,v 1.6 2006/09/14 15:09:10 culot Exp $ */ /* * Calcurse - text-based organizer @@ -44,6 +44,7 @@ struct day_item_s { char *mesg; /* item description */ int evnt_id; /* event identifier */ long appt_dur; /* appointment duration in seconds */ + int appt_pos; /* real position in recurrent list */ }; struct day_saved_item_s { @@ -60,7 +61,8 @@ int day_store_events(long date); int day_store_recur_apoints(long date); int day_store_apoints(long date); struct day_item_s *day_add_event(int type, char *mesg, long day, int id); -struct day_item_s *day_add_apoint(int type, char *mesg, long start, long dur); +struct day_item_s *day_add_apoint(int type, char *mesg, long start, long dur, + int real_pos); void day_write_pad(long date, int width, int length, int incolor, int colr); apoint_llist_node_t *day_item_s2apoint_s(struct day_item_s *p); void day_popup_item(void); -- cgit v1.2.3-54-g00ecf