2 * Copyright 2003-2009 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
7 * Axel Dörfler (axeld@pinc-software.de)
8 * Andrew McCall (mccall@digitalparadise.co.uk)
9 * Brecht Machiels (brecht@mos6581.org)
11 #ifndef SETTINGS_VIEW_H
12 #define SETTINGS_VIEW_H
20 #include <PopUpMenu.h>
27 class SettingsView
: public BBox
{
29 SettingsView(MouseSettings
&settings
);
30 virtual ~SettingsView();
32 virtual void AttachedToWindow();
34 void SetMouseType(int32 type
);
35 void MouseMapUpdated();
36 void UpdateFromSettings();
39 friend class MouseWindow
;
41 typedef BBox inherited
;
43 const MouseSettings
&fSettings
;
45 BPopUpMenu
* fTypeMenu
;
46 BPopUpMenu
* fFocusMenu
;
47 BPopUpMenu
* fFocusFollowsMouseMenu
;
48 BCheckBox
* fAcceptFirstClickBox
;
49 MouseView
* fMouseView
;
50 BSlider
* fClickSpeedSlider
;
51 BSlider
* fMouseSpeedSlider
;
52 BSlider
* fAccelerationSlider
;
55 #endif /* SETTINGS_VIEW_H */