MCPcopy Create free account
hub / github.com/MyGUI/mygui / setDialogInfo

Method setDialogInfo

Tools/EditorFramework/OpenSaveFileDialog.cpp:50–63  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48 }
49
50 void OpenSaveFileDialog::setDialogInfo(
51 const MyGUI::UString& _caption,
52 const MyGUI::UString& _button,
53 bool _folderMode)
54 {
55 mFolderMode = _folderMode;
56
57 MyGUI::Window* window = mMainWidget->castType<MyGUI::Window>(false);
58 if (window != nullptr)
59 window->setCaption(_caption);
60
61 mButtonOpenSave->setCaption(_button);
62 mEditFileName->setVisible(!_folderMode);
63 }
64
65 void OpenSaveFileDialog::notifyListChangePosition(MyGUI::ListBox* _sender, size_t _index)
66 {

Callers 15

OnInitialiseMethod · 0.45
showLoadWindowMethod · 0.45
showSaveAsWindowMethod · 0.45
OnInitialiseMethod · 0.45
showLoadWindowMethod · 0.45
showSaveAsWindowMethod · 0.45
CodeGeneratorMethod · 0.45
command_ProjectCreateMethod · 0.45
command_ProjectLoadMethod · 0.45
OnInitialiseMethod · 0.45
showLoadWindowMethod · 0.45
showSaveAsWindowMethod · 0.45

Calls 2

setCaptionMethod · 0.45
setVisibleMethod · 0.45

Tested by

no test coverage detected