Replace highlight colors with prefixes and suffixes
This commit is contained in:
@@ -51,7 +51,7 @@ void drawHeader()
|
||||
<< NC::XY(wHeader->getWidth()-VolumeState.length(), 0)
|
||||
<< Config.volume_color
|
||||
<< VolumeState
|
||||
<< NC::FormattedColor::End(Config.volume_color);
|
||||
<< NC::FormattedColor::End<>(Config.volume_color);
|
||||
break;
|
||||
case Design::Alternative:
|
||||
std::wstring title = myScreen->title();
|
||||
@@ -60,7 +60,7 @@ void drawHeader()
|
||||
<< Config.alternative_ui_separator_color;
|
||||
mvwhline(wHeader->raw(), 2, 0, 0, COLS);
|
||||
mvwhline(wHeader->raw(), 4, 0, 0, COLS);
|
||||
*wHeader << NC::FormattedColor::End(Config.alternative_ui_separator_color)
|
||||
*wHeader << NC::FormattedColor::End<>(Config.alternative_ui_separator_color)
|
||||
<< NC::XY((COLS-wideLength(title))/2, 3)
|
||||
<< NC::Format::Bold
|
||||
<< title
|
||||
|
||||
Reference in New Issue
Block a user