1/*
2 * Copyright 2006, Haiku. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Authors:
6 *		Stephan Aßmus <superstippi@gmx.de>
7 */
8
9#ifndef WONDERBRUSH_VIEW_H
10#define WONDERBRUSH_VIEW_H
11
12#include <View.h>
13#include "TranslatorSettings.h"
14
15class BMenuField;
16
17class WonderBrushView : public BView {
18public:
19	WonderBrushView(const BRect &frame, const char *name, uint32 resize,
20		uint32 flags, TranslatorSettings *settings);
21		// sets up the view
22
23	~WonderBrushView();
24		// releases the WonderBrushTranslator settings
25
26	virtual void AttachedToWindow();
27	virtual void MessageReceived(BMessage *message);
28
29	virtual	void GetPreferredSize(float* width, float* height);
30
31	enum {
32		MSG_COMPRESSION_CHANGED	= 'cmch',
33	};
34
35private:
36	TranslatorSettings *fSettings;
37		// the actual settings for the translator,
38		// shared with the translator
39};
40
41#endif // WONDERBRUSH_VIEW_H
42