Move the wxwidgets stuff to one directory
[lsnes.git] / platform / wxwidgets / project_select_window.hpp
blob3853250910d93aca11659cefe977c458a28c3b92
1 #ifndef _wxwidgets_project_select_window__hpp__included__
2 #define _wxwidgets_project_select_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 "moviefile.hpp"
11 #include "labelcombobox.hpp"
12 #include <set>
13 #include <map>
14 #include <string>
16 class wx_project_select_window : public wxFrame
18 public:
19 wx_project_select_window(loaded_rom& rom);
20 ~wx_project_select_window();
21 void on_file_select(wxCommandEvent& e);
22 void on_new_select(wxCommandEvent& e);
23 void on_filename_change(wxCommandEvent& e);
24 void on_quit(wxCommandEvent& e);
25 void on_load(wxCommandEvent& e);
26 loaded_rom* our_rom;
27 private:
28 bool load_file;
29 std::set<std::string> get_sram_set();
30 struct moviefile make_movie();
31 filenamebox* filename;
32 std::map<std::string, filenamebox*> srams;
33 labeledcombobox* controller1type;
34 labeledcombobox* controller2type;
35 wxTextCtrl* projectname;
36 wxTextCtrl* rtc_sec;
37 wxTextCtrl* rtc_subsec;
38 wxTextCtrl* authors;
39 wxButton* load;
40 wxButton* quit;
43 #endif