18 #ifndef __H__OCULAR_RENDERER_WIN_WINDOW__H__
19 #define __H__OCULAR_RENDERER_WIN_WINDOW__H__
47 class WindowWin32 :
public AWindow
61 WindowWin32(WindowDescriptor
const& descriptor);
66 WindowWin32(WindowDescriptor
const& descriptor,
void* windowID);
68 virtual ~WindowWin32();
74 virtual void showCursor(
bool show)
override;
86 HINSTANCE getHINSTANCE()
const;
99 LRESULT CALLBACK processMessage(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
116 void update(uint64_t time);
128 RECT createWindowRect();
134 WNDCLASS createWndClass(WNDPROC wndProc);
139 void registerRawInput();
144 void handleRawKeyboardInput(RAWKEYBOARD
const& data);
149 void handleRawMouseInput(RAWMOUSE
const& data);
154 void handleRawMouseButtonInput(RAWMOUSE
const& data);
159 void handleRawMouseMoveInput(RAWMOUSE
const& data);
164 HINSTANCE m_HINSTANCE;
166 RAWINPUTDEVICE m_RawDevices[2];
179 #endif // OCULAR_WINDOWS
180 #endif // __H__OCULAR_RENDERER_WIN_WINDOW__H__
Note: Once this library is made dynamic, this will no longer be needed.
Definition: Common.hpp:70