| OLD | NEW |
| 1 | 1 |
| 2 /* | 2 /* |
| 3 * Copyright 2011 Google Inc. | 3 * Copyright 2011 Google Inc. |
| 4 * | 4 * |
| 5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
| 6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
| 7 */ | 7 */ |
| 8 #include "SampleCode.h" | 8 #include "SampleCode.h" |
| 9 #include "SkBlurMask.h" | 9 #include "SkBlurMask.h" |
| 10 #include "SkBlurMaskFilter.h" | 10 #include "SkBlurMaskFilter.h" |
| 11 #include "SkCanvas.h" | 11 #include "SkCanvas.h" |
| 12 #include "SkDevice.h" | 12 #include "SkDevice.h" |
| 13 #include "SkGradientShader.h" | 13 #include "SkGradientShader.h" |
| 14 #include "SkGraphics.h" | 14 #include "SkGraphics.h" |
| 15 #include "SkImageDecoder.h" | |
| 16 #include "SkPath.h" | 15 #include "SkPath.h" |
| 17 #include "SkRandom.h" | 16 #include "SkRandom.h" |
| 18 #include "SkRegion.h" | 17 #include "SkRegion.h" |
| 19 #include "SkShader.h" | 18 #include "SkShader.h" |
| 20 #include "SkUtils.h" | 19 #include "SkUtils.h" |
| 21 #include "SkXfermode.h" | 20 #include "SkXfermode.h" |
| 22 #include "SkColorPriv.h" | 21 #include "SkColorPriv.h" |
| 23 #include "SkColorFilter.h" | 22 #include "SkColorFilter.h" |
| 24 #include "SkTime.h" | 23 #include "SkTime.h" |
| 25 #include "SkTypeface.h" | 24 #include "SkTypeface.h" |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 private: | 87 private: |
| 89 int fByte; | 88 int fByte; |
| 90 | 89 |
| 91 typedef SampleView INHERITED; | 90 typedef SampleView INHERITED; |
| 92 }; | 91 }; |
| 93 | 92 |
| 94 ////////////////////////////////////////////////////////////////////////////// | 93 ////////////////////////////////////////////////////////////////////////////// |
| 95 | 94 |
| 96 static SkView* MyFactory() { return new TextAlphaView; } | 95 static SkView* MyFactory() { return new TextAlphaView; } |
| 97 static SkViewRegister reg(MyFactory); | 96 static SkViewRegister reg(MyFactory); |
| OLD | NEW |