Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/intern/GHOST_WindowWin32.h
| Show First 20 Lines • Show All 440 Lines • ▼ Show 20 Lines | public: | ||||
| * \param wParam: WPARAM of the event. | * \param wParam: WPARAM of the event. | ||||
| * \param lParam: LPARAM of the event. | * \param lParam: LPARAM of the event. | ||||
| * \return True if #outPointerInfo was updated. | * \return True if #outPointerInfo was updated. | ||||
| */ | */ | ||||
| GHOST_TSuccess getPointerInfo(std::vector<GHOST_PointerInfoWin32> &outPointerInfo, | GHOST_TSuccess getPointerInfo(std::vector<GHOST_PointerInfoWin32> &outPointerInfo, | ||||
| WPARAM wParam, | WPARAM wParam, | ||||
| LPARAM lParam); | LPARAM lParam); | ||||
| /** | |||||
| * Handle Wintab info changes such as change in number of connected tablets. | |||||
| * \param lParam: LPARAM of the event. | |||||
| */ | |||||
| void processWintabInfoChangeEvent(LPARAM lParam); | |||||
| void processWin32TabletActivateEvent(WORD state); | void processWin32TabletActivateEvent(WORD state); | ||||
| void processWin32TabletInitEvent(); | void processWin32TabletInitEvent(); | ||||
| void processWin32TabletEvent(WPARAM wParam, LPARAM lParam); | void processWin32TabletEvent(WPARAM wParam, LPARAM lParam); | ||||
| void bringTabletContextToFront(); | void bringTabletContextToFront(); | ||||
| GHOST_TSuccess beginFullScreen() const | GHOST_TSuccess beginFullScreen() const | ||||
| { | { | ||||
| return GHOST_kFailure; | return GHOST_kFailure; | ||||
| ▲ Show 20 Lines • Show All 104 Lines • ▼ Show 20 Lines | struct { | ||||
| GHOST_WIN32_WTPacket packet; | GHOST_WIN32_WTPacket packet; | ||||
| GHOST_WIN32_WTEnable enable; | GHOST_WIN32_WTEnable enable; | ||||
| GHOST_WIN32_WTOverlap overlap; | GHOST_WIN32_WTOverlap overlap; | ||||
| /** Stores the Tablet context if detected Tablet features using WinTab.dll */ | /** Stores the Tablet context if detected Tablet features using WinTab.dll */ | ||||
| HCTX tablet; | HCTX tablet; | ||||
| LONG maxPressure; | LONG maxPressure; | ||||
| LONG maxAzimuth, maxAltitude; | LONG maxAzimuth, maxAltitude; | ||||
| UINT numDevices; | |||||
| } m_wintab; | } m_wintab; | ||||
| GHOST_TWindowState m_normal_state; | GHOST_TWindowState m_normal_state; | ||||
| /** user32 dll handle*/ | /** user32 dll handle*/ | ||||
| HMODULE m_user32; | HMODULE m_user32; | ||||
| GHOST_WIN32_GetPointerInfoHistory m_fpGetPointerInfoHistory; | GHOST_WIN32_GetPointerInfoHistory m_fpGetPointerInfoHistory; | ||||
| GHOST_WIN32_GetPointerPenInfoHistory m_fpGetPointerPenInfoHistory; | GHOST_WIN32_GetPointerPenInfoHistory m_fpGetPointerPenInfoHistory; | ||||
| Show All 10 Lines | |||||