/* * Copyright 2019, Haiku, Inc. * Distributed under the terms of the MIT License. * * Author: * Preetpal Kaur */ #ifndef INPUT_MOUSE_H #define INPUT_MOUSE_H #include #include #include #include #include #include #include #include #include #include #include "InputWindow.h" #include "MouseSettings.h" #include "MouseView.h" #include "SettingsView.h" #define MOUSE_SETTINGS 'Mss' class BTabView; class InputMouse : public BView { public: InputMouse(); virtual ~InputMouse(); void SetMouseType(int32 type); void MessageReceived(BMessage* message); private: typedef BBox inherited; SettingsView* fSettingsView; MouseView* fMouseView; BButton* fDefaultsButton; BButton* fRevertButton; MouseSettings fSettings; mouse_settings fMouseSettings, fOriginalSettings; }; #endif /* INPUT_MOUSE_H */