StyledEdit: draw the status bar with the panel text color
Hopefully this is the last piece of #4868.
This commit is contained in:
parent
ecba7b5c7e
commit
7451b647db
|
@ -127,7 +127,6 @@ StatusView::Draw(BRect updateRect)
|
|||
}
|
||||
|
||||
BRect bounds(Bounds());
|
||||
rgb_color highColor = HighColor();
|
||||
SetHighColor(tint_color(ViewColor(), B_DARKEN_2_TINT));
|
||||
StrokeLine(bounds.LeftTop(), bounds.RightTop());
|
||||
|
||||
|
@ -138,7 +137,7 @@ StatusView::Draw(BRect updateRect)
|
|||
}
|
||||
|
||||
SetLowColor(ViewColor());
|
||||
SetHighColor(highColor);
|
||||
SetHighColor(ui_color(B_PANEL_TEXT_COLOR));
|
||||
|
||||
font_height fontHeight;
|
||||
GetFontHeight(&fontHeight);
|
||||
|
|
Loading…
Reference in New Issue