xref: /haiku/src/add-ons/screen_savers/gravity/ConfigView.h (revision a5a3b2d9a3d95cbae71eaf371708c73a1780ac0d)
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	 			AttachedToWindow();
31 			void	 			MessageReceived(BMessage* message);
32 
33 private:
34 			Gravity*			fParent;
35 
36 			BStringView*		fTitleString;
37 			BStringView*		fAuthorString;
38 
39 			BSlider*			fCountSlider;
40 
41 			BStringView*		fShadeString;
42 			BListView*			fShadeList;
43 			BScrollView*		fShadeScroll;
44 };
45 
46 
47 #endif	// GRAVITY_CONFIG_VIEW_H
48