From a29f0661ceefc2b25f5fce46a6465ff22a596c77 Mon Sep 17 00:00:00 2001 From: Jaidyn Ann Date: Sun, 14 Mar 2021 22:36:14 -0500 Subject: [PATCH] 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 --- src/kits/tracker/OpenWithWindow.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/kits/tracker/OpenWithWindow.cpp b/src/kits/tracker/OpenWithWindow.cpp index 418ec60b16..68fd28d0c1 100644 --- a/src/kits/tracker/OpenWithWindow.cpp +++ b/src/kits/tracker/OpenWithWindow.cpp @@ -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); }