vfs: check userland buffers before reading them.
[haiku.git] / src / preferences / joysticks / CalibWin.h
bloba31c785702b07778a2fa0e44293ec99ebdc82ba1
1 /*
2 * Copyright 2007 Haiku.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
7 * Ryan Leavengood, leavengood@gmail.com
8 */
9 #ifndef _CALIB_WIN_H
10 #define _CALIB_WIN_H
13 #include <Window.h>
15 class BView;
16 class BCheckBox;
17 class BStringView;
18 class BButton;
19 class BBox;
23 All this code is here is just to not have an empty view at
24 Clicking the Calibrate function.
26 All controls in this view needs to be created and placed dynamically according
27 with the Joystick descriptors
31 class CalibWin : public BWindow
33 public:
34 CalibWin(BRect frame, const char *title,
35 window_look look,
36 window_feel feel,
37 uint32 flags,
38 uint32 workspace = B_CURRENT_WORKSPACE);
40 virtual void MessageReceived(BMessage *message);
41 virtual bool QuitRequested();
43 protected:
44 BStringView* fStringView3;
45 BStringView* fStringView4;
46 BStringView* fStringView5;
47 BStringView* fStringView6;
48 BStringView* fStringView7;
49 BStringView* fStringView8;
50 BStringView* fStringView9;
52 BButton* fButton3;
53 BButton* fButton4;
55 BButton* fButton5;
56 BButton* fButton6;
57 BButton* fButton7;
58 BButton* fButton8;
59 BButton* fButton9;
60 BButton* fButton10;
61 BButton* fButton11;
62 BButton* fButton12;
64 BBox* fBox;
65 BView* fView;
69 #endif /* _CALIB_WIN_H */