Cleanup: remove HWND from GHOST_Wintab constructor.
No change in behavior.
This commit is contained in:
parent
44ca984dc7
commit
3bbb39ecc1
|
@ -130,8 +130,7 @@ GHOST_Wintab *GHOST_Wintab::loadWintab(HWND hwnd)
|
|||
}
|
||||
}
|
||||
|
||||
return new GHOST_Wintab(hwnd,
|
||||
std::move(handle),
|
||||
return new GHOST_Wintab(std::move(handle),
|
||||
info,
|
||||
get,
|
||||
set,
|
||||
|
@ -174,8 +173,7 @@ void GHOST_Wintab::extractCoordinates(LOGCONTEXT &lc, Coord &tablet, Coord &syst
|
|||
system.y.ext = -lc.lcSysExtY;
|
||||
}
|
||||
|
||||
GHOST_Wintab::GHOST_Wintab(HWND hwnd,
|
||||
unique_hmodule handle,
|
||||
GHOST_Wintab::GHOST_Wintab(unique_hmodule handle,
|
||||
GHOST_WIN32_WTInfo info,
|
||||
GHOST_WIN32_WTGet get,
|
||||
GHOST_WIN32_WTSet set,
|
||||
|
|
|
@ -214,8 +214,7 @@ class GHOST_Wintab {
|
|||
/** Most recently received tablet data, or none if pen is not in range. */
|
||||
GHOST_TabletData m_lastTabletData = GHOST_TABLET_DATA_NONE;
|
||||
|
||||
GHOST_Wintab(HWND hwnd,
|
||||
unique_hmodule handle,
|
||||
GHOST_Wintab(unique_hmodule handle,
|
||||
GHOST_WIN32_WTInfo info,
|
||||
GHOST_WIN32_WTGet get,
|
||||
GHOST_WIN32_WTSet set,
|
||||
|
|
Loading…
Reference in New Issue