OLD | NEW |
---|---|
(Empty) | |
1 /* | |
2 * Copyright 2016 Google Inc. | |
3 * | |
4 * Use of this source code is governed by a BSD-style license that can be | |
5 * found in the LICENSE file. | |
6 */ | |
7 | |
8 #ifndef GMSlide_DEFINED | |
9 #define GMSlide_DEFINED | |
10 | |
11 #include "Slide.h" | |
12 #include "gm.h" | |
13 | |
14 class GMSlide : public Slide { | |
15 public: | |
16 GMSlide(skiagm::GM* gm); | |
17 ~GMSlide() override; | |
18 | |
19 void draw(SkCanvas* canvas) override; | |
20 SkString getName() override { return fName; } | |
21 | |
22 private: | |
23 skiagm::GM* fGM; | |
24 SkString fName; | |
egdaniel
2016/04/07 20:46:37
should fName be protected on the base class?
jvanverth1
2016/04/08 14:08:40
Done.
| |
25 }; | |
26 | |
27 | |
28 #endif | |
OLD | NEW |