xref: /haiku/src/preferences/screen/RefreshSlider.h (revision 68ea01249e1e2088933cb12f9c28d4e5c5d1c9ef)
1 /*
2  * Copyright 2001-2006, Haiku.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Rafael Romo
7  *		Stefano Ceccherini (burton666@libero.it)
8  *		Axel Dörfler, axeld@pinc-software.de
9  */
10 #ifndef REFRESH_SLIDER_H
11 #define REFRESH_SLIDER_H
12 
13 
14 #include <Slider.h>
15 
16 
17 class RefreshSlider : public BSlider {
18 	public:
19 		RefreshSlider(BRect frame, float min, float max, uint32 resizingMode);
20 		virtual ~RefreshSlider();
21 
22 		virtual void DrawFocusMark();
23 		virtual const char* UpdateText() const;
24 		virtual void KeyDown(const char* bytes, int32 numBytes);
25 
26 	private:
27 		char* fStatus;
28 };
29 
30 #endif	// REFRESH_SLIDER_H
31