2015-03-18 22:00:27 +00:00
|
|
|
// Copyright 2015 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2015-03-18 22:00:27 +00:00
|
|
|
// Refer to the license.txt file included.
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <wx/panel.h>
|
|
|
|
|
|
|
|
class wxButton;
|
|
|
|
class wxCheckBox;
|
|
|
|
class wxListBox;
|
|
|
|
class wxDirPickerCtrl;
|
|
|
|
class wxFilePickerCtrl;
|
|
|
|
|
|
|
|
class PathConfigPane final : public wxPanel
|
|
|
|
{
|
|
|
|
public:
|
2016-06-24 08:43:46 +00:00
|
|
|
PathConfigPane(wxWindow* parent, wxWindowID id);
|
2015-03-18 22:00:27 +00:00
|
|
|
|
|
|
|
private:
|
2016-06-24 08:43:46 +00:00
|
|
|
void InitializeGUI();
|
|
|
|
void LoadGUIValues();
|
2016-11-05 12:29:29 +00:00
|
|
|
void BindEvents();
|
2016-06-24 08:43:46 +00:00
|
|
|
|
|
|
|
void OnISOPathSelectionChanged(wxCommandEvent&);
|
|
|
|
void OnRecursiveISOCheckBoxChanged(wxCommandEvent&);
|
|
|
|
void OnAddISOPath(wxCommandEvent&);
|
|
|
|
void OnRemoveISOPath(wxCommandEvent&);
|
|
|
|
void OnDefaultISOChanged(wxCommandEvent&);
|
|
|
|
void OnDVDRootChanged(wxCommandEvent&);
|
|
|
|
void OnApploaderPathChanged(wxCommandEvent&);
|
|
|
|
void OnNANDRootChanged(wxCommandEvent&);
|
2016-06-25 15:24:43 +00:00
|
|
|
void OnDumpPathChanged(wxCommandEvent&);
|
2016-07-27 07:32:27 +00:00
|
|
|
void OnSdCardPathChanged(wxCommandEvent&);
|
2016-06-24 08:43:46 +00:00
|
|
|
|
|
|
|
void SaveISOPathChanges();
|
|
|
|
|
|
|
|
wxListBox* m_iso_paths_listbox;
|
|
|
|
wxCheckBox* m_recursive_iso_paths_checkbox;
|
|
|
|
wxButton* m_add_iso_path_button;
|
|
|
|
wxButton* m_remove_iso_path_button;
|
|
|
|
|
|
|
|
wxDirPickerCtrl* m_dvd_root_dirpicker;
|
|
|
|
wxDirPickerCtrl* m_nand_root_dirpicker;
|
|
|
|
wxFilePickerCtrl* m_default_iso_filepicker;
|
|
|
|
wxFilePickerCtrl* m_apploader_path_filepicker;
|
2016-06-25 15:24:43 +00:00
|
|
|
wxDirPickerCtrl* m_dump_path_dirpicker;
|
2016-07-27 07:32:27 +00:00
|
|
|
wxFilePickerCtrl* m_wii_sdcard_filepicker;
|
2015-03-18 22:00:27 +00:00
|
|
|
};
|