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_citation.h"
11 #include "FormCitation.h"
13 FD_form_citation::~FD_form_citation()
15 if ( form->visible ) fl_hide_form( form );
20 FD_form_citation * FormCitation::build_citation()
23 FD_form_citation *fdui = new FD_form_citation;
25 fdui->form = fl_bgn_form(FL_NO_BOX, 435, 665);
26 fdui->form->u_vdata = this;
27 fdui->box = obj = fl_add_box(FL_UP_BOX, 0, 0, 435, 665, "");
28 fl_set_object_resize(obj, FL_RESIZE_X);
29 fdui->citeBrsr = obj = fl_add_browser(FL_HOLD_BROWSER, 10, 30, 180, 300, _("Inset keys"));
30 fl_set_object_lalign(obj, FL_ALIGN_TOP_LEFT);
31 fl_set_object_resize(obj, FL_RESIZE_X);
32 fl_set_object_callback(obj, C_FormBaseInputCB, CITEBRSR);
33 fdui->bibBrsr = obj = fl_add_browser(FL_HOLD_BROWSER, 240, 30, 180, 300, _("Bibliography keys"));
34 fl_set_object_lalign(obj, FL_ALIGN_TOP_LEFT);
35 fl_set_object_resize(obj, FL_RESIZE_X);
36 fl_set_object_callback(obj, C_FormBaseInputCB, BIBBRSR);
37 fdui->addBtn = obj = fl_add_button(FL_NORMAL_BUTTON, 200, 30, 30, 30, _("@4->"));
38 fl_set_object_resize(obj, FL_RESIZE_NONE);
39 fl_set_object_callback(obj, C_FormBaseInputCB, ADD);
40 fdui->delBtn = obj = fl_add_button(FL_NORMAL_BUTTON, 200, 65, 30, 30, _("@9+"));
41 fl_set_object_resize(obj, FL_RESIZE_NONE);
42 fl_set_object_callback(obj, C_FormBaseInputCB, DELETE);
43 fdui->upBtn = obj = fl_add_button(FL_NORMAL_BUTTON, 200, 100, 30, 30, _("@8->"));
44 fl_set_object_resize(obj, FL_RESIZE_NONE);
45 fl_set_object_callback(obj, C_FormBaseInputCB, UP);
46 fdui->downBtn = obj = fl_add_button(FL_NORMAL_BUTTON, 200, 135, 30, 30, _("@2->"));
47 fl_set_object_resize(obj, FL_RESIZE_NONE);
48 fl_set_object_callback(obj, C_FormBaseInputCB, DOWN);
49 fdui->infoBrsr = obj = fl_add_browser(FL_NORMAL_BROWSER, 10, 360, 410, 80, _("Info"));
50 fl_set_object_lalign(obj, FL_ALIGN_TOP_LEFT);
51 fl_set_object_resize(obj, FL_RESIZE_X);
52 fdui->style = obj = fl_add_choice(FL_NORMAL_CHOICE, 160, 470, 130, 30, idex(_("Citation style|#s")));
53 fl_set_button_shortcut(obj, scex(_("Citation style|#s")), 1);
54 fl_set_object_boxtype(obj, FL_DOWN_BOX);
55 fl_set_object_resize(obj, FL_RESIZE_X);
56 fdui->textBefore = obj = fl_add_input(FL_NORMAL_INPUT, 100, 520, 250, 30, idex(_("Text before|#b")));
57 fl_set_button_shortcut(obj, scex(_("Text before|#b")), 1);
58 fl_set_object_resize(obj, FL_RESIZE_X);
59 fdui->textAftr = obj = fl_add_input(FL_NORMAL_INPUT, 100, 570, 250, 30, idex(_("Text after|#a")));
60 fl_set_button_shortcut(obj, scex(_("Text after|#a")), 1);
61 fl_set_object_resize(obj, FL_RESIZE_X);
62 fdui->button_ok = obj = fl_add_button(FL_RETURN_BUTTON, 130, 630, 90, 30, _("OK"));
63 fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast);
64 fl_set_object_callback(obj, C_FormBaseOKCB, 0);
65 fdui->button_apply = obj = fl_add_button(FL_NORMAL_BUTTON, 230, 630, 90, 30, idex(_("Apply|#A")));
66 fl_set_button_shortcut(obj, scex(_("Apply|#A")), 1);
67 fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast);
68 fl_set_object_callback(obj, C_FormBaseApplyCB, 0);
69 fdui->button_cancel = obj = fl_add_button(FL_NORMAL_BUTTON, 330, 630, 90, 30, idex(_("Cancel|#C^[")));
70 fl_set_button_shortcut(obj, scex(_("Cancel|#C^[")), 1);
71 fl_set_object_gravity(obj, FL_SouthEast, FL_SouthEast);
72 fl_set_object_callback(obj, C_FormBaseCancelCB, 0);
73 fdui->button_restore = obj = fl_add_button(FL_NORMAL_BUTTON, 10, 630, 90, 30, idex(_("Restore|#R")));
74 fl_set_button_shortcut(obj, scex(_("Restore|#R")), 1);
75 fl_set_object_gravity(obj, FL_SouthWest, FL_SouthWest);
76 fl_set_object_callback(obj, C_FormBaseRestoreCB, 0);
79 fdui->form->fdui = fdui;
83 /*---------------------------------------*/