diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-05-17 14:33:26 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2014-05-18 11:07:27 +0200 |
commit | a5f3e53ce3b1e99058bf75d6dfddfec3c9c95768 (patch) | |
tree | b345bedd5d6cbf4e2febf6b8592a113ac1fb71fc /src/wins.c | |
parent | 35314dfdebb0747b03d0d35db2ce9a58edf31a72 (diff) | |
download | calcurse-a5f3e53ce3b1e99058bf75d6dfddfec3c9c95768.zip |
Remove unused functions border_{,no}color()
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/wins.c')
-rw-r--r-- | src/wins.c | 41 |
1 files changed, 0 insertions, 41 deletions
@@ -493,47 +493,6 @@ void wins_get_config(void) win[win_slave[0]].w = win[win_slave[1]].w = wins_sbar_width(); } -/* draw panel border in color */ -static void border_color(WINDOW * window) -{ - int color_attr = A_BOLD; - int no_color_attr = A_BOLD; - - if (colorize) { - wattron(window, color_attr | COLOR_PAIR(COLR_CUSTOM)); - box(window, 0, 0); - } else { - wattron(window, no_color_attr); - box(window, 0, 0); - } - if (colorize) { - wattroff(window, color_attr | COLOR_PAIR(COLR_CUSTOM)); - } else { - wattroff(window, no_color_attr); - } - wnoutrefresh(window); -} - -/* draw panel border without any color */ -static void border_nocolor(WINDOW * window) -{ - int color_attr = A_BOLD; - int no_color_attr = A_DIM; - - if (colorize) { - wattron(window, color_attr | COLOR_PAIR(COLR_DEFAULT)); - } else { - wattron(window, no_color_attr); - } - box(window, 0, 0); - if (colorize) { - wattroff(window, color_attr | COLOR_PAIR(COLR_DEFAULT)); - } else { - wattroff(window, no_color_attr); - } - wnoutrefresh(window); -} - void wins_update_border(int flags) { if (flags & FLAG_CAL) { |