libroot/posix/stdio: Remove unused portions.
[haiku.git] / src / preferences / mouse / SettingsView.h
blob598ae08d5d21719cecdccc8264bab8553de4111c
1 /*
2 * Copyright 2003-2009 Haiku Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
5 * Authors:
6 * Jérôme Duval,
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
15 #include <Box.h>
16 #include <Bitmap.h>
17 #include <Button.h>
18 #include <CheckBox.h>
19 #include <Slider.h>
20 #include <PopUpMenu.h>
23 class MouseSettings;
24 class MouseView;
27 class SettingsView : public BBox {
28 public:
29 SettingsView(MouseSettings &settings);
30 virtual ~SettingsView();
32 virtual void AttachedToWindow();
34 void SetMouseType(int32 type);
35 void MouseMapUpdated();
36 void UpdateFromSettings();
38 private:
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 */