Chromium Code Reviews| 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/
|