mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Reformat all the things. Have fun with merge conflicts.
This commit is contained in:
@ -19,35 +19,32 @@ class wxTextCtrl;
|
||||
class CPatchAddEdit : public wxDialog
|
||||
{
|
||||
public:
|
||||
CPatchAddEdit(int _selection, std::vector<PatchEngine::Patch>* _onFrame,
|
||||
wxWindow* parent,
|
||||
wxWindowID id = wxID_ANY,
|
||||
const wxString& title = _("Edit Patch"),
|
||||
const wxPoint& pos = wxDefaultPosition,
|
||||
const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_DIALOG_STYLE);
|
||||
virtual ~CPatchAddEdit();
|
||||
CPatchAddEdit(int _selection, std::vector<PatchEngine::Patch>* _onFrame, wxWindow* parent,
|
||||
wxWindowID id = wxID_ANY, const wxString& title = _("Edit Patch"),
|
||||
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
||||
long style = wxDEFAULT_DIALOG_STYLE);
|
||||
virtual ~CPatchAddEdit();
|
||||
|
||||
private:
|
||||
wxTextCtrl* EditPatchName;
|
||||
wxTextCtrl* EditPatchOffset;
|
||||
wxRadioBox* EditPatchType;
|
||||
wxTextCtrl* EditPatchValue;
|
||||
wxSpinButton* EntrySelection;
|
||||
wxButton* EntryAdd;
|
||||
wxButton* EntryRemove;
|
||||
wxStaticBoxSizer* sbEntry;
|
||||
std::vector<PatchEngine::Patch>* onFrame;
|
||||
wxTextCtrl* EditPatchName;
|
||||
wxTextCtrl* EditPatchOffset;
|
||||
wxRadioBox* EditPatchType;
|
||||
wxTextCtrl* EditPatchValue;
|
||||
wxSpinButton* EntrySelection;
|
||||
wxButton* EntryAdd;
|
||||
wxButton* EntryRemove;
|
||||
wxStaticBoxSizer* sbEntry;
|
||||
std::vector<PatchEngine::Patch>* onFrame;
|
||||
|
||||
void CreateGUIControls(int selection);
|
||||
void ChangeEntry(wxSpinEvent& event);
|
||||
void SavePatchData(wxCommandEvent& event);
|
||||
void AddEntry(wxCommandEvent& event);
|
||||
void RemoveEntry(wxCommandEvent& event);
|
||||
void UpdateEntryCtrls(PatchEngine::PatchEntry pE);
|
||||
bool UpdateTempEntryData(std::vector<PatchEngine::PatchEntry>::iterator iterEntry);
|
||||
void CreateGUIControls(int selection);
|
||||
void ChangeEntry(wxSpinEvent& event);
|
||||
void SavePatchData(wxCommandEvent& event);
|
||||
void AddEntry(wxCommandEvent& event);
|
||||
void RemoveEntry(wxCommandEvent& event);
|
||||
void UpdateEntryCtrls(PatchEngine::PatchEntry pE);
|
||||
bool UpdateTempEntryData(std::vector<PatchEngine::PatchEntry>::iterator iterEntry);
|
||||
|
||||
int selection, currentItem;
|
||||
std::vector<PatchEngine::PatchEntry> tempEntries;
|
||||
std::vector<PatchEngine::PatchEntry>::iterator itCurEntry;
|
||||
int selection, currentItem;
|
||||
std::vector<PatchEngine::PatchEntry> tempEntries;
|
||||
std::vector<PatchEngine::PatchEntry>::iterator itCurEntry;
|
||||
};
|
||||
|
Reference in New Issue
Block a user