summaryrefslogtreecommitdiff
path: root/src/day.h
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2006-09-14 15:09:10 +0000
committerFrederic Culot <calcurse@culot.org>2006-09-14 15:09:10 +0000
commit0ca9cc46d61140435be2f6961e90afbd089aa279 (patch)
treead32fdef1ecb198297ef6b1f502dc095fcc9996f /src/day.h
parentc52da6cace70f56b27a289c74354bb9ea3de63e8 (diff)
downloadcalcurse-0ca9cc46d61140435be2f6961e90afbd089aa279.zip
day_add_apoint() updated
Diffstat (limited to 'src/day.h')
-rwxr-xr-xsrc/day.h6
1 files changed, 4 insertions, 2 deletions
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);