aboutsummaryrefslogtreecommitdiffhomepage
path: root/samplecode/OverView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'samplecode/OverView.cpp')
-rw-r--r--samplecode/OverView.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/samplecode/OverView.cpp b/samplecode/OverView.cpp
index f170bdbcad..3b7183e85a 100644
--- a/samplecode/OverView.cpp
+++ b/samplecode/OverView.cpp
@@ -49,11 +49,11 @@ protected:
virtual SkCanvas* beforeChildren(SkCanvas*) SK_OVERRIDE;
- virtual bool onSendClickToChildren(SkScalar x, SkScalar y) SK_OVERRIDE {
+ virtual bool onSendClickToChildren(SkScalar x, SkScalar y, unsigned modi) SK_OVERRIDE {
return false;
}
- virtual Click* onFindClickHandler(SkScalar x, SkScalar y) SK_OVERRIDE {
+ virtual Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned modi) SK_OVERRIDE {
int ix = (int)(SkScalarDiv(x * N, kWidth));
int iy = (int)(SkScalarDiv(y * N, kHeight));
if (ix >= 0 && iy >= 0) {