1 // File modified by fdfix.sh for use by lyx (with xforms >= 0.88) and gettext
3 #include "xforms_helpers.h"
6 /* Form definition file generated with fdesign. */
8 #include FORMS_H_LOCATION
10 #include "form_maths_space.h"
11 #include "FormMathsSpace.h"
13 FD_form_maths_space::~FD_form_maths_space()
15 if ( form->visible ) fl_hide_form( form );
20 FD_form_maths_space * FormMathsSpace::build_maths_space()
23 FD_form_maths_space *fdui = new FD_form_maths_space;
25 fdui->form = fl_bgn_form(FL_NO_BOX, 259, 149);
26 fdui->form->u_vdata = this;
27 obj = fl_add_box(FL_UP_BOX, 0, 0, 259, 149, "");
30 char const * const dummy = N_("Thin|#T");
31 fdui->button_thin = obj = fl_add_button(FL_NORMAL_BUTTON, 10, 10, 120, 30, idex(_(dummy)));
32 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
34 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
35 fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 1);
37 char const * const dummy = N_("Medium|#M");
38 fdui->button_medium = obj = fl_add_button(FL_NORMAL_BUTTON, 10, 40, 120, 30, idex(_(dummy)));
39 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
41 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
42 fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 2);
44 char const * const dummy = N_("Thick|#H");
45 fdui->button_thick = obj = fl_add_button(FL_NORMAL_BUTTON, 10, 70, 120, 30, idex(_(dummy)));
46 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
48 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
49 fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 3);
51 char const * const dummy = N_("Negative|#N");
52 fdui->button_negative = obj = fl_add_button(FL_NORMAL_BUTTON, 130, 10, 120, 30, idex(_(dummy)));
53 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
55 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
56 fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
58 char const * const dummy = N_("Quadratin|#Q");
59 fdui->button_quadratin = obj = fl_add_button(FL_NORMAL_BUTTON, 130, 40, 120, 30, idex(_(dummy)));
60 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
62 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
63 fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 4);
65 char const * const dummy = N_("2Quadratin|#2");
66 fdui->button_twoquadratin = obj = fl_add_button(FL_NORMAL_BUTTON, 130, 70, 120, 30, idex(_(dummy)));
67 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
69 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
70 fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 5);
73 fdui->button_close = obj = fl_add_button(FL_RETURN_BUTTON, 92, 110, 80, 30, _("Close"));
74 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
75 fl_set_object_callback(obj, C_FormBaseDeprecatedCancelCB, 0);
78 fdui->form->fdui = fdui;
82 /*---------------------------------------*/