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:
parent
fc03b45a71
commit
a29f0661ce
@ -73,7 +73,6 @@ const float kMaxMenuWidth = 150;
|
|||||||
|
|
||||||
const int32 kDocumentKnobWidth = 16;
|
const int32 kDocumentKnobWidth = 16;
|
||||||
const int32 kOpenAndMakeDefault = 'OpDf';
|
const int32 kOpenAndMakeDefault = 'OpDf';
|
||||||
const rgb_color kOpenWithDefaultColor = { 0xFF, 0xFF, 0xCC, 255};
|
|
||||||
|
|
||||||
|
|
||||||
// #pragma mark - OpenWithContainerWindow
|
// #pragma mark - OpenWithContainerWindow
|
||||||
@ -567,8 +566,8 @@ OpenWithPoseView::AttachedToWindow()
|
|||||||
{
|
{
|
||||||
_inherited::AttachedToWindow();
|
_inherited::AttachedToWindow();
|
||||||
|
|
||||||
SetViewColor(kOpenWithDefaultColor);
|
SetViewUIColor(B_TOOL_TIP_BACKGROUND_COLOR);
|
||||||
SetLowColor(kOpenWithDefaultColor);
|
SetLowUIColor(B_TOOL_TIP_TEXT_COLOR);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user