Frame: Hide functions that don't need to be exposed
Any functions left exposed are used elsewhere through the main_window global. May as well prevent any more functions from being used in that manner where possible.
This commit is contained in:
parent
ead076d335
commit
c41f587c29
|
@ -90,29 +90,16 @@ public:
|
||||||
wxCheatsWindow* g_CheatsWindow = nullptr;
|
wxCheatsWindow* g_CheatsWindow = nullptr;
|
||||||
TASInputDlg* g_TASInputDlg[8];
|
TASInputDlg* g_TASInputDlg[8];
|
||||||
|
|
||||||
void DoPause();
|
|
||||||
void DoStop();
|
void DoStop();
|
||||||
bool TriggerSTMPowerEvent();
|
|
||||||
void OnStopped();
|
|
||||||
void DoRecordingSave();
|
|
||||||
void UpdateGUI();
|
void UpdateGUI();
|
||||||
void UpdateGameList();
|
void UpdateGameList();
|
||||||
void ToggleLogWindow(bool bShow);
|
void ToggleLogWindow(bool bShow);
|
||||||
void ToggleLogConfigWindow(bool bShow);
|
void ToggleLogConfigWindow(bool bShow);
|
||||||
void PostEvent(wxCommandEvent& event);
|
|
||||||
void StatusBarMessage(const char* Text, ...);
|
void StatusBarMessage(const char* Text, ...);
|
||||||
void ClearStatusBar();
|
void ClearStatusBar();
|
||||||
void OnRenderWindowSizeRequest(int width, int height);
|
|
||||||
void BootGame(const std::string& filename);
|
void BootGame(const std::string& filename);
|
||||||
void OnRenderParentClose(wxCloseEvent& event);
|
|
||||||
void OnRenderParentMove(wxMoveEvent& event);
|
|
||||||
bool RendererHasFocus();
|
bool RendererHasFocus();
|
||||||
bool RendererIsFullscreen();
|
bool RendererIsFullscreen();
|
||||||
void DoFullscreen(bool enable_fullscreen);
|
|
||||||
void DoExclusiveFullscreen(bool enable_fullscreen);
|
|
||||||
void ToggleDisplayMode(bool bFullscreen);
|
|
||||||
static void ConnectWiimote(int wm_idx, bool connect);
|
|
||||||
void UpdateTitle(const std::string& str);
|
|
||||||
void OpenGeneralConfiguration(wxWindowID tab_id = wxID_ANY);
|
void OpenGeneralConfiguration(wxWindowID tab_id = wxID_ANY);
|
||||||
|
|
||||||
const CGameListCtrl* GetGameListCtrl() const;
|
const CGameListCtrl* GetGameListCtrl() const;
|
||||||
|
@ -234,7 +221,25 @@ private:
|
||||||
// Override window proc for tricks like screensaver disabling
|
// Override window proc for tricks like screensaver disabling
|
||||||
WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
|
WXLRESULT MSWWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
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);
|
||||||
|
void UpdateTitle(const std::string& str);
|
||||||
|
static void ConnectWiimote(int wm_idx, bool connect);
|
||||||
|
|
||||||
// Event functions
|
// Event functions
|
||||||
|
void PostEvent(wxCommandEvent& event);
|
||||||
|
void OnRenderParentClose(wxCloseEvent& event);
|
||||||
|
void OnRenderParentMove(wxMoveEvent& event);
|
||||||
|
|
||||||
void OnQuit(wxCommandEvent& event);
|
void OnQuit(wxCommandEvent& event);
|
||||||
void OnHelp(wxCommandEvent& event);
|
void OnHelp(wxCommandEvent& event);
|
||||||
|
|
||||||
|
@ -247,7 +252,6 @@ private:
|
||||||
void UpdateLoadWiiMenuItem() const;
|
void UpdateLoadWiiMenuItem() const;
|
||||||
|
|
||||||
void OnOpen(wxCommandEvent& event); // File menu
|
void OnOpen(wxCommandEvent& event); // File menu
|
||||||
void DoOpen(bool Boot);
|
|
||||||
void OnRefresh(wxCommandEvent& event);
|
void OnRefresh(wxCommandEvent& event);
|
||||||
void OnBootDrive(wxCommandEvent& event);
|
void OnBootDrive(wxCommandEvent& event);
|
||||||
|
|
||||||
|
@ -293,7 +297,6 @@ private:
|
||||||
void OnMove(wxMoveEvent& event);
|
void OnMove(wxMoveEvent& event);
|
||||||
void OnResize(wxSizeEvent& event);
|
void OnResize(wxSizeEvent& event);
|
||||||
void OnToggleToolbar(wxCommandEvent& event);
|
void OnToggleToolbar(wxCommandEvent& event);
|
||||||
void DoToggleToolbar(bool);
|
|
||||||
void OnToggleStatusbar(wxCommandEvent& event);
|
void OnToggleStatusbar(wxCommandEvent& event);
|
||||||
void OnToggleWindow(wxCommandEvent& event);
|
void OnToggleWindow(wxCommandEvent& event);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue