diff options
author | Michael Vetter <jubalh@iodoru.org> | 2020-02-21 19:11:36 +0100 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2020-02-21 19:12:16 +0100 |
commit | 6dbbbe11e50d9978334df207386478759cf48491 (patch) | |
tree | 38d9f2978e37865af1eb8ef9ec33f81ff3bba67c /src/ui/window.c | |
parent | eb2fbdba2efb9c81275461bf3651215b9456e496 (diff) | |
download | profani-tty-6dbbbe11e50d9978334df207386478759cf48491.tar.gz |
Make trackbar color configurable
Use `main.trackbar` in themes.
Diffstat (limited to 'src/ui/window.c')
-rw-r--r-- | src/ui/window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index d44795d5..9c508e2a 100644 --- a/src/ui/window.c +++ b/src/ui/window.c @@ -1698,10 +1698,16 @@ win_print_separator(ProfWin *window) { int cols = getmaxx(window->layout->win); + wbkgdset(window->layout->win, theme_attrs(THEME_TRACKBAR)); + wattron(window->layout->win, theme_attrs(THEME_TRACKBAR)); + int i; for (i=1; i<cols; i++) { wprintw(window->layout->win, "-"); } + + wattroff(window->layout->win, theme_attrs(THEME_TRACKBAR)); + wprintw(window->layout->win, "\n"); } |