diff options
author | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-18 21:52:43 +0000 |
---|---|---|
committer | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-02-18 21:52:43 +0000 |
commit | dd0c3a55ecc096a2d9d46b15b8a485e86dbe9238 (patch) | |
tree | 2b86fce0076d3528ea56bbdbcb6b3ba4390ec374 | |
parent | 87bc94df78b2af0c5b0252515f28e75004b42cc8 (diff) |
fix signature for onFindClickHandler
git-svn-id: http://skia.googlecode.com/svn/trunk@7764 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | samplecode/SampleRegion.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/samplecode/SampleRegion.cpp b/samplecode/SampleRegion.cpp index cb860fcfb1..1bd316233f 100644 --- a/samplecode/SampleRegion.cpp +++ b/samplecode/SampleRegion.cpp @@ -394,7 +394,8 @@ protected: } } - virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { + virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, + unsigned modi) SK_OVERRIDE { return fRect.contains(SkScalarRound(x), SkScalarRound(y)) ? new Click(this) : NULL; } |