Wxwidgets graphics plugin
[lsnes.git] / platform / wxwidgets / src / rom_patch_window.hpp
blobb8215705dfdb1c150cc128e9707000b1fb938255
1 #ifndef _wxwidgets_rom_patch_window__hpp__included__
2 #define _wxwidgets_rom_patch_window__hpp__included__
4 #include <wx/wx.h>
5 #include <wx/event.h>
6 #include <wx/control.h>
7 #include <wx/combobox.h>
8 #include "filenamebox.hpp"
9 #include "rom.hpp"
10 #include "common.hpp"
12 class wx_rom_patch_window : public wxFrame
14 public:
15 wx_rom_patch_window(loaded_rom& rom);
16 ~wx_rom_patch_window();
17 void on_patchfile_change(wxCommandEvent& e);
18 void on_do_patch(wxCommandEvent& e);
19 void on_quit(wxCommandEvent& e);
20 void on_done(wxCommandEvent& e);
21 loaded_rom* our_rom;
22 private:
23 filenamebox* patchfile;
24 wxComboBox* patch_what;
25 wxButton* dopatch;
26 wxTextCtrl* patch_offset;
27 wxStaticText_ptr checksums[6];
28 wxString targets[6];
31 #endif