libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / apps / poorman / StatusSlider.h
blob69be9a074ee7da4961c320ca4ba6b77d56a54c3b
1 /* StatusSlider.h
3 * Philip Harrison
4 * Started: 5/14/2004
5 * Version: 0.1
6 */
8 #ifndef STATUS_SLIDER
9 #define STATUS_SLIDER
11 //#define BEOS_R5_COMPATIBLE
13 #include <MessageFormat.h>
14 #include <Slider.h>
15 #include <String.h>
18 class StatusSlider: public BSlider {
19 public:
20 StatusSlider(const char* name,
21 const char* label,
22 const char* statusPrefix,
23 BMessage* message,
24 int32 minValue,
25 int32 maxValue);
27 virtual const char* UpdateText() const;
29 private:
30 mutable char fPattern[256];
31 BMessageFormat fFormat;
32 mutable BString fStr;
35 #endif