vfs: check userland buffers before reading them.
[haiku.git] / src / apps / glteapot / ResScroll.h
blob6461b2e4f76be672dff3d88dc515f87f6b5412d7
1 /*
2 Copyright 1999, Be Incorporated. All Rights Reserved.
3 This file may be used under the terms of the Be Sample Code License.
4 */
6 #ifndef RESSCROLL_H
7 #define RESSCROLL_H
9 #include <ScrollBar.h>
11 class ObjectView;
13 class ResScroll : public BScrollBar {
14 public:
15 ResScroll(BRect r, const char* name,
16 ObjectView* target, orientation posture);
18 virtual void ValueChanged(float value);
20 private:
21 ObjectView* fObjectView;
24 #endif // RESSCROLL_H