Cleanup: remove HWND from GHOST_Wintab constructor.

No change in behavior.
This commit is contained in:
Nicholas Rishel 2022-01-17 12:58:54 -08:00
parent 44ca984dc7
commit 3bbb39ecc1
2 changed files with 3 additions and 6 deletions

View File

@ -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,

View File

@ -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,