]> git.lyx.org Git - features.git/blob - src/frontends/xforms/forms/form_document.C.patch
c18dbfc6cefeea20261042fd97a341384b82c060
[features.git] / src / frontends / xforms / forms / form_document.C.patch
1 --- form_document.C.old Fri Aug 11 15:30:33 2000
2 +++ form_document.C     Fri Aug 11 15:32:41 2000
3 @@ -9,6 +9,8 @@
4  #include <stdlib.h>
5  #include "form_document.h"
6  #include "FormDocument.h" 
7 +#include "bmtable.h"
8 +#include "support/filetools.h"
9  
10  FD_form_tabbed_document * FormDocument::build_tabbed_document()
11  {
12 @@ -321,10 +323,16 @@
13  
14    fdui->form_doc_bullet = fl_bgn_form(FL_NO_BOX, 440, 345);
15    fdui->form_doc_bullet->u_vdata = this;
16 +  fl_set_border_width(-1);
17    obj = fl_add_box(FL_UP_BOX, 0, 0, 440, 345, "");
18 -  fdui->bmtable_bullet_panel = obj = fl_add_pixmapbutton(FL_NORMAL_BUTTON, 90, 105, 260, 180, "");
19 -    fl_set_object_boxtype(obj, FL_NO_BOX);
20 -    fl_set_pixmapbutton_file(obj, _("/nfs/sinco/source/lyx/lyx-devel/lib/images/psnfss2.xpm"));
21 +  fl_set_border_width(-3);
22 +  fdui->bmtable_bullet_panel = obj = fl_add_bmtable(1, 90, 105, 265, 180, "");
23 +  fl_set_object_callback(obj, BulletBMTableCB, 0);
24 +  fl_set_object_lcol(obj, FL_BLUE);
25 +  fl_set_object_boxtype(obj, FL_UP_BOX);
26 +  fl_set_bmtable_pixmap_file(obj, 6, 6,
27 +                            LibFileSearch("images", "standard.xpm").c_str());
28 +  fl_set_border_width(-1);
29    obj = fl_add_frame(FL_ENGRAVED_FRAME, 95, 20, 255, 70, "");
30    fdui->choice_bullet_size = obj = fl_add_choice(FL_NORMAL_CHOICE, 15, 45, 65, 30, idex(_("Size|#z")));
31      fl_set_button_shortcut(obj, scex(_("Size|#z")), 1);
32 @@ -336,6 +344,8 @@
33      fl_set_button_shortcut(obj, scex(_("LaTeX|#L")), 1);
34      fl_set_object_lsize(obj, FL_NORMAL_SIZE);
35      fl_set_object_lstyle(obj, FL_FIXED_STYLE);
36 +    fl_set_input_return(obj, FL_RETURN_CHANGED);
37 +    fl_set_input_maxchars(obj, 80);
38      fl_set_object_callback(obj, InputBulletLaTeXCB, 0);
39  
40    fdui->radio_bullet_depth = fl_bgn_group();