Tracker: Don't use hardcoded colors for the Open With window

Change-Id: Idb7b336006391da3d64b7f395e87ff30c07d3100
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3797
Reviewed-by: humdinger <humdingerb@gmail.com>
This commit is contained in:
Jaidyn Ann 2021-03-14 22:36:14 -05:00 committed by Adrien Destugues
parent fc03b45a71
commit a29f0661ce
1 changed files with 2 additions and 3 deletions

View File

@ -73,7 +73,6 @@ const float kMaxMenuWidth = 150;
const int32 kDocumentKnobWidth = 16;
const int32 kOpenAndMakeDefault = 'OpDf';
const rgb_color kOpenWithDefaultColor = { 0xFF, 0xFF, 0xCC, 255};
// #pragma mark - OpenWithContainerWindow
@ -567,8 +566,8 @@ OpenWithPoseView::AttachedToWindow()
{
_inherited::AttachedToWindow();
SetViewColor(kOpenWithDefaultColor);
SetLowColor(kOpenWithDefaultColor);
SetViewUIColor(B_TOOL_TIP_BACKGROUND_COLOR);
SetLowUIColor(B_TOOL_TIP_TEXT_COLOR);
}