haiku/headers/libs/print/libprint/JSDSlider.h
Karsten Heimrich 9a321797d9 * fix wrong cast
* fix r5 target build



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28268 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-10-21 20:21:16 +00:00

34 lines
579 B
C++

/*
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