aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/views/SkView.h
diff options
context:
space:
mode:
authorGravatar Scroggo <Scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-22 13:26:56 +0000
committerGravatar Scroggo <Scroggo@2bbb7eff-a529-9590-31e7-b0007b416f81>2011-06-22 13:26:56 +0000
commitd3aed39ab1ad88b05b9423ee1329c227d1f8f612 (patch)
tree47960b4de36c6188aa8374e89cef85e078b5ebe0 /include/views/SkView.h
parent1eeaf0ba2381f84ffd889f56303cbe0d1886bb21 (diff)
Unify handleTouch and handleClick in SampleApp.
Allow each sample to handle clicks in Android SampleApp. Remove SampleWindow::handleTouch. Allow an SkWindow to have multiple clicks. Add an owner pointer to SkView::Click. Reviewed at http://codereview.appspot.com/4643052/ git-svn-id: http://skia.googlecode.com/svn/trunk@1673 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/views/SkView.h')
-rw-r--r--include/views/SkView.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/views/SkView.h b/include/views/SkView.h
index d3633db160..9cefb33acb 100644
--- a/include/views/SkView.h
+++ b/include/views/SkView.h
@@ -142,6 +142,7 @@ public:
SkPoint fOrig, fPrev, fCurr;
SkIPoint fIOrig, fIPrev, fICurr;
State fState;
+ void* fOwner;
private:
SkEventSinkID fTargetID;
char* fType;