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->input_key = obj = fl_add_input(FL_NORMAL_INPUT, 90, 10, 420, 30, _("Keyword"));
29 fl_set_input_shortcut(obj, scex(_("Keyword|#K")), 1);
30 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
31 fl_set_object_resize(obj, FL_RESIZE_X);
32 fl_set_object_callback(obj, C_FormBaseInputCB, 0);
33 fdui->button_restore = obj = fl_add_button(FL_NORMAL_BUTTON, 10, 60, 100, 30, idex(_("Restore|#R")));
34 fl_set_button_shortcut(obj, scex(_("Restore|#R")), 1);
35 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
36 fl_set_object_gravity(obj, FL_SouthWest, FL_SouthWest);
37 fl_set_object_callback(obj, C_FormBaseRestoreCB, 0);
38 fdui->button_ok = obj = fl_add_button(FL_RETURN_BUTTON, 190, 60, 100, 30, _("OK"));
39 fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast);
40 fl_set_object_callback(obj, C_FormBaseOKCB, 0);
41 fdui->button_apply = obj = fl_add_button(FL_NORMAL_BUTTON, 300, 60, 100, 30, idex(_("Apply|#A")));
42 fl_set_button_shortcut(obj, scex(_("Apply|#A")), 1);
43 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
44 fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast);
45 fl_set_object_callback(obj, C_FormBaseApplyCB, 0);
46 fdui->button_cancel = obj = fl_add_button(FL_NORMAL_BUTTON, 410, 60, 100, 30, idex(_("Cancel|#C^[")));
47 fl_set_button_shortcut(obj, scex(_("Cancel|#C^[")), 1);
48 fl_set_object_lsize(obj, FL_NORMAL_SIZE);
49 fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast);
50 fl_set_object_callback(obj, C_FormBaseCancelCB, 0);
53 fdui->form->fdui = fdui;
57 /*---------------------------------------*/