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 "SkBlurMask.h" | 8 #include "SkBlurMask.h" |
10 #include "SkCanvas.h" | 9 #include "SkCanvas.h" |
11 #include "SkView.h" | 10 #include "SkView.h" |
(...skipping 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
563 private: | 562 private: |
564 SkPoint fClickPt; | 563 SkPoint fClickPt; |
565 SkBitmap fBug, fTb, fTx; | 564 SkBitmap fBug, fTb, fTx; |
566 typedef SampleView INHERITED; | 565 typedef SampleView INHERITED; |
567 }; | 566 }; |
568 | 567 |
569 ////////////////////////////////////////////////////////////////////////////// | 568 ////////////////////////////////////////////////////////////////////////////// |
570 | 569 |
571 static SkView* MyFactory() { return new DemoView; } | 570 static SkView* MyFactory() { return new DemoView; } |
572 static SkViewRegister reg(MyFactory); | 571 static SkViewRegister reg(MyFactory); |
OLD | NEW |