2004-11-28 18:57:49 +00: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-26 22:36:01 +00:00
|
|
|
JSDSlider(BRect frame, const char* name, const char *label,
|
|
|
|
BMessage *msg, int32 min, int32 max, thumb_style t);
|
|
|
|
|
|
|
|
virtual ~JSDSlider();
|
2008-10-21 20:21:16 +00:00
|
|
|
#ifdef __HAIKU__
|
2008-07-26 22:36:01 +00:00
|
|
|
virtual const char* UpdateText() const;
|
2008-10-21 20:21:16 +00:00
|
|
|
#else
|
|
|
|
virtual char* UpdateText() const;
|
|
|
|
#endif
|
2004-11-28 18:57:49 +00:00
|
|
|
private:
|
2008-07-26 22:36:01 +00:00
|
|
|
mutable BString fResult;
|
2004-11-28 18:57:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|