| * Copyright 2011 Google Inc. |
| * Use of this source code is governed by a BSD-style license that can be |
| * found in the LICENSE file. |
| #ifndef GMSampleView_DEFINED |
| #define GMSampleView_DEFINED |
| class GMSampleView : public SampleView { |
| ~GMSampleView() override; |
| static SkEvent* NewShowSizeEvt(bool doShowSize); |
| bool onQuery(SkEvent*) override; |
| bool onEvent(const SkEvent&) override; |
| void onDrawContent(SkCanvas*) override; |
| void onDrawBackground(SkCanvas*) override; |
| bool onAnimate(const SkAnimTimer&) override; |
| typedef SampleView INHERITED; |