OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
4 * | 3 * |
5 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 5 * found in the LICENSE file. |
7 */ | 6 */ |
8 #include "SampleCode.h" | 7 #include "SampleCode.h" |
9 #include "SkView.h" | 8 #include "SkView.h" |
10 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
11 #include "SkGradientShader.h" | 10 #include "SkGradientShader.h" |
(...skipping 29 matching lines...) Expand all Loading... |
41 } | 40 } |
42 | 41 |
43 private: | 42 private: |
44 typedef SampleView INHERITED; | 43 typedef SampleView INHERITED; |
45 }; | 44 }; |
46 | 45 |
47 ////////////////////////////////////////////////////////////////////////////// | 46 ////////////////////////////////////////////////////////////////////////////// |
48 | 47 |
49 static SkView* MyFactory() { return new TwoPtConicalView; } | 48 static SkView* MyFactory() { return new TwoPtConicalView; } |
50 static SkViewRegister reg(MyFactory); | 49 static SkViewRegister reg(MyFactory); |
OLD | NEW |