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

Unified Diff: helloskia/HelloSkia.h

Issue 16337012: Smallest possible desktop application that uses Skia to render stuff. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Indentation fixes... Created 7 years, 7 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: helloskia/HelloSkia.h
diff --git a/helloskia/HelloSkia.h b/helloskia/HelloSkia.h
new file mode 100644
index 0000000000000000000000000000000000000000..1ff694a3f8f30c7e9c943fb03b6ae7528b680944
--- /dev/null
+++ b/helloskia/HelloSkia.h
@@ -0,0 +1,28 @@
+/*
+ * 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 HelloSkia_DEFINED
+#define HelloSkia_DEFINED
+
+#include "SkWindow.h"
+
+class HelloWindow : public SkOSWindow {
+public:
+ HelloWindow(void* hWnd, int argc, char** argv);
+
+protected:
+ virtual void draw(SkCanvas* canvas);
+
+ SkColor fBGColor;
+private:
+ double fRotationAngle;
+
+ typedef SkOSWindow INHERITED;
+};
+#endif
caryclark 2013/06/03 19:02:01 Looks great. By the way, have you activated trybot
sglez 2013/06/03 20:24:08 I will try that, are the docs up-to-date?
caryclark 2013/06/04 11:48:12 Not sure -- bump Eric if they are not. On 2013/06/

Powered by Google App Engine
This is Rietveld 408576698