diff options
author | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-28 02:21:27 +0000 |
---|---|---|
committer | mike@reedtribe.org <mike@reedtribe.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-01-28 02:21:27 +0000 |
commit | 093455c116c016e95c47740ef7385f8a3372f160 (patch) | |
tree | fb0733c46d20af6cff8c933852c076abc6381728 | |
parent | 27b6899b6aa4c9b5ff53e0cc484f4a7c17471d6c (diff) |
add missing parameter to overridden onFindClickHandler
git-svn-id: http://skia.googlecode.com/svn/trunk@7410 2bbb7eff-a529-9590-31e7-b0007b416f81
-rw-r--r-- | samplecode/SampleFatBits.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/samplecode/SampleFatBits.cpp b/samplecode/SampleFatBits.cpp index 44d7abe8dd..7ac87a7bc0 100644 --- a/samplecode/SampleFatBits.cpp +++ b/samplecode/SampleFatBits.cpp @@ -120,7 +120,6 @@ private: break; case kStroke_Style: paint->setStrokeWidth(SK_Scalar1); -// paint->setStrokeWidth(SK_Scalar1 + SK_Scalar1/500); break; } paint->setAntiAlias(aa); @@ -421,7 +420,8 @@ protected: } } - virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y) { + virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, + unsigned modi) SK_OVERRIDE { SkPoint pt = { x, y }; int index = -1; SkScalar tol = 12; @@ -433,7 +433,7 @@ protected: return new IndexClick(this, index); } - virtual bool onClick(Click* click) { + virtual bool onClick(Click* click) SK_OVERRIDE { int index = IndexClick::GetIndex(click); if (index >= 0 && index <= 1) { fPts[index] = click->fCurr; |