rpcs3/rpcs3/Gui/MainFrame.h
Osvaldo Costa 19fea00432 Change the GUI a little bit
Removed the launch of the ELF Compiler window at startup. Instead of it,
I added a menubar item called "Compiler", and within it a menu item
called "ELF Compiler", wich will launch the window.
2013-11-17 23:10:59 -03:00

40 lines
No EOL
1 KiB
C++

#pragma once
#include "GameViewer.h"
#include "wx/aui/aui.h"
class MainFrame : public FrameBase
{
GameViewer* m_game_viewer;
wxAuiManager m_aui_mgr;
AppConnector m_app_connector;
bool m_sys_menu_opened;
public:
MainFrame();
~MainFrame();
void AddPane(wxWindow* wind, const wxString& caption, int flags);
void DoSettings(bool load);
private:
void OnQuit(wxCloseEvent& event);
void BootGame(wxCommandEvent& event);
void BootPkg(wxCommandEvent& event);
void BootElf(wxCommandEvent& event);
void BootSelf(wxCommandEvent& event);
void Pause(wxCommandEvent& event);
void Stop(wxCommandEvent& event);
void SendExit(wxCommandEvent& event);
void SendOpenCloseSysMenu(wxCommandEvent& event);
void Config(wxCommandEvent& event);
void ConfigVFS(wxCommandEvent& event);
void ConfigVHDD(wxCommandEvent& event);
void OpenELFCompiler(wxCommandEvent& evt);
void AboutDialogHandler(wxCommandEvent& event);
void UpdateUI(wxCommandEvent& event);
void OnKeyDown(wxKeyEvent& event);
private:
DECLARE_EVENT_TABLE()
};