diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-05-18 10:19:30 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-05-18 11:10:56 +0200 |
commit | 2a62351d259096f60c0a4fca78963bd12233786e (patch) | |
tree | 3e5cd3e767055802ef2f6a9c4f6f1f11c2140445 /src/calcurse.h | |
parent | 2a15531bb9df283060e0eb0e7e93ecf33e494b4d (diff) | |
download | calcurse-2a62351d259096f60c0a4fca78963bd12233786e.zip |
Reintroduce heading and separator in appointments
This re-introduces the heading (showing the POM and the current date) as
well as the separating line between events and appointments.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index 8072304..adcd506 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -554,12 +554,13 @@ struct nbar { }; /* Available types of items. */ -enum item_type { - RECUR_EVNT = 1, +enum day_item_type { + DAY_HEADING = 1, + RECUR_EVNT, EVNT, + DAY_SEPARATOR, RECUR_APPT, - APPT, - MAX_TYPES = APPT + APPT }; /* Return codes for the getstring() function. */ @@ -700,7 +701,7 @@ long day_item_get_duration(struct day_item *); int day_item_get_state(struct day_item *); void day_item_add_exc(struct day_item *, long); void day_item_fork(struct day_item *, struct day_item *); -void day_store_items(long, regex_t *); +void day_store_items(long, regex_t *, int); void day_process_storage(struct date *, unsigned); void day_display_item_date(struct day_item *, WINDOW *, int, long, int, int); void day_display_item(struct day_item *, WINDOW *, int, int, int, int); |