| | |
| | | |
| | | class QWK_CORE_EXPORT Win32WindowContext : public AbstractWindowContext { |
| | | Q_OBJECT |
| | | Q_DISABLE_COPY(Win32WindowContext) |
| | | |
| | | public: |
| | | Win32WindowContext(QWindow *window, WindowItemDelegate *delegate); |
| | | ~Win32WindowContext(); |
| | | Win32WindowContext(QWindow *window, WindowItemDelegatePtr delegate); |
| | | ~Win32WindowContext() override; |
| | | |
| | | public: |
| | | bool setup() override; |
| | | |
| | | bool windowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam, LRESULT *result); |
| | | |
| | | protected: |
| | | WId windowId; |
| | | WNDPROC qtWindowProc; // Original Qt window proc function |
| | | |
| | | static LRESULT windowProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam); |
| | | }; |
| | | |
| | | } |