1/*
2 * Copyright 2007 Haiku.
3 * Distributed under the terms of the MIT License.
4 *
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
11
12
13#include <Window.h>
14
15class BView;
16class BCheckBox;
17class BStringView;
18class BButton;
19class BBox;
20
21
22/*
23	All this code is here is just to not have an empty view at
24	Clicking the Calibrate function.
25
26	All controls in this view needs to be created and placed dynamically according
27	with the Joystick descriptors
28*/
29
30
31class CalibWin : public BWindow
32{
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);
39
40		virtual	void	MessageReceived(BMessage *message);
41		virtual	bool	QuitRequested();
42
43	protected:
44		BStringView*	fStringView3;
45		BStringView*	fStringView4;
46		BStringView*	fStringView5;
47		BStringView*	fStringView6;
48		BStringView*	fStringView7;
49		BStringView*	fStringView8;
50		BStringView*	fStringView9;
51
52		BButton*		fButton3;
53		BButton*		fButton4;
54
55		BButton*		fButton5;
56		BButton*		fButton6;
57		BButton*		fButton7;
58		BButton*		fButton8;
59		BButton*		fButton9;
60		BButton*		fButton10;
61		BButton*		fButton11;
62		BButton*		fButton12;
63
64		BBox*			fBox;
65		BView*			fView;
66};
67
68
69#endif	/* _CALIB_WIN_H */
70
71