Better to darken the match color, this makes it visible also in non-selected
choice items. git-svn-id: http://svn.haiku-os.org/webpositive/webkit/trunk@274 94f232f2-1747-11df-bad5-a5bfde151594
This commit is contained in:
committed by
Alexandre Deckner
parent
e25584f3c5
commit
dad87be6e5
@@ -251,7 +251,7 @@ BDefaultChoiceView::ListItem::DrawItem(BView* owner, BRect frame,
|
|||||||
textCol = ui_color(B_DOCUMENT_TEXT_COLOR);
|
textCol = ui_color(B_DOCUMENT_TEXT_COLOR);
|
||||||
backCol = ui_color(B_DOCUMENT_BACKGROUND_COLOR);
|
backCol = ui_color(B_DOCUMENT_BACKGROUND_COLOR);
|
||||||
}
|
}
|
||||||
matchCol = tint_color(backCol, B_LIGHTEN_2_TINT);
|
matchCol = tint_color(backCol, (B_NO_TINT + B_DARKEN_1_TINT) / 2);
|
||||||
|
|
||||||
BFont font;
|
BFont font;
|
||||||
font_height fontHeight;
|
font_height fontHeight;
|
||||||
|
|||||||
Reference in New Issue
Block a user