Chromium Code Reviews| Index: experimental/SkiaExamples/HelloSkiaExample.h |
| diff --git a/experimental/SkiaExamples/HelloSkiaExample.h b/experimental/SkiaExamples/HelloSkiaExample.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..ac5f0d03a1b9e5623017edae370a4b6e7bbfbfe8 |
| --- /dev/null |
| +++ b/experimental/SkiaExamples/HelloSkiaExample.h |
| @@ -0,0 +1,18 @@ |
| +#ifndef HelloSkia_DEFINED |
|
sglez
2013/06/05 16:15:32
Forgot to add copyright header comment
|
| +#define HelloSkia_DEFINED |
| + |
| +#include "BaseExample.h" |
| + |
| +class HelloSkia : public BaseExample { |
| + public: |
| + HelloSkia(void* hWnd, int argc, char** argv); |
| + protected: |
| + virtual void draw(SkCanvas* canvas) SK_OVERRIDE; |
| + private: |
| + SkScalar fRotationAngle; |
| + SkColor fBGColor; |
| + typedef BaseExample INHERITED; |
| +}; |
| + |
| +#endif |
| + |