Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(115)

Unified Diff: experimental/SkiaExamples/Presentation.h

Issue 16337012: Smallest possible desktop application that uses Skia to render stuff. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Presentation example Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: experimental/SkiaExamples/Presentation.h
diff --git a/experimental/SkiaExamples/Presentation.h b/experimental/SkiaExamples/Presentation.h
new file mode 100644
index 0000000000000000000000000000000000000000..f965d9abaf867d89323348a10c26b8dfdb4a5e61
--- /dev/null
+++ b/experimental/SkiaExamples/Presentation.h
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2013 Google Inc.
+ *
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ *
+ */
+
+#ifndef SkPresentation_DEFINED
+#define SkPresentation_DEFINED
+
+#include "BaseExample.h"
+
+class SkPresentation : public BaseExample {
+ public:
+ SkPresentation(void* hWnd, int argc, char** argv);
+ protected:
+ virtual void draw(SkCanvas* canvas) SK_OVERRIDE;
+ virtual void onEvent(SkEvent* evt) SK_OVERRIDE;
+ private:
+ uint32_t slideIndex;
+ typedef BaseExample INHERITED;
+};
+
+#endif // SkPresentation_DEFINED
+

Powered by Google App Engine
This is Rietveld 408576698