Index: samplecode/SampleStringArt.cpp |
diff --git a/samplecode/SampleStringArt.cpp b/samplecode/SampleStringArt.cpp |
index 353d4cc957a8fb130ab9b288f06843fd2a930de4..852247878376f8e5c3d08f6cc431d7634a144298 100644 |
--- a/samplecode/SampleStringArt.cpp |
+++ b/samplecode/SampleStringArt.cpp |
@@ -19,7 +19,7 @@ public: |
protected: |
// overrides from SkEventSink |
- virtual bool onQuery(SkEvent* evt) SK_OVERRIDE { |
+ bool onQuery(SkEvent* evt) SK_OVERRIDE { |
if (SampleCode::TitleQ(*evt)) { |
SampleCode::TitleR(evt, "StringArt"); |
return true; |
@@ -27,7 +27,7 @@ protected: |
return this->INHERITED::onQuery(evt); |
} |
- virtual void onDrawContent(SkCanvas* canvas) SK_OVERRIDE { |
+ void onDrawContent(SkCanvas* canvas) SK_OVERRIDE { |
SkScalar angle = fAngle*SK_ScalarPI + SkScalarHalf(SK_ScalarPI); |
SkPoint center = SkPoint::Make(SkScalarHalf(this->width()), SkScalarHalf(this->height())); |
@@ -55,7 +55,7 @@ protected: |
canvas->drawPath(path, paint); |
} |
- virtual SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) SK_OVERRIDE { |
+ SkView::Click* onFindClickHandler(SkScalar x, SkScalar y, unsigned) SK_OVERRIDE { |
fAngle = x/width(); |
this->inval(NULL); |
return NULL; |