diff options
Diffstat (limited to 'include/views')
-rw-r--r-- | include/views/SkTouchGesture.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/views/SkTouchGesture.h b/include/views/SkTouchGesture.h index 6776de7267..faadfc1b3d 100644 --- a/include/views/SkTouchGesture.h +++ b/include/views/SkTouchGesture.h @@ -39,6 +39,7 @@ public: bool isActive() { return fFlinger.isActive(); } void stop() { fFlinger.stop(); } + bool isBeingTouched() { return kEmpty_State != fState; } const SkMatrix& localM(); const SkMatrix& globalM() const { return fGlobalM; } |