ENH: Button were renamed : "Configure", "OK" and "Cancel" as the MFC version.
This commit is contained in:
parent
f90e258941
commit
88c32dacc7
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue