Deleted Added
full compact
ConfigView.cpp (b70b9a38) ConfigView.cpp (f0650dc9)
1/*
2 * Copyright 2004-2006, Axel D��rfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5
6
7#include "ConfigView.h"
8#include "RTFTranslator.h"

--- 6 unchanged lines hidden (view full) ---

15
16#undef B_TRANSLATION_CONTEXT
17#define B_TRANSLATION_CONTEXT "ConfigView"
18
19
20ConfigView::ConfigView(const BRect &frame, uint32 resize, uint32 flags)
21 : BView(frame, B_TRANSLATE("RTF-Translator Settings"), resize, flags)
22{
1/*
2 * Copyright 2004-2006, Axel D��rfler, axeld@pinc-software.de. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 */
5
6
7#include "ConfigView.h"
8#include "RTFTranslator.h"

--- 6 unchanged lines hidden (view full) ---

15
16#undef B_TRANSLATION_CONTEXT
17#define B_TRANSLATION_CONTEXT "ConfigView"
18
19
20ConfigView::ConfigView(const BRect &frame, uint32 resize, uint32 flags)
21 : BView(frame, B_TRANSLATE("RTF-Translator Settings"), resize, flags)
22{
23 SetViewColor(ui_color(B_PANEL_BACKGROUND_COLOR));
23 SetViewUIColor(B_PANEL_BACKGROUND_COLOR);
24
25 BStringView *titleView = new BStringView("title",
26 B_TRANSLATE("Rich Text Format (RTF) translator"));
27 titleView->SetFont(be_bold_font);
28
29
30 char version[256];
31 snprintf(version, sizeof(version), B_TRANSLATE("Version %d.%d.%d, %s"),

--- 20 unchanged lines hidden ---
24
25 BStringView *titleView = new BStringView("title",
26 B_TRANSLATE("Rich Text Format (RTF) translator"));
27 titleView->SetFont(be_bold_font);
28
29
30 char version[256];
31 snprintf(version, sizeof(version), B_TRANSLATE("Version %d.%d.%d, %s"),

--- 20 unchanged lines hidden ---