void OpenSaveFileDialog::commandOpenSaveFolderUp(const MyGUI::UString& _commandName, bool& _result) { if (!checkCommand()) return; upFolder(); _result = true; }
void OpenSaveFileDialog::notifyListSelectAccept(MyGUI::ListBox* _sender, size_t _index) { if (_index == MyGUI::ITEM_NONE) return; common::FileInfo info = *_sender->getItemDataAt<common::FileInfo>(_index); if (info.folder) { if (info.name == L"..") { upFolder(); } else { mCurrentFolder = common::concatenatePath (mCurrentFolder.asWStr(), info.name); update(); } } else { accept(); } }
void OpenSaveFileDialog::notifyUpButtonClick(MyGUI::Widget* _sender) { upFolder(); }