From a15152c9191a6146743479de125eb10ca9514b55 Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Fri, 25 Jan 2002 11:34:58 +0000 Subject: [PATCH] =?utf8?q?J=EF=BF=BDrgen=20S's=20form=5Fsendto=20patch.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3434 a592a061-630c-0410-9148-cb99ea01b6c8 --- forms/ChangeLog | 5 +++++ forms/print_form.fd | 10 +++++----- src/print_form.C | 19 ++++++++++++++----- 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/forms/ChangeLog b/forms/ChangeLog index 70dbdb2532..6e2726ecb4 100644 --- a/forms/ChangeLog +++ b/forms/ChangeLog @@ -1,3 +1,8 @@ +2002-01-17 Jürgen Spitzmüller + + * print_form.fd: change these radio buttons to + round3dbutton, too. One never knows ;-) + 2001-07-20 Angus Leeming * sp_form.fd: actually remove it! diff --git a/forms/print_form.fd b/forms/print_form.fd index cd6badea28..320c656718 100644 --- a/forms/print_form.fd +++ b/forms/print_form.fd @@ -157,7 +157,7 @@ callback: argument: -------------------- -class: FL_CHECKBUTTON +class: FL_ROUND3DBUTTON type: RADIO_BUTTON box: 110 30 110 30 boxtype: FL_NO_BOX @@ -175,7 +175,7 @@ callback: argument: -------------------- -class: FL_CHECKBUTTON +class: FL_ROUND3DBUTTON type: RADIO_BUTTON box: 110 60 110 30 boxtype: FL_NO_BOX @@ -193,7 +193,7 @@ callback: argument: -------------------- -class: FL_CHECKBUTTON +class: FL_ROUND3DBUTTON type: RADIO_BUTTON box: 10 60 100 30 boxtype: FL_NO_BOX @@ -212,7 +212,7 @@ argument: value: 1 -------------------- -class: FL_CHECKBUTTON +class: FL_ROUND3DBUTTON type: RADIO_BUTTON box: 10 30 100 30 boxtype: FL_NO_BOX @@ -230,7 +230,7 @@ callback: argument: -------------------- -class: FL_CHECKBUTTON +class: FL_ROUND3DBUTTON type: RADIO_BUTTON box: 220 30 90 30 boxtype: FL_NO_BOX diff --git a/src/print_form.C b/src/print_form.C index 746505a2e0..e6ec3d52c6 100644 --- a/src/print_form.C +++ b/src/print_form.C @@ -37,16 +37,25 @@ FD_form_sendto *create_form_form_sendto(void) fl_set_object_callback(obj, SendtoCancelCB, 0); fdui->group_ftype = fl_bgn_group(); - fdui->radio_ftype_dvi = obj = fl_add_checkbutton(FL_RADIO_BUTTON, 110, 30, 110, 30, idex(_("DVI|#D")));fl_set_button_shortcut(obj, scex(_("DVI|#D")), 1); + fdui->radio_ftype_dvi = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 110, 30, 110, 30, idex(_("DVI|#D")));fl_set_button_shortcut(obj, scex(_("DVI|#D")), 1); + fl_set_object_color(obj, FL_COL1, FL_YELLOW); fl_set_object_lsize(obj, FL_NORMAL_SIZE); - fdui->radio_ftype_ps = obj = fl_add_checkbutton(FL_RADIO_BUTTON, 110, 60, 110, 30, idex(_("Postscript|#P")));fl_set_button_shortcut(obj, scex(_("Postscript|#P")), 1); + + fdui->radio_ftype_ps = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 110, 60, 110, 30, idex(_("Postscript|#P")));fl_set_button_shortcut(obj, scex(_("Postscript|#P")), 1); + fl_set_object_color(obj, FL_COL1, FL_YELLOW); fl_set_object_lsize(obj, FL_NORMAL_SIZE); - fdui->radio_ftype_latex = obj = fl_add_checkbutton(FL_RADIO_BUTTON, 10, 60, 100, 30, idex(_("LaTeX|#T")));fl_set_button_shortcut(obj, scex(_("LaTeX|#T")), 1); + + fdui->radio_ftype_latex = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 10, 60, 100, 30, idex(_("LaTeX|#T")));fl_set_button_shortcut(obj, scex(_("LaTeX|#T")), 1); + fl_set_object_color(obj, FL_COL1, FL_YELLOW); fl_set_object_lsize(obj, FL_NORMAL_SIZE); fl_set_button(obj, 1); - fdui->radio_ftype_lyx = obj = fl_add_checkbutton(FL_RADIO_BUTTON, 10, 30, 100, 30, idex(_("LyX|#L")));fl_set_button_shortcut(obj, scex(_("LyX|#L")), 1); + + fdui->radio_ftype_lyx = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 10, 30, 100, 30, idex(_("LyX|#L")));fl_set_button_shortcut(obj, scex(_("LyX|#L")), 1); + fl_set_object_color(obj, FL_COL1, FL_YELLOW); fl_set_object_lsize(obj, FL_NORMAL_SIZE); - fdui->radio_ftype_ascii = obj = fl_add_checkbutton(FL_RADIO_BUTTON, 220, 30, 90, 30, idex(_("Ascii|#s")));fl_set_button_shortcut(obj, scex(_("Ascii|#s")), 1); + + fdui->radio_ftype_ascii = obj = fl_add_round3dbutton(FL_RADIO_BUTTON, 220, 30, 90, 30, idex(_("Ascii|#s")));fl_set_button_shortcut(obj, scex(_("Ascii|#s")), 1); + fl_set_object_color(obj, FL_COL1, FL_YELLOW); fl_set_object_lsize(obj, FL_NORMAL_SIZE); fl_end_group(); -- 2.39.5