xref: /haiku/src/add-ons/translators/avif/ConfigView.h (revision 3d4afef9cba2f328e238089d4609d00d4b1524f3)
1 /*
2  * Copyright 2021, Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Emmanuel Gil Peyrot
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*			fPixelFormatMenu;
30 	BCheckBox*			fLosslessCheckBox;
31 	BSlider*			fQualitySlider;
32 	BSlider*			fSpeedSlider;
33 	BSlider*			fHTilesSlider;
34 	BSlider*			fVTilesSlider;
35 };
36 
37 
38 #endif	/* CONFIG_VIEW_H */
39