Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Rishel <rishel.nick@gmail.com>2022-01-17 23:58:54 +0300
committerNicholas Rishel <rishel.nick@gmail.com>2022-01-18 01:07:08 +0300
commit3bbb39ecc114ddd2c5c3fc91e1376e1cc33f55b7 (patch)
treeaccd234c13a4f3dd25f3f30db792ba874e653b95
parent44ca984dc7b150e5fd6ad88b999d0dbdc7cb9218 (diff)
Cleanup: remove HWND from GHOST_Wintab constructor.
No change in behavior.
-rw-r--r--intern/ghost/intern/GHOST_Wintab.cpp6
-rw-r--r--intern/ghost/intern/GHOST_Wintab.h3
2 files changed, 3 insertions, 6 deletions
diff --git a/intern/ghost/intern/GHOST_Wintab.cpp b/intern/ghost/intern/GHOST_Wintab.cpp
index d13d1a560b7..953fcb171e5 100644
--- a/intern/ghost/intern/GHOST_Wintab.cpp
+++ b/intern/ghost/intern/GHOST_Wintab.cpp
@@ -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,
diff --git a/intern/ghost/intern/GHOST_Wintab.h b/intern/ghost/intern/GHOST_Wintab.h
index c61b1c8ccda..1994f057db9 100644
--- a/intern/ghost/intern/GHOST_Wintab.h
+++ b/intern/ghost/intern/GHOST_Wintab.h
@@ -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,