xref: /haiku/src/preferences/input/InputMouse.h (revision 4c8e85b316c35a9161f5a1c50ad70bc91c83a76f)
1 /*
2  * Copyright 2019, Haiku, Inc.
3  * Distributed under the terms of the MIT License.
4  *
5  * Author:
6  *		Preetpal Kaur <preetpalok123@gmail.com>
7  */
8 
9 
10 #ifndef INPUT_MOUSE_H
11 #define INPUT_MOUSE_H
12 
13 
14 #include <Bitmap.h>
15 #include <Box.h>
16 #include <Button.h>
17 #include <CheckBox.h>
18 #include <ListView.h>
19 #include <MenuField.h>
20 #include <PopUpMenu.h>
21 #include <Slider.h>
22 #include <TabView.h>
23 #include <View.h>
24 
25 #include "InputDeviceView.h"
26 #include "MouseSettings.h"
27 #include "MouseView.h"
28 #include "SettingsView.h"
29 
30 #define MOUSE_SETTINGS 'Mss'
31 
32 class DeviceListView;
33 
34 
35 class InputMouse : public BView {
36 public:
37 					InputMouse(BInputDevice* dev, MouseSettings* settings);
38 	virtual			~InputMouse();
39 	void			SetMouseType(int32 type);
40 	void			MessageReceived(BMessage* message);
41 private:
42 
43 	typedef BBox inherited;
44 
45 	SettingsView*		fSettingsView;
46 	MouseView*			fMouseView;
47 	BButton*			fDefaultsButton;
48 	BButton*			fRevertButton;
49 	MouseSettings*		fSettings;
50 };
51 
52 #endif	/* INPUT_MOUSE_H */
53