1 /* StatusSlider.h 2 * 3 * Philip Harrison 4 * Started: 5/14/2004 5 * Version: 0.1 6 */ 7 8 #ifndef STATUS_SLIDER 9 #define STATUS_SLIDER 10 11 //#define BEOS_R5_COMPATIBLE 12 13 #include <Slider.h> 14 15 16 class StatusSlider: public BSlider { 17 public: 18 StatusSlider(const char* name, 19 const char* label, 20 char* statusPrefix, 21 BMessage* message, 22 int32 minValue, 23 int32 maxValue); 24 25 virtual const char* UpdateText() const; 26 27 private: 28 char* fStatusPrefix; 29 char* fTemp; 30 char fStr[128]; 31 }; 32 33 #endif 34