2 * Copyright 2006-2009 Stephan Aßmus <superstippi@gmx.de>
3 * All rights reserved. Distributed under the terms of the MIT License.
13 class SeekSlider
: public BSlider
{
15 SeekSlider(const char* name
, BMessage
* message
,
16 int32 minValue
, int32 maxValue
);
18 virtual ~SeekSlider();
21 virtual status_t
Invoke(BMessage
* message
);
22 virtual BRect
ThumbFrame() const;
23 virtual void DrawBar();
24 virtual void DrawThumb();
25 virtual void MouseDown(BPoint where
);
26 virtual void MouseUp(BPoint where
);
27 virtual void GetPreferredSize(float* _width
,
29 virtual BSize
MinSize();
30 virtual BSize
MaxSize();
33 bool IsTracking() const;
34 void SetDisabledString(const char* string
);
36 void SetSymbolScale(float scale
);
40 bigtime_t fLastTrackTime
;
42 BString fDisabledString
;
47 #endif //SEEK_SLIDER_H