/* * Copyright 2019, Haiku, Inc. * Distributed under the terms of the MIT License. * * Author: * Preetpal Kaur */ #ifndef SETTINGS_VIEW_H #define SETTINGS_VIEW_H #include #include #include #include #include #include class MouseSettings; class MouseView; class SettingsView : public BBox { public: SettingsView(MouseSettings &settings); virtual ~SettingsView(); virtual void AttachedToWindow(); void SetMouseType(int32 type); void MouseMapUpdated(); void UpdateFromSettings(); BPopUpMenu* fFocusFollowsMouseMenu; BCheckBox* fAcceptFirstClickBox; private: typedef BBox inherited; const MouseSettings &fSettings; BPopUpMenu* fTypeMenu; BPopUpMenu* fFocusMenu; MouseView* fMouseView; BSlider* fClickSpeedSlider; BSlider* fMouseSpeedSlider; BSlider* fAccelerationSlider; }; #endif /* SETTINGS_VIEW_H */