mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
- Use Bind instead of connect. It's recommended for anyone using wx 2.9+ - Remove AppConnector. All this did was destroy objects used in the UI. However, wxWidgets handles this. So it's redundant. - Misc other unimportant changes.
39 lines
923 B
C++
39 lines
923 B
C++
#pragma once
|
|
|
|
class VFSEntrySettingsDialog : public wxDialog
|
|
{
|
|
wxTextCtrl* m_tctrl_dev_path;
|
|
wxButton* m_btn_select_dev_path;
|
|
wxTextCtrl* m_tctrl_path;
|
|
wxButton* m_btn_select_path;
|
|
wxTextCtrl* m_tctrl_mount;
|
|
wxChoice* m_ch_type;
|
|
VFSManagerEntry& m_entry;
|
|
|
|
public:
|
|
VFSEntrySettingsDialog(wxWindow* parent, VFSManagerEntry& entry);
|
|
void OnSelectType(wxCommandEvent& event);
|
|
void OnSelectPath(wxCommandEvent& event);
|
|
void OnSelectDevPath(wxCommandEvent& event);
|
|
void OnOk(wxCommandEvent& event);
|
|
};
|
|
|
|
class VFSManagerDialog : public wxDialog
|
|
{
|
|
wxListView* m_list;
|
|
std::vector<VFSManagerEntry> m_entries;
|
|
|
|
public:
|
|
VFSManagerDialog(wxWindow* parent);
|
|
|
|
void UpdateList();
|
|
|
|
void OnEntryConfig(wxCommandEvent& event);
|
|
void OnRightClick(wxMouseEvent& event);
|
|
void OnAdd(wxCommandEvent& event);
|
|
void OnRemove(wxCommandEvent& event);
|
|
|
|
void OnClose(wxCloseEvent& event);
|
|
void LoadEntries();
|
|
void SaveEntries();
|
|
}; |