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 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 SkTouchGesture fGesture; | 168 SkTouchGesture fGesture; |
169 SkScalar fZoomLevel; | 169 SkScalar fZoomLevel; |
170 SkScalar fZoomScale; | 170 SkScalar fZoomScale; |
171 | 171 |
172 DeviceType fDeviceType; | 172 DeviceType fDeviceType; |
173 DeviceManager* fDevManager; | 173 DeviceManager* fDevManager; |
174 | 174 |
175 bool fSaveToPdf; | 175 bool fSaveToPdf; |
176 SkAutoTUnref<SkDocument> fPDFDocument; | 176 SkAutoTUnref<SkDocument> fPDFDocument; |
177 | 177 |
| 178 bool fDoAnimate; |
178 bool fUseClip; | 179 bool fUseClip; |
179 bool fNClip; | 180 bool fNClip; |
180 bool fAnimating; | 181 bool fAnimating; |
181 bool fRotate; | 182 bool fRotate; |
182 SkScalar fRotateAnimTime; | 183 SkScalar fRotateAnimTime; |
183 bool fPerspAnim; | 184 bool fPerspAnim; |
184 SkScalar fPerspAnimTime; | 185 SkScalar fPerspAnimTime; |
185 bool fRequestGrabImage; | 186 bool fRequestGrabImage; |
186 bool fMeasureFPS; | 187 bool fMeasureFPS; |
187 SkMSec fMeasureFPS_Time; | 188 SkMSec fMeasureFPS_Time; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 bool zoomOut(); | 232 bool zoomOut(); |
232 void updatePointer(int x, int y); | 233 void updatePointer(int x, int y); |
233 void magnify(SkCanvas* canvas); | 234 void magnify(SkCanvas* canvas); |
234 void showZoomer(SkCanvas* canvas); | 235 void showZoomer(SkCanvas* canvas); |
235 void updateMatrix(); | 236 void updateMatrix(); |
236 void postAnimatingEvent(); | 237 void postAnimatingEvent(); |
237 void installDrawFilter(SkCanvas*); | 238 void installDrawFilter(SkCanvas*); |
238 int findByTitle(const char*); | 239 int findByTitle(const char*); |
239 void listTitles(); | 240 void listTitles(); |
240 SkSize tileSize() const; | 241 SkSize tileSize() const; |
| 242 bool sendAnimatePulse(); |
241 | 243 |
242 typedef SkOSWindow INHERITED; | 244 typedef SkOSWindow INHERITED; |
243 }; | 245 }; |
244 | 246 |
245 #endif | 247 #endif |
OLD | NEW |