1 // File modified by fdfix.sh for use by lyx (with xforms >= 0.88) and gettext
3 #include "lyx_gui_misc.h"
6 /* Form definition file generated with fdesign. */
8 #include FORMS_H_LOCATION
10 #include "form_tabular_create.h"
11 #include "FormTabularCreate.h"
13 FD_form_tabular_create::~FD_form_tabular_create()
15 if( form->visible ) fl_hide_form( form );
20 FD_form_tabular_create * FormTabularCreate::build_tabular_create()
23 FD_form_tabular_create *fdui = new FD_form_tabular_create;
25 fdui->form = fl_bgn_form(FL_NO_BOX, 310, 130);
26 fdui->form->u_vdata = this;
27 obj = fl_add_box(FL_UP_BOX, 0, 0, 310, 130, "");
28 fdui->button_ok = obj = fl_add_button(FL_RETURN_BUTTON, 10, 90, 90, 30, _("OK"));
29 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
30 fl_set_object_callback(obj, C_FormBaseOKCB, 0);
31 fdui->button_apply = obj = fl_add_button(FL_NORMAL_BUTTON, 110, 90, 90, 30, idex(_("Apply|#A")));
32 fl_set_button_shortcut(obj, scex(_("Apply|#A")), 1);
33 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
34 fl_set_object_callback(obj, C_FormBaseApplyCB, 0);
35 fdui->button_cancel = obj = fl_add_button(FL_NORMAL_BUTTON, 210, 90, 90, 30, idex(_("Cancel|^[")));
36 fl_set_button_shortcut(obj, scex(_("Cancel|^[")), 1);
37 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
38 fl_set_object_callback(obj, C_FormBaseCancelCB, 0);
39 fdui->slider_columns = obj = fl_add_valslider(FL_HOR_SLIDER, 80, 50, 220, 30, _("Columns"));
40 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
41 fl_set_object_lalign(obj, FL_ALIGN_LEFT);
42 fl_set_object_resize(obj, FL_RESIZE_X);
43 fdui->slider_rows = obj = fl_add_valslider(FL_HOR_SLIDER, 80, 10, 220, 30, _("Rows"));
44 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
45 fl_set_object_lalign(obj, FL_ALIGN_LEFT);
46 fl_set_object_resize(obj, FL_RESIZE_X);
49 fdui->form->fdui = fdui;
53 /*---------------------------------------*/