xref: /haiku/src/add-ons/screen_savers/gravity/ConfigView.h (revision 263e936e87a82b9174cc10bbbe1e43010cb92946)
1 /*
2  * Copyright 2012-2013 Tri-Edge AI <triedgeai@gmail.com>
3  * Copyright 2014 Haiku, Inc. All rights reserved.
4  *
5  * Distributed under the terms of the MIT license.
6  *
7  * Authors:
8  *		Tri-Edge AI
9  *		John Scipione, jscipione@gmail.com
10  */
11 #ifndef GRAVITY_CONFIG_VIEW_H
12 #define GRAVITY_CONFIG_VIEW_H
13 
14 
15 #include <View.h>
16 
17 
18 class Gravity;
19 
20 class BListView;
21 class BScrollView;
22 class BSlider;
23 class BStringView;
24 
25 
26 class ConfigView : public BView {
27 public:
28 								ConfigView(BRect frame, Gravity* parent);
29 
30 			void				AllAttached();
31 			void				AttachedToWindow();
32 			void				MessageReceived(BMessage* message);
33 
34 private:
35 			Gravity*			fParent;
36 
37 			BStringView*		fTitleString;
38 			BStringView*		fAuthorString;
39 
40 			BSlider*			fCountSlider;
41 
42 			BStringView*		fShadeString;
43 			BListView*			fShadeList;
44 			BScrollView*		fShadeScroll;
45 };
46 
47 
48 #endif	// GRAVITY_CONFIG_VIEW_H
49