summaryrefslogtreecommitdiff
path: root/src/calcurse.h
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@calcurse.org>2016-02-16 07:48:25 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2016-02-16 07:53:12 +0100
commit65b699f7708eba7c504d8593be749fa4e0cd57c3 (patch)
tree37df200796a493dcd6806b28522721e7c01240f3 /src/calcurse.h
parentfeb059e8cff5fd1057faf88caa127623e35775d2 (diff)
downloadcalcurse-65b699f7708eba7c504d8593be749fa4e0cd57c3.zip
Make automatic selection of appointments/events smarter
Keep item selection when an item is moved (e.g. by changing the start time or description). Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r--src/calcurse.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/calcurse.h b/src/calcurse.h
index 9ee8be0..e59ea59 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -772,6 +772,7 @@ int day_check_if_item(struct date);
unsigned day_chk_busy_slices(struct date, int, int *);
struct day_item *day_cut_item(long, int);
int day_paste_item(struct day_item *, long);
+int day_get_position(struct day_item *);
struct day_item *day_get_item(int);
unsigned day_item_count(int);
void day_edit_note(struct day_item *, const char *);
@@ -1042,6 +1043,8 @@ void todo_init_list(void);
void todo_free_list(void);
/* ui-day.c */
+struct day_item *ui_day_selitem(void);
+void ui_day_set_selitem(struct day_item *);
void ui_day_item_add(void);
void ui_day_item_delete(unsigned);
void ui_day_item_edit(void);