Index: samplecode/SampleTextAlpha.cpp |
diff --git a/samplecode/SampleTextAlpha.cpp b/samplecode/SampleTextAlpha.cpp |
index 3f4e0dbba9689a1b5bc503aee8ed90161e01f8c2..f5c8e9da14b4e94e5c005b9784b527e82bafe115 100644 |
--- a/samplecode/SampleTextAlpha.cpp |
+++ b/samplecode/SampleTextAlpha.cpp |
@@ -36,7 +36,7 @@ public: |
protected: |
// overrides from SkEventSink |
- virtual bool onQuery(SkEvent* evt) { |
+ virtual bool onQuery(SkEvent* evt) SK_OVERRIDE { |
if (SampleCode::TitleQ(*evt)) { |
SampleCode::TitleR(evt, "TextAlpha"); |
return true; |
@@ -44,7 +44,7 @@ protected: |
return this->INHERITED::onQuery(evt); |
} |
- virtual void onDrawContent(SkCanvas* canvas) { |
+ virtual void onDrawContent(SkCanvas* canvas) SK_OVERRIDE { |
const char* str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"; |
SkPaint paint; |
SkScalar x = SkIntToScalar(10); |
@@ -73,7 +73,7 @@ protected: |
return new Click(this); |
} |
- virtual bool onClick(Click* click) { |
+ virtual bool onClick(Click* click) SK_OVERRIDE { |
int y = click->fICurr.fY; |
if (y < 0) { |
y = 0; |