mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-27 03:36:39 +00:00
J�rgen Spitzm�ller's bullet patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3311 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
faf2f08712
commit
0801429e9e
@ -7,6 +7,11 @@
|
|||||||
|
|
||||||
* FormSpellchecker.C: fix possible crash on clicking a suggestion
|
* FormSpellchecker.C: fix possible crash on clicking a suggestion
|
||||||
|
|
||||||
|
2002-01-08 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||||
|
|
||||||
|
* forms/form_document.fd (bullets): fix small cosmetic problem after
|
||||||
|
John's radio2button change.
|
||||||
|
|
||||||
2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
|
2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
|
||||||
|
|
||||||
* FormDocument.C:
|
* FormDocument.C:
|
||||||
|
@ -579,39 +579,39 @@ FD_form_doc_bullet * FormDocument::build_doc_bullet()
|
|||||||
fdui->radio_bullet_depth = fl_bgn_group();
|
fdui->radio_bullet_depth = fl_bgn_group();
|
||||||
{
|
{
|
||||||
char const * const dummy = N_("1|#1");
|
char const * const dummy = N_("1|#1");
|
||||||
fdui->radio_bullet_depth_1 = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 150, 35, 40, 30, idex(_(dummy)));
|
fdui->radio_bullet_depth_1 = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 150, 35, 55, 30, idex(_(dummy)));
|
||||||
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
||||||
}
|
}
|
||||||
fl_set_object_boxtype(obj, FL_UP_BOX);
|
fl_set_object_boxtype(obj, FL_UP_BOX);
|
||||||
fl_set_object_color(obj, FL_COL1, FL_COL1);
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
||||||
fl_set_object_lsize(obj, FL_LARGE_SIZE);
|
fl_set_object_lsize(obj, FL_LARGE_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETDEPTH1);
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETDEPTH1);
|
||||||
fl_set_button(obj, 1);
|
fl_set_button(obj, 1);
|
||||||
{
|
{
|
||||||
char const * const dummy = N_("2|#2");
|
char const * const dummy = N_("2|#2");
|
||||||
fdui->radio_bullet_depth_2 = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 210, 35, 40, 30, idex(_(dummy)));
|
fdui->radio_bullet_depth_2 = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 215, 35, 55, 30, idex(_(dummy)));
|
||||||
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
||||||
}
|
}
|
||||||
fl_set_object_boxtype(obj, FL_UP_BOX);
|
fl_set_object_boxtype(obj, FL_UP_BOX);
|
||||||
fl_set_object_color(obj, FL_COL1, FL_COL1);
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
||||||
fl_set_object_lsize(obj, FL_LARGE_SIZE);
|
fl_set_object_lsize(obj, FL_LARGE_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETDEPTH2);
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETDEPTH2);
|
||||||
{
|
{
|
||||||
char const * const dummy = N_("3|#3");
|
char const * const dummy = N_("3|#3");
|
||||||
fdui->radio_bullet_depth_3 = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 270, 35, 40, 30, idex(_(dummy)));
|
fdui->radio_bullet_depth_3 = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 275, 35, 55, 30, idex(_(dummy)));
|
||||||
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
||||||
}
|
}
|
||||||
fl_set_object_boxtype(obj, FL_UP_BOX);
|
fl_set_object_boxtype(obj, FL_UP_BOX);
|
||||||
fl_set_object_color(obj, FL_COL1, FL_COL1);
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
||||||
fl_set_object_lsize(obj, FL_LARGE_SIZE);
|
fl_set_object_lsize(obj, FL_LARGE_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETDEPTH3);
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETDEPTH3);
|
||||||
{
|
{
|
||||||
char const * const dummy = N_("4|#4");
|
char const * const dummy = N_("4|#4");
|
||||||
fdui->radio_bullet_depth_4 = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 330, 35, 40, 30, idex(_(dummy)));
|
fdui->radio_bullet_depth_4 = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 335, 35, 55, 30, idex(_(dummy)));
|
||||||
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
||||||
}
|
}
|
||||||
fl_set_object_boxtype(obj, FL_UP_BOX);
|
fl_set_object_boxtype(obj, FL_UP_BOX);
|
||||||
fl_set_object_color(obj, FL_COL1, FL_COL1);
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
||||||
fl_set_object_lsize(obj, FL_LARGE_SIZE);
|
fl_set_object_lsize(obj, FL_LARGE_SIZE);
|
||||||
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETDEPTH4);
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETDEPTH4);
|
||||||
fl_end_group();
|
fl_end_group();
|
||||||
@ -627,7 +627,7 @@ FD_form_doc_bullet * FormDocument::build_doc_bullet()
|
|||||||
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
||||||
}
|
}
|
||||||
fl_set_object_boxtype(obj, FL_UP_BOX);
|
fl_set_object_boxtype(obj, FL_UP_BOX);
|
||||||
fl_set_object_color(obj, FL_COL1, FL_COL1);
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_resize(obj, FL_RESIZE_NONE);
|
fl_set_object_resize(obj, FL_RESIZE_NONE);
|
||||||
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETPANEL1);
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETPANEL1);
|
||||||
@ -638,7 +638,7 @@ FD_form_doc_bullet * FormDocument::build_doc_bullet()
|
|||||||
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
||||||
}
|
}
|
||||||
fl_set_object_boxtype(obj, FL_UP_BOX);
|
fl_set_object_boxtype(obj, FL_UP_BOX);
|
||||||
fl_set_object_color(obj, FL_COL1, FL_COL1);
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_resize(obj, FL_RESIZE_NONE);
|
fl_set_object_resize(obj, FL_RESIZE_NONE);
|
||||||
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETPANEL2);
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETPANEL2);
|
||||||
@ -648,7 +648,7 @@ FD_form_doc_bullet * FormDocument::build_doc_bullet()
|
|||||||
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
||||||
}
|
}
|
||||||
fl_set_object_boxtype(obj, FL_UP_BOX);
|
fl_set_object_boxtype(obj, FL_UP_BOX);
|
||||||
fl_set_object_color(obj, FL_COL1, FL_COL1);
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_resize(obj, FL_RESIZE_NONE);
|
fl_set_object_resize(obj, FL_RESIZE_NONE);
|
||||||
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETPANEL3);
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETPANEL3);
|
||||||
@ -658,7 +658,7 @@ FD_form_doc_bullet * FormDocument::build_doc_bullet()
|
|||||||
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
||||||
}
|
}
|
||||||
fl_set_object_boxtype(obj, FL_UP_BOX);
|
fl_set_object_boxtype(obj, FL_UP_BOX);
|
||||||
fl_set_object_color(obj, FL_COL1, FL_COL1);
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_resize(obj, FL_RESIZE_NONE);
|
fl_set_object_resize(obj, FL_RESIZE_NONE);
|
||||||
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETPANEL4);
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETPANEL4);
|
||||||
@ -668,7 +668,7 @@ FD_form_doc_bullet * FormDocument::build_doc_bullet()
|
|||||||
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
||||||
}
|
}
|
||||||
fl_set_object_boxtype(obj, FL_UP_BOX);
|
fl_set_object_boxtype(obj, FL_UP_BOX);
|
||||||
fl_set_object_color(obj, FL_COL1, FL_COL1);
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_resize(obj, FL_RESIZE_NONE);
|
fl_set_object_resize(obj, FL_RESIZE_NONE);
|
||||||
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETPANEL5);
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETPANEL5);
|
||||||
@ -678,7 +678,7 @@ FD_form_doc_bullet * FormDocument::build_doc_bullet()
|
|||||||
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
fl_set_button_shortcut(obj, scex(_(dummy)), 1);
|
||||||
}
|
}
|
||||||
fl_set_object_boxtype(obj, FL_UP_BOX);
|
fl_set_object_boxtype(obj, FL_UP_BOX);
|
||||||
fl_set_object_color(obj, FL_COL1, FL_COL1);
|
fl_set_object_color(obj, FL_COL1, FL_YELLOW);
|
||||||
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
fl_set_object_lsize(obj, FL_NORMAL_SIZE);
|
||||||
fl_set_object_resize(obj, FL_RESIZE_NONE);
|
fl_set_object_resize(obj, FL_RESIZE_NONE);
|
||||||
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETPANEL6);
|
fl_set_object_callback(obj, C_FormBaseDeprecatedInputCB, BULLETPANEL6);
|
||||||
|
@ -1615,9 +1615,9 @@ argument:
|
|||||||
--------------------
|
--------------------
|
||||||
class: FL_ROUND3DBUTTON
|
class: FL_ROUND3DBUTTON
|
||||||
type: RADIO_BUTTON
|
type: RADIO_BUTTON
|
||||||
box: 150 35 40 30
|
box: 150 35 55 30
|
||||||
boxtype: FL_UP_BOX
|
boxtype: FL_UP_BOX
|
||||||
colors: FL_COL1 FL_COL1
|
colors: FL_COL1 FL_YELLOW
|
||||||
alignment: FL_ALIGN_CENTER
|
alignment: FL_ALIGN_CENTER
|
||||||
style: FL_NORMAL_STYLE
|
style: FL_NORMAL_STYLE
|
||||||
size: FL_LARGE_SIZE
|
size: FL_LARGE_SIZE
|
||||||
@ -1634,9 +1634,9 @@ argument: BULLETDEPTH1
|
|||||||
--------------------
|
--------------------
|
||||||
class: FL_ROUND3DBUTTON
|
class: FL_ROUND3DBUTTON
|
||||||
type: RADIO_BUTTON
|
type: RADIO_BUTTON
|
||||||
box: 210 35 40 30
|
box: 215 35 55 30
|
||||||
boxtype: FL_UP_BOX
|
boxtype: FL_UP_BOX
|
||||||
colors: FL_COL1 FL_COL1
|
colors: FL_COL1 FL_YELLOW
|
||||||
alignment: FL_ALIGN_CENTER
|
alignment: FL_ALIGN_CENTER
|
||||||
style: FL_NORMAL_STYLE
|
style: FL_NORMAL_STYLE
|
||||||
size: FL_LARGE_SIZE
|
size: FL_LARGE_SIZE
|
||||||
@ -1652,9 +1652,9 @@ argument: BULLETDEPTH2
|
|||||||
--------------------
|
--------------------
|
||||||
class: FL_ROUND3DBUTTON
|
class: FL_ROUND3DBUTTON
|
||||||
type: RADIO_BUTTON
|
type: RADIO_BUTTON
|
||||||
box: 270 35 40 30
|
box: 275 35 55 30
|
||||||
boxtype: FL_UP_BOX
|
boxtype: FL_UP_BOX
|
||||||
colors: FL_COL1 FL_COL1
|
colors: FL_COL1 FL_YELLOW
|
||||||
alignment: FL_ALIGN_CENTER
|
alignment: FL_ALIGN_CENTER
|
||||||
style: FL_NORMAL_STYLE
|
style: FL_NORMAL_STYLE
|
||||||
size: FL_LARGE_SIZE
|
size: FL_LARGE_SIZE
|
||||||
@ -1670,9 +1670,9 @@ argument: BULLETDEPTH3
|
|||||||
--------------------
|
--------------------
|
||||||
class: FL_ROUND3DBUTTON
|
class: FL_ROUND3DBUTTON
|
||||||
type: RADIO_BUTTON
|
type: RADIO_BUTTON
|
||||||
box: 330 35 40 30
|
box: 335 35 55 30
|
||||||
boxtype: FL_UP_BOX
|
boxtype: FL_UP_BOX
|
||||||
colors: FL_COL1 FL_COL1
|
colors: FL_COL1 FL_YELLOW
|
||||||
alignment: FL_ALIGN_CENTER
|
alignment: FL_ALIGN_CENTER
|
||||||
style: FL_NORMAL_STYLE
|
style: FL_NORMAL_STYLE
|
||||||
size: FL_LARGE_SIZE
|
size: FL_LARGE_SIZE
|
||||||
@ -1744,7 +1744,7 @@ class: FL_ROUND3DBUTTON
|
|||||||
type: RADIO_BUTTON
|
type: RADIO_BUTTON
|
||||||
box: 15 105 90 30
|
box: 15 105 90 30
|
||||||
boxtype: FL_UP_BOX
|
boxtype: FL_UP_BOX
|
||||||
colors: FL_COL1 FL_COL1
|
colors: FL_COL1 FL_YELLOW
|
||||||
alignment: FL_ALIGN_CENTER
|
alignment: FL_ALIGN_CENTER
|
||||||
style: FL_NORMAL_STYLE
|
style: FL_NORMAL_STYLE
|
||||||
size: FL_NORMAL_SIZE
|
size: FL_NORMAL_SIZE
|
||||||
@ -1763,7 +1763,7 @@ class: FL_ROUND3DBUTTON
|
|||||||
type: RADIO_BUTTON
|
type: RADIO_BUTTON
|
||||||
box: 15 135 90 30
|
box: 15 135 90 30
|
||||||
boxtype: FL_UP_BOX
|
boxtype: FL_UP_BOX
|
||||||
colors: FL_COL1 FL_COL1
|
colors: FL_COL1 FL_YELLOW
|
||||||
alignment: FL_ALIGN_CENTER
|
alignment: FL_ALIGN_CENTER
|
||||||
style: FL_NORMAL_STYLE
|
style: FL_NORMAL_STYLE
|
||||||
size: FL_NORMAL_SIZE
|
size: FL_NORMAL_SIZE
|
||||||
@ -1781,7 +1781,7 @@ class: FL_ROUND3DBUTTON
|
|||||||
type: RADIO_BUTTON
|
type: RADIO_BUTTON
|
||||||
box: 15 195 90 30
|
box: 15 195 90 30
|
||||||
boxtype: FL_UP_BOX
|
boxtype: FL_UP_BOX
|
||||||
colors: FL_COL1 FL_COL1
|
colors: FL_COL1 FL_YELLOW
|
||||||
alignment: FL_ALIGN_CENTER
|
alignment: FL_ALIGN_CENTER
|
||||||
style: FL_NORMAL_STYLE
|
style: FL_NORMAL_STYLE
|
||||||
size: FL_NORMAL_SIZE
|
size: FL_NORMAL_SIZE
|
||||||
@ -1799,7 +1799,7 @@ class: FL_ROUND3DBUTTON
|
|||||||
type: RADIO_BUTTON
|
type: RADIO_BUTTON
|
||||||
box: 15 225 90 30
|
box: 15 225 90 30
|
||||||
boxtype: FL_UP_BOX
|
boxtype: FL_UP_BOX
|
||||||
colors: FL_COL1 FL_COL1
|
colors: FL_COL1 FL_YELLOW
|
||||||
alignment: FL_ALIGN_CENTER
|
alignment: FL_ALIGN_CENTER
|
||||||
style: FL_NORMAL_STYLE
|
style: FL_NORMAL_STYLE
|
||||||
size: FL_NORMAL_SIZE
|
size: FL_NORMAL_SIZE
|
||||||
@ -1817,7 +1817,7 @@ class: FL_ROUND3DBUTTON
|
|||||||
type: RADIO_BUTTON
|
type: RADIO_BUTTON
|
||||||
box: 15 255 90 30
|
box: 15 255 90 30
|
||||||
boxtype: FL_UP_BOX
|
boxtype: FL_UP_BOX
|
||||||
colors: FL_COL1 FL_COL1
|
colors: FL_COL1 FL_YELLOW
|
||||||
alignment: FL_ALIGN_CENTER
|
alignment: FL_ALIGN_CENTER
|
||||||
style: FL_NORMAL_STYLE
|
style: FL_NORMAL_STYLE
|
||||||
size: FL_NORMAL_SIZE
|
size: FL_NORMAL_SIZE
|
||||||
@ -1835,7 +1835,7 @@ class: FL_ROUND3DBUTTON
|
|||||||
type: RADIO_BUTTON
|
type: RADIO_BUTTON
|
||||||
box: 15 165 90 30
|
box: 15 165 90 30
|
||||||
boxtype: FL_UP_BOX
|
boxtype: FL_UP_BOX
|
||||||
colors: FL_COL1 FL_COL1
|
colors: FL_COL1 FL_YELLOW
|
||||||
alignment: FL_ALIGN_CENTER
|
alignment: FL_ALIGN_CENTER
|
||||||
style: FL_NORMAL_STYLE
|
style: FL_NORMAL_STYLE
|
||||||
size: FL_NORMAL_SIZE
|
size: FL_NORMAL_SIZE
|
||||||
|
Loading…
Reference in New Issue
Block a user