Only overrides BSlider::DrawBar() if compiled for BeOS (would look okay under R5, too, though).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13337 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1d0f02b4ac
commit
900a549127
@ -39,10 +39,12 @@
|
||||
#include <string.h>
|
||||
|
||||
|
||||
#define DRAW_SLIDER_BAR
|
||||
#ifndef __HAIKU__
|
||||
# define DRAW_SLIDER_BAR
|
||||
// if this is defined, the standard slider bar is replaced with
|
||||
// one that looks exactly like the one in the original DiskProbe
|
||||
// (even in Dano/Zeta)
|
||||
#endif
|
||||
|
||||
static const uint32 kMsgSliderUpdate = 'slup';
|
||||
static const uint32 kMsgPositionUpdate = 'poup';
|
||||
@ -278,7 +280,7 @@ PositionSlider::PositionSlider(BRect rect, const char *name, BMessage *message,
|
||||
Reset();
|
||||
|
||||
#ifndef DRAW_SLIDER_BAR
|
||||
rgb_color color = ui_color(B_CONTROL_HIGHLIGHT_COLOR);
|
||||
rgb_color color = ui_color(B_CONTROL_HIGHLIGHT_COLOR);
|
||||
UseFillColor(true, &color);
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user