InfoWindow is now actually functional (Yay!). We got rid of the Action Replay stuff and added the core settings. OGL and D3D stuff still to come.

But it has a bunch of 0s before the actual setting (a 1 or a 0, normally), so someone needs to fix that.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3075 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Marcus Wanners
2009-04-25 18:13:24 +00:00
parent 264737fede
commit ad77806927
2 changed files with 46 additions and 28 deletions

View File

@ -31,8 +31,6 @@
#include <wx/listbox.h>
#include <string>
#include "ActionReplay.h"
#include "Filesystem.h"
#include "IniFile.h"
@ -46,16 +44,11 @@ class wxInfoWindow : public wxFrame
protected:
struct ARCodeIndex {
u32 uiIndex;
size_t index;
};
// Event Table
DECLARE_EVENT_TABLE();
// --- GUI Controls ---
wxGridBagSizer* m_Sizer_TabCheats;
wxNotebook *m_Notebook_Main;
@ -65,26 +58,17 @@ class wxInfoWindow : public wxFrame
wxTextCtrl *m_TextCtrl_Log;
std::vector<ARCodeIndex> indexList;
// GUI IDs
enum
{
ID_NOTEBOOK_MAIN,
ID_TAB_CHEATS,
ID_TAB_LOG,
ID_BUTTON_CLOSE,
ID_LABEL_CODENAME,
ID_GROUPBOX_INFO,
ID_BUTTON_APPLYCODES,
ID_LABEL_NUMCODES,
ID_CHECKBOX_LOGAR,
ID_TEXTCTRL_LOG
};
void Init_ChildControls();
void Load_ARCodes();
// --- Wx Events Handlers ---
// $ Window