OLD | NEW |
1 | |
2 /* | 1 /* |
3 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 "SkCanvas.h" | 8 #include "SkCanvas.h" |
10 #include "SkDevice.h" | 9 #include "SkDevice.h" |
11 #include "SkPaint.h" | 10 #include "SkPaint.h" |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 69 |
71 private: | 70 private: |
72 SkRandom fRandom; | 71 SkRandom fRandom; |
73 typedef SampleView INHERITED; | 72 typedef SampleView INHERITED; |
74 }; | 73 }; |
75 | 74 |
76 ////////////////////////////////////////////////////////////////////////////// | 75 ////////////////////////////////////////////////////////////////////////////// |
77 | 76 |
78 static SkView* MyFactory() { return new ManyRectsView; } | 77 static SkView* MyFactory() { return new ManyRectsView; } |
79 static SkViewRegister reg(MyFactory); | 78 static SkViewRegister reg(MyFactory); |
OLD | NEW |