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_WINDOW_H 11 #define INPUT_WINDOW_H 12 13 14 #include <Box.h> 15 #include <CardView.h> 16 #include <Input.h> 17 #include <ListItem.h> 18 #include <ListView.h> 19 #include <Message.h> 20 #include <ScrollBar.h> 21 #include <ScrollView.h> 22 #include <SeparatorView.h> 23 #include <View.h> 24 #include <Window.h> 25 26 #include "InputDeviceView.h" 27 #include "InputKeyboard.h" 28 #include "InputMouse.h" 29 #include "InputTouchpadPrefView.h" 30 #include "MouseSettings.h" 31 #include "touchpad_settings.h" 32 33 34 class BSplitView; 35 class BCardView; 36 class BCardLayout; 37 38 class SettingsView; 39 class DeviceName; 40 class InputDevices; 41 class InputKeyboard; 42 class InputMouse; 43 class MultipleMouseSettings; 44 class TouchpadPrefView; 45 class TouchpadPref; 46 class TouchpadView; 47 48 49 class InputWindow : public BWindow 50 { 51 public: 52 InputWindow(BRect rect); 53 void MessageReceived(BMessage* message); 54 void Show(); 55 void Hide(); 56 57 private: 58 status_t FindDevice(); 59 void AddDevice(BInputDevice* device); 60 61 private: 62 BListView* fDeviceListView; 63 BCardView* fCardView; 64 65 MultipleMouseSettings fMultipleMouseSettings; 66 }; 67 68 #endif /* INPUT_WINDOW_H */ 69