|
Blender V5.3
|
#include <GHOST_TrackpadWin32.hh>
Public Member Functions | |
| ~GHOST_DirectManipulationHelper () | |
| void | update () |
| void | onPointerHitTest (UINT32 pointerId) |
| void | setDPI (uint16_t dpi) |
| GHOST_TTrackpadInfo | getTrackpadInfo () |
Static Public Member Functions | |
| static GHOST_DirectManipulationHelper * | create (HWND hWnd, uint16_t dpi) |
Definition at line 66 of file GHOST_TrackpadWin32.hh.
| GHOST_DirectManipulationHelper::~GHOST_DirectManipulationHelper | ( | ) |
Definition at line 209 of file GHOST_TrackpadWin32.cc.
References GHOST_ASSERT.
|
static |
Creates a GHOST_DirectManipulationHelper for the provided window.
| hWnd | The window receiving DirectManipulation events. |
| dpi | The current DPI. |
Definition at line 35 of file GHOST_TrackpadWin32.cc.
References DM_CHECK_RESULT_AND_EXIT_EARLY.
Referenced by GHOST_WindowWin32::GHOST_WindowWin32().
| GHOST_TTrackpadInfo GHOST_DirectManipulationHelper::getTrackpadInfo | ( | ) |
Retrieves trackpad input.
Definition at line 200 of file GHOST_TrackpadWin32.cc.
| void GHOST_DirectManipulationHelper::onPointerHitTest | ( | UINT32 | pointerId | ) |
Sets pointer in contact with the DirectManipulation context.
| pointerId | ID of the pointer in contact. |
Definition at line 174 of file GHOST_TrackpadWin32.cc.
References GHOST_ASSERT.
| void GHOST_DirectManipulationHelper::setDPI | ( | uint16_t | dpi | ) |
Updates DPI information for touchpad scaling.
| dpi | The new DPI. |
Definition at line 195 of file GHOST_TrackpadWin32.cc.
| void GHOST_DirectManipulationHelper::update | ( | ) |
Drives the DirectManipulation context. DirectManipulation's intended use is to tie user input into DirectComposition's compositor scaling and translating. We are not using DirectComposition and therefore must drive DirectManipulation manually.
Definition at line 185 of file GHOST_TrackpadWin32.cc.
References GHOST_ASSERT.