aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/wins.c41
1 files changed, 0 insertions, 41 deletions
diff --git a/src/wins.c b/src/wins.c
index e84bc08..729e014 100644
--- a/src/wins.c
+++ b/src/wins.c
@@ -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) {