Ticket #12578: BSlider-original.patch

File BSlider-original.patch, 923 bytes (added by looncraz, 9 years ago)

Return to original appearance.

  • src/kits/interface/Slider.cpp

    From 7d1faa4502028df0380e43aded06b8920ed17fc8 Mon Sep 17 00:00:00 2001
    From: looncraz <looncraz@looncraz.net>
    Date: Fri, 15 Jan 2016 10:05:03 +0000
    Subject: [PATCH] BSlider - Don't Use Control Mark Color
    
    This returns BSlider to its original appearance.
    ---
     src/kits/interface/Slider.cpp | 2 +-
     1 file changed, 1 insertion(+), 1 deletion(-)
    
    diff --git a/src/kits/interface/Slider.cpp b/src/kits/interface/Slider.cpp
    index fa1ac56..bcd7edd 100644
    a b BSlider::DrawHashMarks()  
    10151015    BView* view = OffscreenView();
    10161016
    10171017    if (be_control_look != NULL) {
    1018         rgb_color base = ui_color(B_CONTROL_MARK_COLOR);
     1018        rgb_color base = ui_color(B_PANEL_BACKGROUND_COLOR);
    10191019        uint32 flags = be_control_look->Flags(this);
    10201020        be_control_look->DrawSliderHashMarks(view, frame, frame, base,
    10211021            fHashMarkCount, fHashMarks, flags, fOrientation);