]> git.lyx.org Git - lyx.git/blob - src/credits_form.C
white-space changes, removed definitions.h several enum changes because of this,...
[lyx.git] / src / credits_form.C
1 // File modified by fdfix.sh for use by lyx (with xforms 0.81) 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 "credits_form.h"
11
12 FD_form_credits *create_form_form_credits(void)
13 {
14   FL_OBJECT *obj;
15   FD_form_credits *fdui = (FD_form_credits *) fl_calloc(1, sizeof(FD_form_credits));
16
17   fdui->form_credits = fl_bgn_form(FL_NO_BOX, 500, 330);
18   obj = fl_add_box(FL_UP_BOX, 0, 0, 500, 330, "");
19   obj = fl_add_button(FL_RETURN_BUTTON, 180, 290, 140, 30, _("OK"));
20     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
21     fl_set_object_gravity(obj, FL_South, FL_South);
22     fl_set_object_resize(obj, FL_RESIZE_NONE);
23     fl_set_object_callback(obj, CreditsOKCB, 0);
24   obj = fl_add_text(FL_NORMAL_TEXT, 10, 40, 480, 30, _("Matthias"));
25     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
26     fl_set_object_lalign(obj, FL_ALIGN_CENTER|FL_ALIGN_INSIDE);
27     fl_set_object_lstyle(obj, FL_ITALIC_STYLE);
28     fl_set_object_gravity(obj, FL_NorthWest, FL_NorthEast);
29   obj = fl_add_text(FL_NORMAL_TEXT, 10, 10, 480, 30, _("All these people have contributed to the LyX project. Thanks,"));
30     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
31     fl_set_object_lalign(obj, FL_ALIGN_CENTER|FL_ALIGN_INSIDE);
32     fl_set_object_gravity(obj, FL_NorthWest, FL_NorthEast);
33   fdui->browser_credits = obj = fl_add_browser(FL_NORMAL_BROWSER, 10, 80, 480, 200, "");
34     fl_set_object_gravity(obj, FL_NorthWest, FL_SouthEast);
35   fl_end_form();
36
37   //fdui->form_credits->fdui = fdui;
38
39   return fdui;
40 }
41 /*---------------------------------------*/
42
43 FD_copyright *create_form_copyright(void)
44 {
45   FL_OBJECT *obj;
46   FD_copyright *fdui = (FD_copyright *) fl_calloc(1, sizeof(FD_copyright));
47
48   fdui->copyright = fl_bgn_form(FL_NO_BOX, 450, 430);
49   obj = fl_add_box(FL_UP_BOX, 0, 0, 450, 430, "");
50   obj = fl_add_text(FL_NORMAL_TEXT, 10, 10, 430, 50, _("LyX is Copyright (C) 1995 by Matthias Ettrich,\n1995-1999 LyX Team"));
51     fl_set_object_boxtype(obj, FL_FRAME_BOX);
52     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
53     fl_set_object_lalign(obj, FL_ALIGN_CENTER|FL_ALIGN_INSIDE);
54     fl_set_object_gravity(obj, FL_NorthWest, FL_NorthEast);
55   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."));
56     fl_set_object_boxtype(obj, FL_FRAME_BOX);
57     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
58     fl_set_object_lalign(obj, FL_ALIGN_CENTER|FL_ALIGN_INSIDE);
59   obj = fl_add_button(FL_RETURN_BUTTON, 160, 390, 140, 30, _("OK"));
60     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
61     fl_set_object_gravity(obj, FL_South, FL_South);
62     fl_set_object_resize(obj, FL_RESIZE_NONE);
63     fl_set_object_callback(obj, CopyrightOKCB, 0);
64   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."));
65     fl_set_object_boxtype(obj, FL_FRAME_BOX);
66     fl_set_object_lsize(obj, FL_NORMAL_SIZE);
67     fl_set_object_lalign(obj, FL_ALIGN_CENTER|FL_ALIGN_INSIDE);
68   fl_end_form();
69
70   //fdui->copyright->fdui = fdui;
71
72   return fdui;
73 }
74 /*---------------------------------------*/
75