| 12345678910111213141516171819202122 |
- #pragma once
- #include "CmPlatform.h"
- #include "CmWin32Defs.h"
- namespace CamelotFramework
- {
- class CM_EXPORT PlatformWndProc : public Platform
- {
- public:
- static LRESULT CALLBACK _win32WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
- private:
- static bool isShiftPressed;
- static bool isCtrlPressed;
- static LRESULT translateNonClientAreaType(NonClientAreaBorderType type);
- static void getMouseData(HWND hWnd, WPARAM wParam, LPARAM lParam, Int2& mousePos, OSPositionalInputButtonStates& btnStates);
- static bool getCommand(unsigned int virtualKeyCode, InputCommandType& command);
- };
- }
|