xref: /haiku/src/preferences/appearance/APRWindow.h (revision 220d04022750f40f8bac8f01fa551211e28d04f2)
1 /*
2  * Copyright 2002-2012, Haiku. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		DarkWyrm (darkwyrm@earthlink.net)
7  *		Alexander von Gluck, kallisti5@unixzen.com
8  *		Stephan Aßmus <superstippi@gmx.de>
9  */
10 #ifndef APR_WINDOW_H
11 #define APR_WINDOW_H
12 
13 
14 #include <Application.h>
15 #include <Button.h>
16 #include <Window.h>
17 #include <Message.h>
18 #include <TabView.h>
19 
20 class APRView;
21 class AntialiasingSettingsView;
22 class FontView;
23 class LookAndFeelSettingsView;
24 
25 
26 class APRWindow : public BWindow {
27 public:
28 							APRWindow(BRect frame);
29 			void			MessageReceived(BMessage *message);
30 
31 private:
32 			void			_UpdateButtons();
33 			bool			_IsDefaultable() const;
34 			bool			_IsRevertable() const;
35 
36 		APRView*			fColorsView;
37 		BButton*			fDefaultsButton;
38 		BButton*			fRevertButton;
39 
40 		AntialiasingSettingsView* fAntialiasingSettings;
41 		FontView*			fFontSettings;
42 		LookAndFeelSettingsView*	fLookAndFeelSettings;
43 };
44 
45 
46 static const int32 kMsgUpdate = 'updt';
47 
48 
49 #endif
50