OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2013 Google Inc. | 2 * Copyright 2013 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 #include "gm.h" | 7 #include "gm.h" |
| 8 #include "SkBitmapDevice.h" |
8 #include "SkTypeface.h" | 9 #include "SkTypeface.h" |
9 | 10 |
10 namespace skiagm { | 11 namespace skiagm { |
11 | 12 |
12 class DevicePropertiesGM : public GM { | 13 class DevicePropertiesGM : public GM { |
13 public: | 14 public: |
14 DevicePropertiesGM() { | 15 DevicePropertiesGM() { |
15 this->setBGColor(0xFFFFFFFF); | 16 this->setBGColor(0xFFFFFFFF); |
16 } | 17 } |
17 | 18 |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 private: | 104 private: |
104 typedef GM INHERITED; | 105 typedef GM INHERITED; |
105 }; | 106 }; |
106 | 107 |
107 ////////////////////////////////////////////////////////////////////////////// | 108 ////////////////////////////////////////////////////////////////////////////// |
108 | 109 |
109 static GM* MyFactory(void*) { return new DevicePropertiesGM; } | 110 static GM* MyFactory(void*) { return new DevicePropertiesGM; } |
110 static GMRegistry reg(MyFactory); | 111 static GMRegistry reg(MyFactory); |
111 | 112 |
112 } | 113 } |
OLD | NEW |