1 // File modified by fdfix.sh for use by lyx (with xforms >= 0.88) and gettext
3 #include "lyx_gui_misc.h"
7 /* Form definition file generated with fdesign. */
9 #include FORMS_H_LOCATION
11 #include "form_maths_delim.h"
12 #include "FormMathsDelim.h"
14 FD_form_maths_delim::~FD_form_maths_delim()
16 if ( form->visible ) fl_hide_form( form );
21 FD_form_maths_delim * FormMathsDelim::build_maths_delim()
24 FD_form_maths_delim *fdui = new FD_form_maths_delim;
26 fdui->form = fl_bgn_form(FL_NO_BOX, 250, 260);
27 fdui->form->u_vdata = this;
28 obj = fl_add_box(FL_UP_BOX, 0, 0, 250, 260, "");
29 fdui->bmtable = obj = fl_add_bmtable(FL_PUSH_BUTTON, 40, 70, 170, 140, "");
30 fl_set_object_lcolor(obj, FL_BLUE);
31 fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0);
33 fdui->lado = fl_bgn_group();
35 char const * const dummy = N_("Right|#R");
36 fdui->radio_right = obj = fl_add_checkbutton(FL_RADIO_BUTTON, 40, 40, 80, 30, idex(_(dummy)));
37 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
39 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
41 char const * const dummy = N_("Left|#L");
42 fdui->radio_left = obj = fl_add_checkbutton(FL_RADIO_BUTTON, 40, 10, 80, 30, idex(_(dummy)));
43 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
45 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
49 char const * const dummy = N_("Cancel|^[");
50 fdui->button_cancel = obj = fl_add_button(FL_NORMAL_BUTTON, 170, 220, 70, 30, idex(_(dummy)));
51 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
53 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
54 fl_set_object_callback(obj, C_FormBaseDeprecatedCancelCB, 0);
55 fdui->button_pix = obj = fl_add_pixmapbutton(FL_NORMAL_BUTTON, 130, 20, 50, 40, "");
56 fl_set_object_color(obj, FL_COL1, FL_COL1);
57 fl_set_object_callback(obj, C_FormBaseDeprecatedApplyCB, 0);
59 char const * const dummy = N_("Apply|#A");
60 fdui->button_apply = obj = fl_add_button(FL_NORMAL_BUTTON, 90, 220, 70, 30, idex(_(dummy)));
61 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
63 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
64 fl_set_object_callback(obj, C_FormBaseDeprecatedApplyCB, 0);
65 fdui->button_ok = obj = fl_add_button(FL_RETURN_BUTTON, 10, 220, 70, 30, _("OK"));
66 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
67 fl_set_object_callback(obj, C_FormBaseDeprecatedOKCB, 0);
70 fdui->form->fdui = fdui;
74 /*---------------------------------------*/