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);
32 char const * const dummy = N_("Apply|#A");
33 fdui->button_apply = obj = fl_add_button(FL_NORMAL_BUTTON, 110, 90, 90, 30, idex(_(dummy)));
34 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
36 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
37 fl_set_object_callback(obj, C_FormBaseApplyCB, 0);
39 char const * const dummy = N_("Cancel|^[");
40 fdui->button_cancel = obj = fl_add_button(FL_NORMAL_BUTTON, 210, 90, 90, 30, idex(_(dummy)));
41 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
43 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
44 fl_set_object_callback(obj, C_FormBaseCancelCB, 0);
45 fdui->slider_columns = obj = fl_add_valslider(FL_HOR_SLIDER, 80, 50, 220, 30, _("Columns"));
46 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
47 fl_set_object_lalign(obj, FL_ALIGN_LEFT);
48 fl_set_object_resize(obj, FL_RESIZE_X);
49 fdui->slider_rows = obj = fl_add_valslider(FL_HOR_SLIDER, 80, 10, 220, 30, _("Rows"));
50 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
51 fl_set_object_lalign(obj, FL_ALIGN_LEFT);
52 fl_set_object_resize(obj, FL_RESIZE_X);
55 fdui->form->fdui = fdui;
59 /*---------------------------------------*/