mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-08 14:58:36 +00:00
Split out the menu handling from WndMainWindow.cpp
This commit is contained in:
parent
5e640a3c40
commit
4c46c8aea9
1111
Windows/MainWindowMenu.cpp
Normal file
1111
Windows/MainWindowMenu.cpp
Normal file
File diff suppressed because it is too large
Load Diff
9
Windows/MainWindowMenu.h
Normal file
9
Windows/MainWindowMenu.h
Normal file
@ -0,0 +1,9 @@
|
||||
#pragma once
|
||||
|
||||
#include "Common/CommonWindows.h"
|
||||
#include "Common/KeyMap.h"
|
||||
#include <Windowsx.h>
|
||||
|
||||
namespace MainWindow {
|
||||
void MainWindowMenu_Process(HWND hWnd, WPARAM wParam);
|
||||
}
|
@ -316,6 +316,7 @@
|
||||
<ClCompile Include="GEDebugger\VertexPreview.cpp" />
|
||||
<ClCompile Include="InputDevice.cpp" />
|
||||
<ClCompile Include="KeyboardDevice.cpp" />
|
||||
<ClCompile Include="MainWindowMenu.cpp" />
|
||||
<ClCompile Include="RawInput.cpp" />
|
||||
<ClCompile Include="TouchInputHandler.cpp" />
|
||||
<ClCompile Include="W32Util\DialogManager.cpp" />
|
||||
@ -369,6 +370,7 @@
|
||||
<ClInclude Include="GEDebugger\TabVertices.h" />
|
||||
<ClInclude Include="InputDevice.h" />
|
||||
<ClInclude Include="KeyboardDevice.h" />
|
||||
<ClInclude Include="MainWindowMenu.h" />
|
||||
<ClInclude Include="RawInput.h" />
|
||||
<ClInclude Include="TouchInputHandler.h" />
|
||||
<ClInclude Include="W32Util\DialogManager.h" />
|
||||
|
@ -149,6 +149,9 @@
|
||||
<Filter>Windows\GE Debugger</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\ext\native\ext\glew\glew.c" />
|
||||
<ClCompile Include="MainWindowMenu.cpp">
|
||||
<Filter>Windows\UI</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ClInclude Include="Debugger\CtrlDisAsmView.h">
|
||||
@ -272,6 +275,9 @@
|
||||
<ClInclude Include="GEDebugger\TabVertices.h">
|
||||
<Filter>Windows\GE Debugger</Filter>
|
||||
</ClInclude>
|
||||
<ClInclude Include="MainWindowMenu.h">
|
||||
<Filter>Windows\UI</Filter>
|
||||
</ClInclude>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="icon1.ico">
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -57,7 +57,6 @@ namespace MainWindow
|
||||
void UpdateMenus();
|
||||
void UpdateCommands();
|
||||
void SetWindowTitle(const wchar_t *title);
|
||||
void Update();
|
||||
void Redraw();
|
||||
HWND GetHWND();
|
||||
HINSTANCE GetHInstance();
|
||||
@ -66,7 +65,9 @@ namespace MainWindow
|
||||
void SaveStateActionFinished(bool result, void *userdata);
|
||||
void ToggleFullscreen(HWND hWnd, bool goingFullscreen);
|
||||
void ToggleDebugConsoleVisibility();
|
||||
void TranslateMenus();
|
||||
void TranslateMenus(HWND hWnd, HMENU menu);
|
||||
void setTexScalingMultiplier(int level);
|
||||
void UmdSwitchAction();
|
||||
void SetInternalResolution(int res = -1);
|
||||
void SetWindowSize(int zoom);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user