A slightly modified(fixed a memleak and sizer spacing) version of avindra's patch to improve the layout of the new "Cheat Search" dialog.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5942 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Jordan Woyak
2010-07-22 05:28:24 +00:00
parent 6795551a8c
commit 41f5379c8c
2 changed files with 71 additions and 61 deletions

View File

@ -76,9 +76,12 @@ protected:
std::vector<CheatSearchResult> search_results;
unsigned int search_type_size;
wxChoice* search_type;
wxListBox* lbox_search_results;
wxStaticText* label_results_count;
wxTextCtrl* textctrl_value_x;
wxTextCtrl* textctrl_value_x;
wxString* searches;
wxButton *btnInitScan, *btnNextScan;
struct
{
@ -86,12 +89,6 @@ protected:
} size_radiobtn;
struct
{
wxRadioButton *rad_none, *rad_equal, *rad_notequal, *rad_greater, *rad_less;
} filter_radiobtn;
struct
{
wxRadioButton *rad_oldvalue, *rad_uservalue;
@ -99,10 +96,10 @@ protected:
} value_x_radiobtn;
void UpdateCheatSearchResultsList();
void StartNewSearch(wxCommandEvent& event);
void FilterCheatSearchResults(wxCommandEvent& event);
void CreateARCode(wxCommandEvent&);
void ApplyFocus(wxCommandEvent&);
};
class wxCheatsWindow : public wxFrame