diff options
author | Luis Ibanez <luis.ibanez@kitware.com> | 2001-10-28 23:52:51 (GMT) |
---|---|---|
committer | Luis Ibanez <luis.ibanez@kitware.com> | 2001-10-28 23:52:51 (GMT) |
commit | 88c32dacc7a193a0a05b5c85daa973a56d580d67 (patch) | |
tree | 80243c221ab7b7afd94502e696e363b01aca5d31 /Source/FLTKDialog | |
parent | f90e25894157601d9776f3bf2f04407ce19eebab (diff) | |
download | CMake-88c32dacc7a193a0a05b5c85daa973a56d580d67.zip CMake-88c32dacc7a193a0a05b5c85daa973a56d580d67.tar.gz CMake-88c32dacc7a193a0a05b5c85daa973a56d580d67.tar.bz2 |
ENH: Button were renamed : "Configure", "OK" and "Cancel" as the MFC version.
Diffstat (limited to 'Source/FLTKDialog')
-rw-r--r-- | Source/FLTKDialog/CMakeSetupGUI.cxx | 6 | ||||
-rw-r--r-- | 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 858cacb..a646495 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 90ecd80..fedf2aa 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 } } } |