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:
authorMatt Ebb <matt@mke3.net>2006-08-03 16:25:32 +0400
committerMatt Ebb <matt@mke3.net>2006-08-03 16:25:32 +0400
commitc22260a7cb9856491d2d4d8d5877f553bf1f7059 (patch)
tree29c20fcac345ca0159dda971e188f8c567bcc04d /source/blender/src/ghostwinlay.c
parentc85de34c267983bfc5dca388d5bcf6f092cf60ee (diff)
* Blender-side stuff for GHOST tablet pressure
Diffstat (limited to 'source/blender/src/ghostwinlay.c')
-rw-r--r--source/blender/src/ghostwinlay.c5
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];