OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright 2013 Google Inc. |
| 3 * |
| 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. |
| 7 * |
| 8 */ |
| 9 |
| 10 #ifndef SkPresentation_DEFINED |
| 11 #define SkPresentation_DEFINED |
| 12 |
| 13 #include "BaseExample.h" |
| 14 |
| 15 class SkPresentation : public BaseExample { |
| 16 public: |
| 17 SkPresentation(void* hWnd, int argc, char** argv); |
| 18 protected: |
| 19 virtual void draw(SkCanvas* canvas) SK_OVERRIDE; |
| 20 virtual void onEvent(SkEvent* evt) SK_OVERRIDE; |
| 21 private: |
| 22 uint32_t slideIndex; |
| 23 typedef BaseExample INHERITED; |
| 24 }; |
| 25 |
| 26 #endif // SkPresentation_DEFINED |
| 27 |
OLD | NEW |