OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Skia | 2 * Copyright 2011 Skia |
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 #ifndef SampleApp_DEFINED | 8 #ifndef SampleApp_DEFINED |
9 #define SampleApp_DEFINED | 9 #define SampleApp_DEFINED |
10 | 10 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 SkTouchGesture fGesture; | 174 SkTouchGesture fGesture; |
175 SkScalar fZoomLevel; | 175 SkScalar fZoomLevel; |
176 SkScalar fZoomScale; | 176 SkScalar fZoomScale; |
177 SkVector fOffset; | 177 SkVector fOffset; |
178 | 178 |
179 DeviceType fDeviceType; | 179 DeviceType fDeviceType; |
180 DeviceManager* fDevManager; | 180 DeviceManager* fDevManager; |
181 | 181 |
182 bool fSaveToPdf; | 182 bool fSaveToPdf; |
183 bool fSaveToSKP; | 183 bool fSaveToSKP; |
184 SkAutoTUnref<SkDocument> fPDFDocument; | 184 sk_sp<SkDocument> fPDFDocument; |
185 | 185 |
186 bool fUseClip; | 186 bool fUseClip; |
187 bool fUsePicture; | 187 bool fUsePicture; |
188 bool fAnimating; | 188 bool fAnimating; |
189 bool fRotate; | 189 bool fRotate; |
190 bool fPerspAnim; | 190 bool fPerspAnim; |
191 bool fRequestGrabImage; | 191 bool fRequestGrabImage; |
192 bool fMeasureFPS; | 192 bool fMeasureFPS; |
193 WallTimer fTimer; | 193 WallTimer fTimer; |
194 double fMeasureFPS_Time; | 194 double fMeasureFPS_Time; |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
233 void postAnimatingEvent(); | 233 void postAnimatingEvent(); |
234 int findByTitle(const char*); | 234 int findByTitle(const char*); |
235 void listTitles(); | 235 void listTitles(); |
236 SkSize tileSize() const; | 236 SkSize tileSize() const; |
237 bool sendAnimatePulse(); | 237 bool sendAnimatePulse(); |
238 | 238 |
239 typedef SkOSWindow INHERITED; | 239 typedef SkOSWindow INHERITED; |
240 }; | 240 }; |
241 | 241 |
242 #endif | 242 #endif |
OLD | NEW |