Ticket #12573: MediaPlayer-PositionToolTip-Color.patch

File MediaPlayer-PositionToolTip-Color.patch, 893 bytes (added by looncraz, 9 years ago)
  • src/apps/mediaplayer/interface/PositionToolTip.cpp

    From 36ef55ddd818db6d826c0a7e2cf544e0f0a49393 Mon Sep 17 00:00:00 2001
    From: looncraz <looncraz@looncraz.net>
    Date: Sat, 9 Jan 2016 15:02:50 -0600
    Subject: [PATCH] MediaPlayer PositionToolTip Color
    
    Was adopting system panel colors, should have been adopting tooltip
    colors.
    ---
     src/apps/mediaplayer/interface/PositionToolTip.cpp | 3 +++
     1 file changed, 3 insertions(+)
    
    diff --git a/src/apps/mediaplayer/interface/PositionToolTip.cpp b/src/apps/mediaplayer/interface/PositionToolTip.cpp
    index 667baae..190223e 100644
    a b public:  
    3030    virtual void AttachedToWindow()
    3131    {
    3232        BStringView::AttachedToWindow();
     33        SetViewUIColor(B_TOOL_TIP_BACKGROUND_COLOR);
     34        SetLowUIColor(ViewUIColor());
     35        SetHighUIColor(B_TOOL_TIP_TEXT_COLOR);
    3336        Update(-1, -1);
    3437    }
    3538