// File modified by fdfix.sh for use by lyx (with xforms >= 0.88) and gettext #include #include "xforms_helpers.h" #include "gettext.h" #include "bmtable.h" /* Form definition file generated with fdesign. */ #include FORMS_H_LOCATION #include #include "form_maths_style.h" #include "FormMathsStyle.h" FD_form_maths_style::~FD_form_maths_style() { if ( form->visible ) fl_hide_form( form ); fl_free_form( form ); } FD_form_maths_style * FormMathsStyle::build_maths_style() { FL_OBJECT *obj; FD_form_maths_style *fdui = new FD_form_maths_style; fdui->form = fl_bgn_form(FL_NO_BOX, 257, 253); fdui->form->u_vdata = this; obj = fl_add_box(FL_UP_BOX, 0, 0, 257, 253, ""); fdui->bmtable_font2 = obj = fl_add_bmtable(FL_PUSH_BUTTON, 148, 10, 100, 120, ""); fl_set_object_lcolor(obj, FL_BLUE); fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0); fdui->bmtable_style1 = obj = fl_add_bmtable(FL_PUSH_BUTTON, 8, 10, 60, 60, ""); fl_set_object_lcolor(obj, FL_BLUE); fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0); fdui->button_close = obj = fl_add_button(FL_RETURN_BUTTON, 90, 206, 80, 30, _("Close")); fl_set_object_lsize(obj, FL_NORMAL_SIZE); fl_set_object_callback(obj, C_FormBaseDeprecatedCancelCB, 0); fdui->bmtable_style2 = obj = fl_add_bmtable(FL_PUSH_BUTTON, 8, 70, 60, 120, ""); fl_set_object_lcolor(obj, FL_BLUE); fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0); fdui->bmtable_font1 = obj = fl_add_bmtable(FL_PUSH_BUTTON, 88, 10, 60, 180, ""); fl_set_object_lcolor(obj, FL_BLUE); fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 0); fdui->button_reset = obj = fl_add_button(FL_NORMAL_BUTTON, 148, 160, 100, 30, _("Reset")); fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 13); fdui->button_textrm = obj = fl_add_button(FL_NORMAL_BUTTON, 148, 130, 100, 30, _("textrm")); fl_set_object_lstyle(obj, FL_FIXED_STYLE); fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, 12); fl_end_form(); fdui->form->fdui = fdui; return fdui; } /*---------------------------------------*/