vfs: check userland buffers before reading them.
[haiku.git] / src / preferences / screen / RefreshSlider.h
blob41c6f499377b7b2c2dab557aa240d2a7535e4a5a
1 /*
2 * Copyright 2001-2006, Haiku.
3 * Distributed under the terms of the MIT License.
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
14 #include <Slider.h>
17 class RefreshSlider : public BSlider {
18 public:
19 RefreshSlider(BRect frame, float min, float max, uint32 resizingMode);
20 virtual ~RefreshSlider();
22 virtual void DrawFocusMark();
23 virtual const char* UpdateText() const;
24 virtual void KeyDown(const char* bytes, int32 numBytes);
26 private:
27 char* fStatus;
30 #endif // REFRESH_SLIDER_H