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_index.h"
11 #include "FormIndex.h"
13 FD_form_index::~FD_form_index()
15 if( form->visible ) fl_hide_form( form );
20 FD_form_index * FormIndex::build_index()
23 FD_form_index *fdui = new FD_form_index;
25 fdui->form = fl_bgn_form(FL_NO_BOX, 520, 100);
26 fdui->form->u_vdata = this;
27 obj = fl_add_box(FL_UP_BOX, 0, 0, 520, 100, "");
28 fdui->key = obj = fl_add_input(FL_NORMAL_INPUT, 90, 10, 420, 30, _("Keyword"));
29 fl_set_input_shortcut(obj, scex(_("Keyword|#K#k")), 1);
30 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
31 fl_set_object_resize(obj, FL_RESIZE_X);
32 fdui->button_cancel = obj = fl_add_button(FL_NORMAL_BUTTON, 410, 60, 100, 30, _("Cancel"));
33 fl_set_button_shortcut(obj, _("^["), 1);
34 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
35 fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast);
36 fl_set_object_callback(obj, C_FormBaseCancelCB, 0);
37 fdui->ok = obj = fl_add_button(FL_RETURN_BUTTON, 300, 60, 100, 30, _("OK"));
38 fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast);
39 fl_set_object_callback(obj, C_FormBaseOKCB, 0);
42 fdui->form->fdui = fdui;
46 /*---------------------------------------*/