diff options
author | Matt Ebb <matt@mke3.net> | 2006-08-03 16:25:32 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2006-08-03 16:25:32 +0400 |
commit | c22260a7cb9856491d2d4d8d5877f553bf1f7059 (patch) | |
tree | 29c20fcac345ca0159dda971e188f8c567bcc04d /source/blender/src/ghostwinlay.c | |
parent | c85de34c267983bfc5dca388d5bcf6f092cf60ee (diff) |
* Blender-side stuff for GHOST tablet pressure
Diffstat (limited to 'source/blender/src/ghostwinlay.c')
-rw-r--r-- | source/blender/src/ghostwinlay.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/src/ghostwinlay.c b/source/blender/src/ghostwinlay.c index b9796f8b119..d63574e79f9 100644 --- a/source/blender/src/ghostwinlay.c +++ b/source/blender/src/ghostwinlay.c @@ -714,6 +714,11 @@ void window_get_position(Window *win, int *posx_r, int *posy_r) { *posy_r= win->position[1]; } +const GHOST_TabletData* window_get_tablet_data(Window *win) +{ + return GHOST_GetTabletData(win->ghostwin); +} + void window_get_size(Window *win, int *width_r, int *height_r) { *width_r= win->size[0]; *height_r= win->size[1]; |