diff options
Diffstat (limited to 'intern/ghost/intern/GHOST_C-api.cpp')
-rw-r--r-- | intern/ghost/intern/GHOST_C-api.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/intern/ghost/intern/GHOST_C-api.cpp b/intern/ghost/intern/GHOST_C-api.cpp index ab0e7b724b8..d3fb7d6f043 100644 --- a/intern/ghost/intern/GHOST_C-api.cpp +++ b/intern/ghost/intern/GHOST_C-api.cpp @@ -750,8 +750,13 @@ GHOST_TSuccess GHOST_InvalidateWindow(GHOST_WindowHandle windowhandle) return window->invalidate(); } +void GHOST_SetTabletAPI(GHOST_SystemHandle systemhandle, GHOST_TTabletAPI api) +{ + GHOST_ISystem *system = (GHOST_ISystem *) systemhandle; + system->setTabletAPI(api); +} -extern const GHOST_TabletData *GHOST_GetTabletData(GHOST_WindowHandle windowhandle) +const GHOST_TabletData *GHOST_GetTabletData(GHOST_WindowHandle windowhandle) { return ((GHOST_IWindow *)windowhandle)->GetTabletData(); } |