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_bibitem.h"
11 #include "FormBibitem.h"
13 FD_form_bibitem::~FD_form_bibitem()
15 if ( form->visible ) fl_hide_form( form );
20 FD_form_bibitem * FormBibitem::build_bibitem()
23 FD_form_bibitem *fdui = new FD_form_bibitem;
25 fdui->form = fl_bgn_form(FL_NO_BOX, 220, 130);
26 fdui->form->u_vdata = this;
27 obj = fl_add_box(FL_UP_BOX, 0, 0, 220, 130, "");
29 char const * const dummy = N_("Key:|#K");
30 fdui->key = obj = fl_add_input(FL_NORMAL_INPUT, 80, 10, 130, 30, idex(_(dummy)));
31 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
33 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
34 fl_set_object_callback(obj, C_FormBaseInputCB, 0);
35 fdui->button_ok = obj = fl_add_button(FL_RETURN_BUTTON, 20, 90, 90, 30, _("OK"));
36 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
37 fl_set_object_callback(obj, C_FormBaseOKCB, 3);
39 char const * const dummy = N_("Cancel|^[");
40 fdui->button_cancel = obj = fl_add_button(FL_NORMAL_BUTTON, 120, 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, 2);
46 char const * const dummy = N_("Label:|#L");
47 fdui->label = obj = fl_add_input(FL_NORMAL_INPUT, 80, 50, 130, 30, idex(_(dummy)));
48 fl_set_button_shortcut(obj, scex(_(dummy)), 1);
50 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
51 fl_set_object_callback(obj, C_FormBaseInputCB, 0);
54 fdui->form->fdui = fdui;
58 /*---------------------------------------*/