2 * Copyright 2013, Gerasim Troeglazov, 3dEyes@gmail.com. All rights reserved.
3 * Distributed under the terms of the MIT License.
9 #include "TranslatorSettings.h"
14 #include <GroupView.h>
16 #include <MenuField.h>
18 #define MSG_COMPRESSION_CHANGED 'cchg'
19 #define MSG_VERSION_CHANGED 'vchg'
21 class ConfigView
: public BGroupView
{
23 ConfigView(TranslatorSettings
*settings
);
24 virtual ~ConfigView();
26 virtual void AllAttached();
27 virtual void MessageReceived(BMessage
* message
);
30 void _AddItemToMenu(BMenu
* menu
, const char* label
,
31 uint32 mess
, uint32 value
, uint32 current_value
);
33 BTextView
* fCopyrightView
;
34 BMenuField
* fCompressionField
;
35 BMenuField
* fVersionField
;
37 TranslatorSettings
*fSettings
;
40 #endif // CONFIG_VIEW_H