|
| | QWindowsDirectManipulationViewport (QWindowsDirectManipulation *dm, QWindow *window, HWND hwnd) |
| bool | init (IDirectManipulationManager *manager) |
| void | destroy (IDirectManipulationManager *manager) |
| bool | setContact (UINT32 pointerId) |
| bool | isInteracting () const |
| HRESULT STDMETHODCALLTYPE | OnViewportStatusChanged (IDirectManipulationViewport *viewport, DIRECTMANIPULATION_STATUS current, DIRECTMANIPULATION_STATUS previous) override |
| HRESULT STDMETHODCALLTYPE | OnViewportUpdated (IDirectManipulationViewport *viewport) override |
| HRESULT STDMETHODCALLTYPE | OnContentUpdated (IDirectManipulationViewport *viewport, IDirectManipulationContent *content) override |
| HRESULT STDMETHODCALLTYPE | OnInteraction (IDirectManipulationViewport2 *viewport, DIRECTMANIPULATION_INTERACTION_TYPE interaction) override |
| | QWindowsDirectManipulationViewport (QWindowsDirectManipulation *dm, QWindow *window, HWND hwnd) |
| bool | init (IDirectManipulationManager *manager) |
| void | destroy (IDirectManipulationManager *manager) |
| bool | setContact (UINT32 pointerId) |
| bool | isInteracting () const |
| HRESULT STDMETHODCALLTYPE | OnViewportStatusChanged (IDirectManipulationViewport *viewport, DIRECTMANIPULATION_STATUS current, DIRECTMANIPULATION_STATUS previous) override |
| HRESULT STDMETHODCALLTYPE | OnViewportUpdated (IDirectManipulationViewport *viewport) override |
| HRESULT STDMETHODCALLTYPE | OnContentUpdated (IDirectManipulationViewport *viewport, IDirectManipulationContent *content) override |
| HRESULT STDMETHODCALLTYPE | OnInteraction (IDirectManipulationViewport2 *viewport, DIRECTMANIPULATION_INTERACTION_TYPE interaction) override |
Handles the Direct Manipulation callbacks for a single window and turns the content transforms into Qt events.
Direct Manipulation reports an absolute transform for the (notional) content of its viewport, so an interaction is a stream of transforms which we differentiate to get per-event deltas. A gesture either pans or zooms, but never both, so whichever of the two deltas changes tells us which one the user is performing.
Definition at line 93 of file qwindowsdirectmanipulation.cpp.