* use a darker text color for disabled yet selected looking menu items
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22038 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
307d439902
commit
79d6486d1d
@ -461,11 +461,8 @@ BMenuItem::Draw()
|
||||
// set high color
|
||||
if (enabled)
|
||||
fSuper->SetHighColor(ui_color(B_MENU_ITEM_TEXT_COLOR));
|
||||
else if (selected)
|
||||
fSuper->SetHighColor(tint_color(noTint,
|
||||
B_LIGHTEN_1_TINT));
|
||||
else
|
||||
fSuper->SetHighColor(tint_color(noTint,
|
||||
fSuper->SetHighColor(tint_color(bgColor,
|
||||
B_DISABLED_LABEL_TINT));
|
||||
|
||||
// draw content
|
||||
|
Loading…
Reference in New Issue
Block a user