]> git.lyx.org Git - lyx.git/blob - src/frontends/xforms/form_copyright.C
more FILMagain stuff
[lyx.git] / src / frontends / xforms / form_copyright.C
1 // File modified by fdfix.sh for use by lyx (with xforms >= 0.86) and gettext
2 #include <config.h>
3 #include "lyx_gui_misc.h"
4 #include "gettext.h"
5
6 /* Form definition file generated with fdesign. */
7
8 #include FORMS_H_LOCATION
9 #include <stdlib.h>
10 #include "FormCopyright.h"
11
12 FD_form_copyright * FormCopyright::build_copyright()
13 {
14   FL_OBJECT *obj;
15   FD_form_copyright *fdui = new FD_form_copyright;
16
17   fdui->form_copyright = fl_bgn_form(FL_NO_BOX, 450, 430);
18   fdui->form_copyright->u_vdata = this;
19   obj = fl_add_box(FL_UP_BOX, 0, 0, 450, 430, "");
20   obj = fl_add_text(FL_NORMAL_TEXT, 10, 10, 430, 50, _("LyX is Copyright (C) 1995 by Matthias Ettrich, \n1995-2000 LyX Team"));
21     fl_set_object_boxtype(obj, FL_FRAME_BOX);
22     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
23     fl_set_object_lalign(obj, FL_ALIGN_CENTER|FL_ALIGN_INSIDE);
24     fl_set_object_gravity(obj, FL_NorthWest, FL_NorthEast);
25   obj = fl_add_text(FL_NORMAL_TEXT, 10, 70, 430, 110, _("This program is free software; you can redistribute it\nand/or modify it under the terms of the GNU General\nPublic License as published by the Free Software\nFoundation; either version 2 of the License, or\n(at your option) any later version."));
26     fl_set_object_boxtype(obj, FL_FRAME_BOX);
27     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
28     fl_set_object_lalign(obj, FL_ALIGN_CENTER|FL_ALIGN_INSIDE);
29   fdui->button_ok = obj = fl_add_button(FL_RETURN_BUTTON, 160, 390, 140, 30, _("OK"));
30     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
31     fl_set_object_gravity(obj, FL_South, FL_South);
32     fl_set_object_resize(obj, FL_RESIZE_NONE);
33     fl_set_object_callback(obj, C_FormCopyrightOKCB, 0);
34   obj = fl_add_text(FL_NORMAL_TEXT, 10, 190, 430, 190, _("LyX is distributed in the hope that it will\nbe useful, but WITHOUT ANY WARRANTY;\nwithout even the implied warranty of MERCHANTABILITY\nor FITNESS FOR A PARTICULAR PURPOSE.\nSee the GNU General Public License for more details.\nYou should have received a copy of\nthe GNU General Public License\nalong with this program; if not, write to\nthe Free Software Foundation, Inc., \n675 Mass Ave, Cambridge, MA 02139, USA."));
35     fl_set_object_boxtype(obj, FL_FRAME_BOX);
36     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
37     fl_set_object_lalign(obj, FL_ALIGN_CENTER|FL_ALIGN_INSIDE);
38   fl_end_form();
39
40   fdui->form_copyright->fdui = fdui;
41
42   return fdui;
43 }
44 /*---------------------------------------*/
45