2004-11-28 21:57:49 +03:00
|
|
|
/*
|
|
|
|
JSDSlider.h
|
|
|
|
Dr.H.Reh
|
|
|
|
27.11.2004
|
|
|
|
|
|
|
|
Based on source code from Be Inc. RIP
|
|
|
|
Copyright 1995 Be Incorporated, All Rights Reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __JSD_SLIDER_H
|
|
|
|
#define __JSD_SLIDER_H
|
|
|
|
|
|
|
|
#include <Slider.h>
|
|
|
|
#include <String.h>
|
|
|
|
|
|
|
|
|
|
|
|
class JSDSlider : public BSlider
|
|
|
|
{
|
|
|
|
public:
|
2008-07-27 02:36:01 +04:00
|
|
|
JSDSlider(BRect frame, const char* name, const char *label,
|
|
|
|
BMessage *msg, int32 min, int32 max, thumb_style t);
|
|
|
|
|
|
|
|
virtual ~JSDSlider();
|
2008-10-22 00:21:16 +04:00
|
|
|
#ifdef __HAIKU__
|
2008-07-27 02:36:01 +04:00
|
|
|
virtual const char* UpdateText() const;
|
2008-10-22 00:21:16 +04:00
|
|
|
#else
|
|
|
|
virtual char* UpdateText() const;
|
|
|
|
#endif
|
2004-11-28 21:57:49 +03:00
|
|
|
private:
|
2008-07-27 02:36:01 +04:00
|
|
|
mutable BString fResult;
|
2004-11-28 21:57:49 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|