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>2009-09-17 02:27:27 +0400
committerMatt Ebb <matt@mke3.net>2009-09-17 02:27:27 +0400
commit4a15b40c37fc36a041c2d20dbcadbcf9d258c583 (patch)
treeafa3d4396e217156d5584d339acf4454d8600398 /intern/ghost/intern/GHOST_SystemCarbon.cpp
parent591a30dab030a90218f37a0c4a8c4474663c7155 (diff)
* fix compilation on osx
Diffstat (limited to 'intern/ghost/intern/GHOST_SystemCarbon.cpp')
-rw-r--r--intern/ghost/intern/GHOST_SystemCarbon.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/intern/ghost/intern/GHOST_SystemCarbon.cpp b/intern/ghost/intern/GHOST_SystemCarbon.cpp
index fb1b96fcbc7..57d6f6c06cc 100644
--- a/intern/ghost/intern/GHOST_SystemCarbon.cpp
+++ b/intern/ghost/intern/GHOST_SystemCarbon.cpp
@@ -788,21 +788,21 @@ OSStatus GHOST_SystemCarbon::handleTabletEvent(EventRef event)
switch(tabletProximityRecord.pointerType)
{
case 1: /* stylus */
- ct.Active = 1;
+ ct.Active = GHOST_kTabletModeStylus;
break;
case 2: /* puck, not supported so far */
- ct.Active = 0;
+ ct.Active = GHOST_kTabletModeNone;
break;
case 3: /* eraser */
- ct.Active = 2;
+ ct.Active = GHOST_kTabletModeEraser;
break;
default:
- ct.Active = 0;
+ ct.Active = GHOST_kTabletModeNone;
break;
}
} else {
// pointer is leaving - return to mouse
- ct.Active = 0;
+ ct.Active = GHOST_kTabletModeNone;
}
}
}