mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-03 03:22:30 +02:00
fb36de2338
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5930 8ced0084-cf51-0410-be5f-012b33b47a6e
45 lines
713 B
C++
45 lines
713 B
C++
|
|
#ifndef __GECKOCODEDIAG_h__
|
|
#define __GECKOCODEDIAG_h__
|
|
|
|
#include "GeckoCode.h"
|
|
#include "GeckoCodeConfig.h"
|
|
|
|
#include "wx/wx.h"
|
|
|
|
namespace Gecko
|
|
{
|
|
|
|
|
|
class CodeConfigPanel : public wxPanel
|
|
{
|
|
public:
|
|
CodeConfigPanel(wxWindow* const parent);
|
|
|
|
|
|
void LoadCodes(const IniFile& inifile);
|
|
const std::vector<GeckoCode>& GetCodes() const { return m_gcodes; }
|
|
|
|
protected:
|
|
void UpdateInfoBox(wxCommandEvent&);
|
|
void ToggleCode(wxCommandEvent& evt);
|
|
void ApplyChanges(wxCommandEvent&);
|
|
|
|
private:
|
|
std::vector<GeckoCode> m_gcodes;
|
|
|
|
// wxwidgets stuff
|
|
wxCheckListBox *m_listbox_gcodes;
|
|
struct
|
|
{
|
|
wxStaticText *label_name, *label_description, *label_creator;
|
|
wxListBox *listbox_codes;
|
|
} m_infobox;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
#endif |