From fa815db3385b3a14620e941305869dda79e549c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Wed, 15 Feb 2006 16:33:49 +0000 Subject: [PATCH] Followed Korli's suggestion and used noTint where possible. BTW other controls should use the B_CONTROL_TEXT_COLOR as well. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16408 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/interface/TextControl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/interface/TextControl.cpp b/src/kits/interface/TextControl.cpp index 39ff125bb2..03bf6dcd12 100644 --- a/src/kits/interface/TextControl.cpp +++ b/src/kits/interface/TextControl.cpp @@ -302,7 +302,7 @@ BTextControl::Draw(BRect updateRect) } SetHighColor(IsEnabled() ? ui_color(B_CONTROL_TEXT_COLOR) - : tint_color(ui_color(B_PANEL_BACKGROUND_COLOR), B_DISABLED_LABEL_TINT)); + : tint_color(noTint, B_DISABLED_LABEL_TINT)); DrawString(Label(), BPoint(x, y)); } }