2 * Copyright 2003-2006, Haiku, Inc.
3 * Distributed under the terms of the MIT license.
7 * Axel Dörfler, axeld@pinc-software.de
13 #include "TranslatorSettings.h"
21 // Config panel messages
22 #define M_PNG_SET_INTERLACE 'pnsi'
25 #define PNG_VIEW_WIDTH 300
26 #define PNG_VIEW_HEIGHT 270
29 class PNGView
: public BView
{
31 PNGView(const BRect
&frame
, const char *name
, uint32 resizeMode
,
32 uint32 flags
, TranslatorSettings
*settings
);
35 virtual void AttachedToWindow();
36 virtual void FrameResized(float width
, float height
);
37 virtual void MessageReceived(BMessage
*message
);
40 BMessage
* _InterlaceMessage(int32 kind
);
43 BPopUpMenu
* fInterlaceMenu
;
44 BTextView
* fCopyrightView
;
45 TranslatorSettings
* fSettings
;
46 // the actual settings for the translator,
47 // shared with the translator