1 #include "aboutprefs.h"
10 #define _(String) gettext(String)
11 #define gettext_noop(String) String
12 #define N_(String) gettext_noop (String)
15 AboutPrefs::AboutPrefs(MWindow *mwindow, PreferencesWindow *pwindow)
16 : PreferencesDialog(mwindow, pwindow)
20 AboutPrefs::~AboutPrefs()
24 int AboutPrefs::create_objects()
33 BC_Pixmap *temp_pixmap = new BC_Pixmap(this,
34 mwindow->theme->about_bg,
36 draw_pixmap(temp_pixmap,
39 // draw_vframe(mwindow->theme->about_bg,
44 // BC_Pixmap *temp_pixmap2 = new BC_Pixmap(this,
45 // mwindow->theme->about_microsoft,
47 // draw_pixmap(temp_pixmap2,
49 // y + mwindow->theme->about_bg->get_h());
52 // delete temp_pixmap2;
55 x += mwindow->theme->about_bg->get_w() + 10;
56 y += get_text_height(LARGEFONT) * 2;
58 char license1[BCTEXTLEN];
59 sprintf (license1, _("Cinelerra "), VERSION);
63 draw_text(x, y, license1);
65 char license2[BCTEXTLEN];
66 sprintf(license2, "%s%s%s",
67 _("(c) 2003 Heroine Virtual Ltd.\n\n"),
70 y += get_text_height(LARGEFONT) * 2;
72 draw_text(x, y, license2);
77 char license3[BCTEXTLEN];
79 "This program is free software; you can\n"
80 "redistribute it and/or modify it under the terms\n"
81 "of the GNU General Public License as published\n"
82 "by the Free Software Foundation; either version\n"
83 "2 of the License, or (at your option) any later\n"
86 "This program is distributed in the hope that it\n"
87 "will be useful, but WITHOUT ANY WARRANTY;\n"
88 "without even the implied warranty of\n"
89 "MERCHANTABILITY or FITNESS FOR A PARTICULAR\n"
90 "PURPOSE. See the GNU General Public License for\n"
94 draw_text(x, y, license3);
97 char versions[BCTEXTLEN];
99 _("Quicktime version %d.%d.%d\n"
100 "Libmpeg3 version %d.%d.%d\n"),
108 draw_text(10, y, versions);