diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-14 10:29:57 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2013-02-14 10:34:00 +0100 |
commit | c7f388860736968b1a7a3af98fbbe59acd4abac0 (patch) | |
tree | 9407c6fedff0672a5b4b2569ec362fae446777e8 /src/calcurse.c | |
parent | 267bf0fc1c3ef59b232ea60e7ccdede664a667e8 (diff) | |
download | calcurse-c7f388860736968b1a7a3af98fbbe59acd4abac0.zip |
Rename appointment/event-related UI functions
* Rename "interaction.c" to "ui-day.c" since it no longer contains
todo-related UI functions.
* Rename appointment/event-related UI functions to ui_day_*().
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.c')
-rw-r--r-- | src/calcurse.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/calcurse.c b/src/calcurse.c index 34b93db..a7500ca 100644 --- a/src/calcurse.c +++ b/src/calcurse.c @@ -126,7 +126,7 @@ static inline void key_generic_config_menu(void) static inline void key_generic_add_appt(void) { - interact_day_item_add(); + ui_day_item_add(); inday = do_storage(1); wins_update(FLAG_CAL | FLAG_APP | FLAG_STA); } @@ -143,7 +143,7 @@ static inline void key_add_item(void) { switch (wins_slctd()) { case APP: - interact_day_item_add(); + ui_day_item_add(); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP | FLAG_STA); break; @@ -161,7 +161,7 @@ static inline void key_add_item(void) static inline void key_edit_item(void) { if (wins_slctd() == APP && apoint_hilt() != 0) { - interact_day_item_edit(); + ui_day_item_edit(); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP | FLAG_STA); } else if (wins_slctd() == TOD && todo_hilt() != 0) { @@ -173,7 +173,7 @@ static inline void key_edit_item(void) static inline void key_del_item(void) { if (wins_slctd() == APP && apoint_hilt() != 0) { - interact_day_item_delete(&inday.nb_events, &inday.nb_apoints, reg); + ui_day_item_delete(&inday.nb_events, &inday.nb_apoints, reg); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP | FLAG_STA); } else if (wins_slctd() == TOD && todo_hilt() != 0) { @@ -185,7 +185,7 @@ static inline void key_del_item(void) static inline void key_generic_copy(void) { if (wins_slctd() == APP && apoint_hilt() != 0) { - interact_day_item_copy(&inday.nb_events, &inday.nb_apoints, reg); + ui_day_item_copy(&inday.nb_events, &inday.nb_apoints, reg); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP); } @@ -194,7 +194,7 @@ static inline void key_generic_copy(void) static inline void key_generic_paste(void) { if (wins_slctd() == APP) { - interact_day_item_paste(&inday.nb_events, &inday.nb_apoints, reg); + ui_day_item_paste(&inday.nb_events, &inday.nb_apoints, reg); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP); } @@ -203,7 +203,7 @@ static inline void key_generic_paste(void) static inline void key_repeat_item(void) { if (wins_slctd() == APP && apoint_hilt() != 0) - interact_day_item_repeat(); + ui_day_item_repeat(); inday = do_storage(0); wins_update(FLAG_CAL | FLAG_APP | FLAG_STA); } @@ -223,7 +223,7 @@ static inline void key_flag_item(void) static inline void key_pipe_item(void) { if (wins_slctd() == APP && apoint_hilt() != 0) - interact_day_item_pipe(); + ui_day_item_pipe(); else if (wins_slctd() == TOD && todo_hilt() != 0) ui_todo_pipe(); wins_update(FLAG_ALL); |