mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
* use one central unified log with channels/priorities ad-hoc listener registration and de-registration * disable buffering by default * add multi-threaded ringbuffer implementation * use buffered listener for the gui (using the ringbuffer)
50 lines
1.2 KiB
C++
50 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include "Gui/Debugger.h"
|
|
|
|
#include <wx/aui/aui.h>
|
|
|
|
class GameViewer;
|
|
|
|
class MainFrame : public FrameBase
|
|
{
|
|
DebuggerPanel* m_debugger_frame;
|
|
GameViewer* m_game_viewer;
|
|
LogFrame * m_log_frame;
|
|
wxAuiManager m_aui_mgr;
|
|
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 BootGameAndRun(wxCommandEvent& event);
|
|
void InstallPkg(wxCommandEvent& event);
|
|
void BootElf(wxCommandEvent& event);
|
|
void Pause(wxCommandEvent& event);
|
|
void Stop(wxCommandEvent& event);
|
|
void SendExit(wxCommandEvent& event);
|
|
void SendOpenCloseSysMenu(wxCommandEvent& event);
|
|
void Config(wxCommandEvent& event);
|
|
void ConfigPad(wxCommandEvent& event);
|
|
void ConfigVFS(wxCommandEvent& event);
|
|
void ConfigVHDD(wxCommandEvent& event);
|
|
void OpenELFCompiler(wxCommandEvent& evt);
|
|
void OpenMemoryViewer(wxCommandEvent& evt);
|
|
void OpenRSXDebugger(wxCommandEvent& evt);
|
|
void OpenFnIdGenerator(wxCommandEvent& evt);
|
|
void AboutDialogHandler(wxCommandEvent& event);
|
|
void UpdateUI(wxCommandEvent& event);
|
|
void OnKeyDown(wxKeyEvent& event);
|
|
|
|
private:
|
|
DECLARE_EVENT_TABLE()
|
|
};
|