2015-05-24 04:55:12 +00:00
|
|
|
// Copyright 2008 Dolphin Emulator Project
|
2015-05-17 23:08:10 +00:00
|
|
|
// Licensed under GPLv2+
|
2013-04-18 03:43:35 +00:00
|
|
|
// Refer to the license.txt file included.
|
2009-01-03 01:38:44 +00:00
|
|
|
|
2014-02-10 18:54:46 +00:00
|
|
|
#pragma once
|
2008-12-08 04:46:09 +00:00
|
|
|
|
2017-04-02 07:04:50 +00:00
|
|
|
#include <array>
|
2014-02-22 22:36:30 +00:00
|
|
|
#include <cstddef>
|
2017-05-27 13:43:40 +00:00
|
|
|
#include <memory>
|
2014-02-22 22:36:30 +00:00
|
|
|
#include <mutex>
|
2014-02-17 10:18:15 +00:00
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
2014-02-22 22:36:30 +00:00
|
|
|
#include <wx/bitmap.h>
|
|
|
|
#include <wx/frame.h>
|
|
|
|
#include <wx/image.h>
|
|
|
|
#include <wx/panel.h>
|
2017-06-16 14:44:01 +00:00
|
|
|
#include <wx/string.h>
|
2015-03-01 01:25:50 +00:00
|
|
|
#include <wx/timer.h>
|
2009-05-13 22:23:54 +00:00
|
|
|
|
2014-02-22 22:36:30 +00:00
|
|
|
#include "Common/CommonTypes.h"
|
2014-04-13 23:15:23 +00:00
|
|
|
#include "Common/Event.h"
|
2017-05-21 19:52:44 +00:00
|
|
|
#include "Core/ConfigManager.h"
|
2014-02-17 10:18:15 +00:00
|
|
|
#include "DolphinWX/Globals.h"
|
|
|
|
|
2010-04-12 01:33:10 +00:00
|
|
|
#if defined(HAVE_X11) && HAVE_X11
|
2016-05-05 23:43:38 +00:00
|
|
|
#include "UICommon/X11Utils.h"
|
2010-04-12 01:33:10 +00:00
|
|
|
#endif
|
2009-05-13 22:23:54 +00:00
|
|
|
|
2016-12-18 04:40:03 +00:00
|
|
|
#ifdef __APPLE__
|
2017-04-09 21:08:52 +00:00
|
|
|
#include <IOKit/pwr_mgt/IOPMLib.h>
|
2016-12-18 04:40:03 +00:00
|
|
|
#endif
|
|
|
|
|
2017-05-27 13:43:40 +00:00
|
|
|
struct BootParameters;
|
|
|
|
|
2009-01-04 21:53:41 +00:00
|
|
|
// Class declarations
|
2008-12-08 04:46:09 +00:00
|
|
|
class CGameListCtrl;
|
2014-02-22 22:36:30 +00:00
|
|
|
class CCodeWindow;
|
2016-11-06 00:53:40 +00:00
|
|
|
class CConfigMain;
|
2009-08-31 23:09:50 +00:00
|
|
|
class CLogWindow;
|
2011-03-27 02:55:08 +00:00
|
|
|
class FifoPlayerDlg;
|
2014-02-22 22:36:30 +00:00
|
|
|
class LogConfigWindow;
|
2015-04-11 05:24:45 +00:00
|
|
|
class NetPlaySetupFrame;
|
2014-02-22 22:36:30 +00:00
|
|
|
class TASInputDlg;
|
2011-02-27 02:27:43 +00:00
|
|
|
class wxCheatsWindow;
|
2009-06-18 08:22:02 +00:00
|
|
|
|
2014-02-22 22:36:30 +00:00
|
|
|
class wxAuiManager;
|
|
|
|
class wxAuiManagerEvent;
|
|
|
|
class wxAuiNotebook;
|
|
|
|
class wxAuiNotebookEvent;
|
|
|
|
class wxListEvent;
|
|
|
|
class wxMenuItem;
|
|
|
|
|
2010-04-15 03:25:35 +00:00
|
|
|
class CRenderFrame : public wxFrame
|
|
|
|
{
|
2016-06-24 08:43:46 +00:00
|
|
|
public:
|
|
|
|
CRenderFrame(wxFrame* parent, wxWindowID id = wxID_ANY, const wxString& title = "Dolphin",
|
|
|
|
const wxPoint& pos = wxDefaultPosition, const wxSize& size = wxDefaultSize,
|
2016-10-03 07:29:50 +00:00
|
|
|
long style = wxDEFAULT_FRAME_STYLE);
|
2016-06-24 08:43:46 +00:00
|
|
|
|
|
|
|
bool ShowFullScreen(bool show, long style = wxFULLSCREEN_ALL) override;
|
2013-09-27 12:38:12 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
private:
|
|
|
|
void OnDropFiles(wxDropFilesEvent& event);
|
|
|
|
static bool IsValidSavestateDropped(const std::string& filepath);
|
|
|
|
#ifdef _WIN32
|
|
|
|
// Receive WndProc messages
|
|
|
|
WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
|
|
|
|
#endif
|
2010-04-15 03:25:35 +00:00
|
|
|
};
|
|
|
|
|
2016-10-22 01:41:17 +00:00
|
|
|
wxDECLARE_EVENT(DOLPHIN_EVT_RELOAD_THEME_BITMAPS, wxCommandEvent);
|
2016-11-09 01:52:45 +00:00
|
|
|
wxDECLARE_EVENT(DOLPHIN_EVT_UPDATE_LOAD_WII_MENU_ITEM, wxCommandEvent);
|
2017-02-06 19:48:09 +00:00
|
|
|
wxDECLARE_EVENT(DOLPHIN_EVT_BOOT_SOFTWARE, wxCommandEvent);
|
|
|
|
wxDECLARE_EVENT(DOLPHIN_EVT_STOP_SOFTWARE, wxCommandEvent);
|
2016-10-22 01:41:17 +00:00
|
|
|
|
2010-04-15 03:25:35 +00:00
|
|
|
class CFrame : public CRenderFrame
|
2008-12-08 04:46:09 +00:00
|
|
|
{
|
2011-03-15 23:09:12 +00:00
|
|
|
public:
|
2016-06-24 08:43:46 +00:00
|
|
|
CFrame(wxFrame* parent, wxWindowID id = wxID_ANY, const wxString& title = "Dolphin",
|
2016-08-14 19:54:01 +00:00
|
|
|
wxRect geometry = wxDefaultSize, bool use_debugger = false, bool batch_mode = false,
|
|
|
|
bool show_log_window = false,
|
2016-06-24 08:43:46 +00:00
|
|
|
long style = wxDEFAULT_FRAME_STYLE | wxNO_FULL_REPAINT_ON_RESIZE);
|
|
|
|
|
|
|
|
virtual ~CFrame();
|
|
|
|
|
|
|
|
void* GetRenderHandle()
|
|
|
|
{
|
|
|
|
#if defined(HAVE_X11) && HAVE_X11
|
2017-05-01 00:11:01 +00:00
|
|
|
return reinterpret_cast<void*>(X11Utils::XWindowFromHandle(m_render_parent->GetHandle()));
|
2016-06-24 08:43:46 +00:00
|
|
|
#else
|
2017-05-01 00:11:01 +00:00
|
|
|
return reinterpret_cast<void*>(m_render_parent->GetHandle());
|
2016-06-24 08:43:46 +00:00
|
|
|
#endif
|
|
|
|
}
|
|
|
|
|
|
|
|
// These have to be public
|
2017-05-01 00:11:01 +00:00
|
|
|
CCodeWindow* m_code_window = nullptr;
|
|
|
|
NetPlaySetupFrame* m_netplay_setup_frame = nullptr;
|
2016-06-24 08:43:46 +00:00
|
|
|
|
|
|
|
void DoStop();
|
|
|
|
void UpdateGUI();
|
|
|
|
void UpdateGameList();
|
|
|
|
void ToggleLogWindow(bool bShow);
|
|
|
|
void ToggleLogConfigWindow(bool bShow);
|
|
|
|
void StatusBarMessage(const char* Text, ...);
|
|
|
|
void ClearStatusBar();
|
|
|
|
void BootGame(const std::string& filename);
|
|
|
|
bool RendererHasFocus();
|
|
|
|
bool RendererIsFullscreen();
|
2016-11-06 00:53:40 +00:00
|
|
|
void OpenGeneralConfiguration(wxWindowID tab_id = wxID_ANY);
|
2016-06-24 08:43:46 +00:00
|
|
|
|
|
|
|
wxMenuBar* GetMenuBar() const override;
|
2010-11-11 00:55:06 +00:00
|
|
|
|
2017-05-01 00:11:01 +00:00
|
|
|
Common::Event m_panic_event;
|
|
|
|
bool m_panic_result;
|
2008-12-09 05:37:15 +00:00
|
|
|
|
2011-03-15 23:09:12 +00:00
|
|
|
#if defined(HAVE_XRANDR) && HAVE_XRANDR
|
2017-05-01 00:11:01 +00:00
|
|
|
X11Utils::XRRConfiguration* m_xrr_config;
|
2011-03-15 23:09:12 +00:00
|
|
|
#endif
|
2009-08-25 07:05:53 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
// AUI
|
2017-05-01 00:11:01 +00:00
|
|
|
wxAuiManager* m_mgr = nullptr;
|
|
|
|
bool m_float_window[IDM_DEBUG_WINDOW_LIST_END - IDM_DEBUG_WINDOW_LIST_START] = {};
|
2016-06-24 08:43:46 +00:00
|
|
|
|
|
|
|
// Perspectives (Should find a way to make all of this private)
|
|
|
|
void DoAddPage(wxWindow* Win, int i, bool Float);
|
|
|
|
void DoRemovePage(wxWindow*, bool bHide = true);
|
|
|
|
struct SPerspectives
|
|
|
|
{
|
2017-05-01 00:11:01 +00:00
|
|
|
std::string name;
|
|
|
|
wxString perspective;
|
|
|
|
std::vector<int> width, height;
|
2016-06-24 08:43:46 +00:00
|
|
|
};
|
2017-05-01 00:11:01 +00:00
|
|
|
std::vector<SPerspectives> m_perspectives;
|
|
|
|
u32 m_active_perspective;
|
2011-03-15 23:09:12 +00:00
|
|
|
|
|
|
|
private:
|
2016-06-24 08:43:46 +00:00
|
|
|
enum
|
|
|
|
{
|
|
|
|
ADD_PANE_TOP,
|
|
|
|
ADD_PANE_BOTTOM,
|
|
|
|
ADD_PANE_LEFT,
|
|
|
|
ADD_PANE_RIGHT,
|
|
|
|
ADD_PANE_CENTER
|
|
|
|
};
|
|
|
|
|
2017-05-01 00:11:01 +00:00
|
|
|
CGameListCtrl* m_game_list_ctrl = nullptr;
|
|
|
|
CConfigMain* m_main_config_dialog = nullptr;
|
|
|
|
wxPanel* m_panel = nullptr;
|
|
|
|
CRenderFrame* m_render_frame = nullptr;
|
|
|
|
wxWindow* m_render_parent = nullptr;
|
|
|
|
CLogWindow* m_log_window = nullptr;
|
|
|
|
LogConfigWindow* m_log_config_window = nullptr;
|
|
|
|
FifoPlayerDlg* m_fifo_player_dialog = nullptr;
|
|
|
|
std::array<TASInputDlg*, 8> m_tas_input_dialogs{};
|
|
|
|
wxCheatsWindow* m_cheats_window = nullptr;
|
|
|
|
bool m_use_debugger = false;
|
|
|
|
bool m_batch_mode = false;
|
|
|
|
bool m_editing_perspectives = false;
|
|
|
|
bool m_is_split_tab_notebook = false;
|
|
|
|
bool m_no_panel_docking = false;
|
|
|
|
bool m_is_game_loading = false;
|
|
|
|
bool m_is_closing = false;
|
|
|
|
bool m_renderer_has_focus = false;
|
|
|
|
bool m_confirm_stop = false;
|
|
|
|
bool m_tried_graceful_shutdown = false;
|
|
|
|
int m_save_slot = 1;
|
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
wxTimer m_poll_hotkey_timer;
|
2016-07-08 14:35:03 +00:00
|
|
|
wxTimer m_handle_signal_timer;
|
2016-06-24 08:43:46 +00:00
|
|
|
|
2016-09-25 17:02:10 +00:00
|
|
|
wxMenuBar* m_menubar_shadow = nullptr;
|
2016-06-24 08:43:46 +00:00
|
|
|
|
2017-05-01 00:11:01 +00:00
|
|
|
wxString m_aui_fullscreen_perspective;
|
|
|
|
wxString m_aui_current_perspective;
|
|
|
|
|
|
|
|
#ifdef __WXGTK__
|
|
|
|
std::recursive_mutex m_keystate_lock;
|
|
|
|
#endif
|
|
|
|
|
2016-10-22 01:41:17 +00:00
|
|
|
void BindEvents();
|
|
|
|
void BindMenuBarEvents();
|
2016-11-03 22:02:53 +00:00
|
|
|
void BindDebuggerMenuBarEvents();
|
|
|
|
void BindDebuggerMenuBarUpdateEvents();
|
2016-10-14 18:52:18 +00:00
|
|
|
|
2016-10-22 01:41:17 +00:00
|
|
|
wxToolBar* OnCreateToolBar(long style, wxWindowID id, const wxString& name) override;
|
2016-10-14 18:52:18 +00:00
|
|
|
wxMenuBar* CreateMenuBar() const;
|
2016-06-24 08:43:46 +00:00
|
|
|
|
2017-04-02 05:45:11 +00:00
|
|
|
void InitializeTASDialogs();
|
2017-04-03 09:39:48 +00:00
|
|
|
void InitializeCoreCallbacks();
|
2017-04-02 05:45:11 +00:00
|
|
|
|
2017-05-27 13:43:40 +00:00
|
|
|
void StartGame(std::unique_ptr<BootParameters> boot);
|
2017-05-14 20:49:25 +00:00
|
|
|
void SetDebuggerStartupParameters() const;
|
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
// Utility
|
|
|
|
wxWindow* GetNotebookPageFromId(wxWindowID Id);
|
|
|
|
wxAuiNotebook* GetNotebookFromId(u32 NBId);
|
|
|
|
int GetNotebookCount();
|
|
|
|
wxAuiNotebook* CreateEmptyNotebook();
|
|
|
|
void HandleFrameSkipHotkeys();
|
|
|
|
|
|
|
|
// Perspectives
|
|
|
|
void AddRemoveBlankPage();
|
2016-10-03 07:29:50 +00:00
|
|
|
void OnNotebookAllowDnD(wxAuiNotebookEvent& event);
|
2016-06-24 08:43:46 +00:00
|
|
|
void OnNotebookPageChanged(wxAuiNotebookEvent& event);
|
2016-10-03 07:29:50 +00:00
|
|
|
void OnNotebookPageClose(wxAuiNotebookEvent& event);
|
|
|
|
void OnNotebookTabRightUp(wxAuiNotebookEvent& event);
|
2016-06-24 08:43:46 +00:00
|
|
|
void OnFloatWindow(wxCommandEvent& event);
|
|
|
|
void ToggleFloatWindow(int Id);
|
|
|
|
int GetNotebookAffiliation(wxWindowID Id);
|
|
|
|
void ClosePages();
|
|
|
|
void CloseAllNotebooks();
|
|
|
|
void ShowResizePane();
|
|
|
|
void TogglePane();
|
|
|
|
void SetPaneSize();
|
|
|
|
void TogglePaneStyle(bool On, int EventId);
|
|
|
|
void ToggleNotebookStyle(bool On, long Style);
|
2016-10-14 18:52:18 +00:00
|
|
|
void PopulateSavedPerspectives();
|
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
// Float window
|
|
|
|
void DoUnfloatPage(int Id);
|
|
|
|
void OnFloatingPageClosed(wxCloseEvent& event);
|
|
|
|
void DoFloatNotebookPage(wxWindowID Id);
|
|
|
|
wxFrame* CreateParentFrame(wxWindowID Id = wxID_ANY, const wxString& title = "",
|
|
|
|
wxWindow* = nullptr);
|
2017-05-01 00:11:01 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
void AddPane(int dir);
|
|
|
|
void UpdateCurrentPerspective();
|
|
|
|
void SaveIniPerspectives();
|
|
|
|
void LoadIniPerspectives();
|
|
|
|
void OnPaneClose(wxAuiManagerEvent& evt);
|
|
|
|
void ReloadPanes();
|
|
|
|
void DoLoadPerspective();
|
|
|
|
void OnPerspectiveMenu(wxCommandEvent& event);
|
|
|
|
void OnSelectPerspective(wxCommandEvent& event);
|
2010-07-30 03:51:49 +00:00
|
|
|
|
2008-12-08 04:46:09 +00:00
|
|
|
#ifdef _WIN32
|
2016-06-24 08:43:46 +00:00
|
|
|
// Override window proc for tricks like screensaver disabling
|
|
|
|
WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
|
2008-12-08 04:46:09 +00:00
|
|
|
#endif
|
2017-02-06 22:26:30 +00:00
|
|
|
|
2017-04-09 21:08:52 +00:00
|
|
|
// Screensaver
|
|
|
|
#ifdef __APPLE__
|
|
|
|
IOPMAssertionID m_power_assertion = kIOPMNullAssertionID;
|
|
|
|
#endif
|
|
|
|
void InhibitScreensaver();
|
|
|
|
void UninhibitScreensaver();
|
|
|
|
|
2017-02-06 22:26:30 +00:00
|
|
|
void DoOpen(bool Boot);
|
|
|
|
void DoPause();
|
|
|
|
void DoToggleToolbar(bool);
|
|
|
|
void DoRecordingSave();
|
|
|
|
void DoFullscreen(bool enable_fullscreen);
|
|
|
|
void DoExclusiveFullscreen(bool enable_fullscreen);
|
|
|
|
void ToggleDisplayMode(bool bFullscreen);
|
|
|
|
bool TriggerSTMPowerEvent();
|
|
|
|
void OnStopped();
|
|
|
|
void OnRenderWindowSizeRequest(int width, int height);
|
2017-06-16 14:44:01 +00:00
|
|
|
void UpdateTitle(const wxString& str);
|
2017-02-06 22:26:30 +00:00
|
|
|
static void ConnectWiimote(int wm_idx, bool connect);
|
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
// Event functions
|
2017-02-06 22:26:30 +00:00
|
|
|
void PostEvent(wxCommandEvent& event);
|
|
|
|
void OnRenderParentClose(wxCloseEvent& event);
|
|
|
|
void OnRenderParentMove(wxMoveEvent& event);
|
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
void OnQuit(wxCommandEvent& event);
|
|
|
|
void OnHelp(wxCommandEvent& event);
|
|
|
|
|
2016-10-22 01:41:17 +00:00
|
|
|
void OnReloadThemeBitmaps(wxCommandEvent& event);
|
2016-11-06 00:53:40 +00:00
|
|
|
void OnReloadGameList(wxCommandEvent& event);
|
2016-10-22 01:41:17 +00:00
|
|
|
|
2016-11-04 03:43:35 +00:00
|
|
|
void OnUpdateInterpreterMenuItem(wxUpdateUIEvent& event);
|
2016-11-03 22:02:53 +00:00
|
|
|
|
2016-11-09 01:52:45 +00:00
|
|
|
void OnUpdateLoadWiiMenuItem(wxCommandEvent&);
|
|
|
|
void UpdateLoadWiiMenuItem() const;
|
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
void OnOpen(wxCommandEvent& event); // File menu
|
|
|
|
void OnRefresh(wxCommandEvent& event);
|
|
|
|
void OnBootDrive(wxCommandEvent& event);
|
|
|
|
|
|
|
|
void OnPlay(wxCommandEvent& event); // Emulation
|
|
|
|
void OnStop(wxCommandEvent& event);
|
|
|
|
void OnReset(wxCommandEvent& event);
|
|
|
|
void OnRecord(wxCommandEvent& event);
|
|
|
|
void OnPlayRecording(wxCommandEvent& event);
|
2017-02-11 19:39:07 +00:00
|
|
|
void OnStopRecording(wxCommandEvent& event);
|
2016-06-24 08:43:46 +00:00
|
|
|
void OnRecordExport(wxCommandEvent& event);
|
|
|
|
void OnRecordReadOnly(wxCommandEvent& event);
|
|
|
|
void OnTASInput(wxCommandEvent& event);
|
|
|
|
void OnTogglePauseMovie(wxCommandEvent& event);
|
|
|
|
void OnToggleDumpFrames(wxCommandEvent& event);
|
|
|
|
void OnToggleDumpAudio(wxCommandEvent& event);
|
|
|
|
void OnShowLag(wxCommandEvent& event);
|
|
|
|
void OnShowFrameCount(wxCommandEvent& event);
|
|
|
|
void OnShowInputDisplay(wxCommandEvent& event);
|
2016-07-20 00:23:25 +00:00
|
|
|
void OnShowRTCDisplay(wxCommandEvent& event);
|
2016-06-24 08:43:46 +00:00
|
|
|
void OnChangeDisc(wxCommandEvent& event);
|
|
|
|
void OnScreenshot(wxCommandEvent& event);
|
|
|
|
void OnActive(wxActivateEvent& event);
|
|
|
|
void OnClose(wxCloseEvent& event);
|
|
|
|
void OnLoadState(wxCommandEvent& event);
|
|
|
|
void OnSaveState(wxCommandEvent& event);
|
|
|
|
void OnLoadStateFromFile(wxCommandEvent& event);
|
|
|
|
void OnSaveStateToFile(wxCommandEvent& event);
|
|
|
|
void OnLoadLastState(wxCommandEvent& event);
|
|
|
|
void OnSaveFirstState(wxCommandEvent& event);
|
|
|
|
void OnUndoLoadState(wxCommandEvent& event);
|
|
|
|
void OnUndoSaveState(wxCommandEvent& event);
|
|
|
|
|
|
|
|
void OnFrameStep(wxCommandEvent& event);
|
|
|
|
|
|
|
|
void OnConfigMain(wxCommandEvent& event); // Options
|
|
|
|
void OnConfigGFX(wxCommandEvent& event);
|
|
|
|
void OnConfigAudio(wxCommandEvent& event);
|
|
|
|
void OnConfigControllers(wxCommandEvent& event);
|
|
|
|
void OnConfigHotkey(wxCommandEvent& event);
|
|
|
|
|
|
|
|
void OnToggleFullscreen(wxCommandEvent& event);
|
|
|
|
void OnManagerResize(wxAuiManagerEvent& event);
|
|
|
|
void OnMove(wxMoveEvent& event);
|
|
|
|
void OnResize(wxSizeEvent& event);
|
|
|
|
void OnToggleToolbar(wxCommandEvent& event);
|
|
|
|
void OnToggleStatusbar(wxCommandEvent& event);
|
|
|
|
void OnToggleWindow(wxCommandEvent& event);
|
|
|
|
|
|
|
|
void OnKeyDown(wxKeyEvent& event); // Keyboard
|
|
|
|
void OnMouse(wxMouseEvent& event); // Mouse
|
|
|
|
|
|
|
|
void OnHostMessage(wxCommandEvent& event);
|
|
|
|
|
|
|
|
void OnMemcard(wxCommandEvent& event); // Misc
|
|
|
|
void OnImportSave(wxCommandEvent& event);
|
|
|
|
void OnExportAllSaves(wxCommandEvent& event);
|
|
|
|
|
2017-06-04 08:20:16 +00:00
|
|
|
void OnLoadGameCubeIPLJAP(wxCommandEvent& event);
|
|
|
|
void OnLoadGameCubeIPLUSA(wxCommandEvent& event);
|
|
|
|
void OnLoadGameCubeIPLEUR(wxCommandEvent& event);
|
2017-05-21 19:52:44 +00:00
|
|
|
|
2016-06-24 08:43:46 +00:00
|
|
|
void OnNetPlay(wxCommandEvent& event);
|
|
|
|
|
|
|
|
void OnShowCheatsWindow(wxCommandEvent& event);
|
|
|
|
void OnLoadWiiMenu(wxCommandEvent& event);
|
|
|
|
void OnInstallWAD(wxCommandEvent& event);
|
2017-04-25 21:29:48 +00:00
|
|
|
void OnUninstallWAD(wxCommandEvent& event);
|
2017-03-19 07:00:49 +00:00
|
|
|
void OnImportBootMiiBackup(wxCommandEvent& event);
|
|
|
|
void OnExtractCertificates(wxCommandEvent& event);
|
2016-06-24 08:43:46 +00:00
|
|
|
void OnFifoPlayer(wxCommandEvent& event);
|
|
|
|
void OnConnectWiimote(wxCommandEvent& event);
|
|
|
|
void GameListChanged(wxCommandEvent& event);
|
|
|
|
|
|
|
|
void OnGameListCtrlItemActivated(wxListEvent& event);
|
|
|
|
void OnRenderParentResize(wxSizeEvent& event);
|
|
|
|
void OnChangeColumnsVisible(wxCommandEvent& event);
|
|
|
|
|
|
|
|
void OnSelectSlot(wxCommandEvent& event);
|
|
|
|
void OnSaveCurrentSlot(wxCommandEvent& event);
|
|
|
|
void OnLoadCurrentSlot(wxCommandEvent& event);
|
|
|
|
|
|
|
|
void PollHotkeys(wxTimerEvent&);
|
|
|
|
void ParseHotkeys();
|
2016-07-08 14:35:03 +00:00
|
|
|
void HandleSignal(wxTimerEvent&);
|
2016-06-24 08:43:46 +00:00
|
|
|
|
|
|
|
bool InitControllers();
|
|
|
|
|
|
|
|
// Event table
|
|
|
|
DECLARE_EVENT_TABLE();
|
2008-12-08 04:46:09 +00:00
|
|
|
};
|