xref: /haiku/src/add-ons/translators/webp/ConfigView.h (revision 0de25abadc86e260328c6f7c4255acbee8f70d4e)
1 /*
2  * Copyright 2010-2011, Haiku. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Philippe Houdoin
7  */
8 #ifndef CONFIG_VIEW_H
9 #define CONFIG_VIEW_H
10 
11 
12 #include <GroupView.h>
13 
14 class BCheckBox;
15 class BPopUpMenu;
16 class BSlider;
17 class TranslatorSettings;
18 
19 class ConfigView : public BGroupView {
20 public:
21 							ConfigView(TranslatorSettings* settings);
22 	virtual 				~ConfigView();
23 
24 	virtual void 			AttachedToWindow();
25 	virtual void 			MessageReceived(BMessage *message);
26 
27 private:
28 		TranslatorSettings*	fSettings;
29 		BPopUpMenu*			fPresetsMenu;
30 		BSlider*			fQualitySlider;
31 		BSlider*			fMethodSlider;
32 		BCheckBox*			fPreprocessingCheckBox;
33 };
34 
35 
36 #endif	/* CONFIG_VIEW_H */
37