haiku/headers/libs/print/libprint/JSDSlider.h

34 lines
579 B
C
Raw Normal View History

/*
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:
JSDSlider(BRect frame, const char* name, const char *label,
BMessage *msg, int32 min, int32 max, thumb_style t);
virtual ~JSDSlider();
#ifdef __HAIKU__
virtual const char* UpdateText() const;
#else
virtual char* UpdateText() const;
#endif
private:
mutable BString fResult;
};
#endif