diff options
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index 3ee0900..333e1b9 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -762,6 +762,9 @@ void apoint_paste_item(struct apoint *, time_t); int parse_args(int, char **); /* calendar.c */ +extern struct day_item empty_day; + +/* ui_calendar.c */ void ui_calendar_view_next(void); void ui_calendar_view_prev(void); void ui_calendar_set_view(int); @@ -801,6 +804,9 @@ void custom_config_main(void); /* day.c */ int day_get_nb(void); +int day_set_sel_data(struct day_item *); +int day_check_sel_data(void); +int day_sel_index(void); void day_free_vector(void); char *day_item_get_mesg(struct day_item *); char *day_item_get_note(struct day_item *); @@ -819,8 +825,6 @@ int day_check_if_item(struct date); unsigned day_chk_busy_slices(struct date, int, int *); struct day_item *day_cut_item(time_t, int); int day_paste_item(struct day_item *, time_t); -int day_get_position_by_aptev_ptr(union aptev_ptr); -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 *); @@ -1097,10 +1101,6 @@ void todo_init_list(void); void todo_free_list(void); /* ui-day.c */ -struct day_item *ui_day_selitem(void); -time_t ui_day_selday(void); -void ui_day_set_selitem_by_aptev_ptr(union aptev_ptr); -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); @@ -1110,7 +1110,11 @@ void ui_day_item_cut_free(unsigned); void ui_day_item_copy(unsigned); void ui_day_item_paste(unsigned); void ui_day_load_items(void); +void ui_day_find_sel(void); +struct day_item *ui_day_get_sel(void); +time_t ui_day_sel_date(void); void ui_day_sel_reset(void); +void ui_day_set_sel(struct day_item *); void ui_day_sel_move(int); void ui_day_draw(int, WINDOW *, int, int, void *); enum listbox_row_type ui_day_row_type(int, void *); |