Make trackbar color configurable

Use `main.trackbar` in themes.
This commit is contained in:
Michael Vetter
2020-02-21 19:11:36 +01:00
parent eb2fbdba2e
commit 6dbbbe11e5
4 changed files with 9 additions and 0 deletions

View File

@@ -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");
}