diff options
Diffstat (limited to 'example/HelloWorld.h')
-rw-r--r-- | example/HelloWorld.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/example/HelloWorld.h b/example/HelloWorld.h index 44f1321d6b..28715fe89b 100644 --- a/example/HelloWorld.h +++ b/example/HelloWorld.h @@ -13,15 +13,16 @@ class SkCanvas; -class HelloWorld : public sk_app::Application { +class HelloWorld : public sk_app::Application, sk_app::Window::Layer { public: HelloWorld(int argc, char** argv, void* platformData); ~HelloWorld() override; - void onBackendCreated(); - void onPaint(SkCanvas* canvas); void onIdle() override; - bool onChar(SkUnichar c, uint32_t modifiers); + + void onBackendCreated() override; + void onPaint(SkCanvas* canvas) override; + bool onChar(SkUnichar c, uint32_t modifiers) override; private: void updateTitle(); |