From 6f449692c148c6b36d65c4bfa2941e3b09e25c38 Mon Sep 17 00:00:00 2001 From: Jim Van Verth Date: Tue, 14 Feb 2017 15:16:46 -0500 Subject: Add more SampleApp support to viewer. Fixes loading a Sample as first slide. Adds char input. Adds --slide and --list options. Change-Id: I34b66818e3673fcfdc649443e7d9dfb74b478062 Reviewed-on: https://skia-review.googlesource.com/8445 Reviewed-by: Brian Osman Commit-Queue: Jim Van Verth --- tools/viewer/SampleSlide.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools/viewer/SampleSlide.h') diff --git a/tools/viewer/SampleSlide.h b/tools/viewer/SampleSlide.h index 3d772d093d..ab45c01c70 100644 --- a/tools/viewer/SampleSlide.h +++ b/tools/viewer/SampleSlide.h @@ -26,6 +26,8 @@ public: return false; } + bool onChar(SkUnichar c) override; + private: const SkViewFactory* fViewFactory; SkView* fView; -- cgit v1.2.3