From 88c32dacc7a193a0a05b5c85daa973a56d580d67 Mon Sep 17 00:00:00 2001 From: Luis Ibanez Date: Sun, 28 Oct 2001 18:52:51 -0500 Subject: [PATCH] ENH: Button were renamed : "Configure", "OK" and "Cancel" as the MFC version. --- Source/FLTKDialog/CMakeSetupGUI.cxx | 6 +++--- Source/FLTKDialog/CMakeSetupGUI.fl | 12 ++++++------ 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Source/FLTKDialog/CMakeSetupGUI.cxx b/Source/FLTKDialog/CMakeSetupGUI.cxx index 858cacb32..a64649576 100644 --- a/Source/FLTKDialog/CMakeSetupGUI.cxx +++ b/Source/FLTKDialog/CMakeSetupGUI.cxx @@ -114,12 +114,12 @@ CMakeSetupGUI::CMakeSetupGUI() { o->labelsize(11); o->callback((Fl_Callback*)cb_Browse1); } - { Fl_Button* o = m_CancelButton = new Fl_Button(435, 331, 77, 23, "Quit"); + { Fl_Button* o = m_CancelButton = new Fl_Button(390, 332, 100, 23, "Cancel"); o->shortcut(0x80071); o->labelsize(11); o->callback((Fl_Callback*)cb_m_CancelButton); } - { Fl_Button* o = m_ConfigureButton = new Fl_Button(50, 332, 120, 23, "Configure Only"); + { Fl_Button* o = m_ConfigureButton = new Fl_Button(105, 332, 100, 23, "Configure"); o->shortcut(0x8006d); o->labelsize(11); o->callback((Fl_Callback*)cb_m_ConfigureButton); @@ -167,7 +167,7 @@ CMakeSetupGUI::CMakeSetupGUI() { o->callback((Fl_Callback*)cb_recentBinaryDirectoriesBrowser); o->hide(); } - { Fl_Button* o = m_OKButton = new Fl_Button(210, 332, 190, 23, "Configure and Generate Makefiles"); + { Fl_Button* o = m_OKButton = new Fl_Button(250, 332, 100, 23, "OK"); o->shortcut(0x8006d); o->labelsize(11); o->callback((Fl_Callback*)cb_m_OKButton); diff --git a/Source/FLTKDialog/CMakeSetupGUI.fl b/Source/FLTKDialog/CMakeSetupGUI.fl index 90ecd8007..fedf2aaf9 100644 --- a/Source/FLTKDialog/CMakeSetupGUI.fl +++ b/Source/FLTKDialog/CMakeSetupGUI.fl @@ -36,14 +36,14 @@ recentBinaryDirectoriesBrowser->hide();} xywh {453 49 65 22} shortcut 0x80062 labelsize 11 } Fl_Button m_CancelButton { - label Quit + label Cancel callback {ClickOnCancel();} - xywh {435 331 77 23} shortcut 0x80071 labelsize 11 + xywh {390 332 100 23} shortcut 0x80071 labelsize 11 } Fl_Button m_ConfigureButton { - label {Configure Only} + label Configure callback {ClickOnConfigure();} - xywh {50 332 120 23} shortcut 0x8006d labelsize 11 + xywh {105 332 100 23} shortcut 0x8006d labelsize 11 } Fl_Group {} { xywh {25 80 515 222} box ENGRAVED_BOX labelsize 11 align 0 resizable @@ -80,9 +80,9 @@ recentBinaryDirectoriesBrowser->hide();} xywh {15 70 535 115} type Hold box BORDER_BOX hide } Fl_Button m_OKButton { - label {Configure and Generate Makefiles} + label OK callback {ClickOnOK();} selected - xywh {210 332 190 23} shortcut 0x8006d labelsize 11 + xywh {250 332 100 23} shortcut 0x8006d labelsize 11 } } }