OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 Google Inc. |
3 * | 3 * |
4 * 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 |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "SampleCode.h" | 8 #include "SampleCode.h" |
9 #include "SkView.h" | 9 #include "SkView.h" |
10 #include "SkCanvas.h" | 10 #include "SkCanvas.h" |
11 #include "SkGradientShader.h" | 11 #include "SkGradientShader.h" |
12 #include "SkGraphics.h" | 12 #include "SkGraphics.h" |
13 #include "SkImageDecoder.h" | |
14 #include "SkPath.h" | 13 #include "SkPath.h" |
15 #include "SkRandom.h" | 14 #include "SkRandom.h" |
16 #include "SkRegion.h" | 15 #include "SkRegion.h" |
17 #include "SkShader.h" | 16 #include "SkShader.h" |
18 #include "SkUtils.h" | 17 #include "SkUtils.h" |
19 #include "SkColorPriv.h" | 18 #include "SkColorPriv.h" |
20 #include "SkColorFilter.h" | 19 #include "SkColorFilter.h" |
21 #include "SkTime.h" | 20 #include "SkTime.h" |
22 #include "SkTypeface.h" | 21 #include "SkTypeface.h" |
23 #include "SkXfermode.h" | 22 #include "SkXfermode.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 | 71 |
73 private: | 72 private: |
74 | 73 |
75 typedef SampleView INHERITED; | 74 typedef SampleView INHERITED; |
76 }; | 75 }; |
77 | 76 |
78 ////////////////////////////////////////////////////////////////////////////// | 77 ////////////////////////////////////////////////////////////////////////////// |
79 | 78 |
80 static SkView* MyFactory() { return new PointsView; } | 79 static SkView* MyFactory() { return new PointsView; } |
81 static SkViewRegister reg(MyFactory); | 80 static SkViewRegister reg(MyFactory); |
OLD | NEW |