vfs: check userland buffers before reading them.
[haiku.git] / src / tests / servers / app / newerClipping / drawing / DrawView.h
blob0099d9cddf540f652cc2c7af9be768e735778ff6
2 #ifndef DRAW_VIEW_H
3 #define DRAW_VIEW_H
5 #include <View.h>
7 class Desktop;
9 class DrawView : public BView {
10 public:
11 DrawView(BRect frame);
12 virtual ~DrawView();
14 virtual void MouseDown(BPoint where);
15 virtual void MouseUp(BPoint where);
16 virtual void MouseMoved(BPoint where, uint32 code,
17 const BMessage* dragMessage);
19 void SetDesktop(Desktop* desktop);
21 private:
22 Desktop* fDesktop;
25 #endif // DRAW_VIEW_H