| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2016 Google Inc. | 2 * Copyright 2016 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #ifndef Viewer_DEFINED | 8 #ifndef Viewer_DEFINED |
| 9 #define Viewer_DEFINED | 9 #define Viewer_DEFINED |
| 10 | 10 |
| 11 #include "../Application.h" | 11 #include "sk_app/Application.h" |
| 12 #include "../Window.h" | 12 #include "sk_app/Window.h" |
| 13 #include "gm.h" | 13 #include "gm.h" |
| 14 #include "SkAnimTimer.h" | 14 #include "SkAnimTimer.h" |
| 15 #include "Slide.h" | 15 #include "Slide.h" |
| 16 | 16 |
| 17 class SkCanvas; | 17 class SkCanvas; |
| 18 | 18 |
| 19 class Viewer : public sk_app::Application { | 19 class Viewer : public sk_app::Application { |
| 20 public: | 20 public: |
| 21 Viewer(int argc, char** argv, void* platformData); | 21 Viewer(int argc, char** argv, void* platformData); |
| 22 ~Viewer() override; | 22 ~Viewer() override; |
| (...skipping 28 matching lines...) Expand all Loading... |
| 51 SkMatrix fLocalMatrix; | 51 SkMatrix fLocalMatrix; |
| 52 SkScalar fZoomCenterX; | 52 SkScalar fZoomCenterX; |
| 53 SkScalar fZoomCenterY; | 53 SkScalar fZoomCenterY; |
| 54 SkScalar fZoomLevel; | 54 SkScalar fZoomLevel; |
| 55 SkScalar fZoomScale; | 55 SkScalar fZoomScale; |
| 56 | 56 |
| 57 }; | 57 }; |
| 58 | 58 |
| 59 | 59 |
| 60 #endif | 60 #endif |
| OLD | NEW |