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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 bool fAnimating; | 187 bool fAnimating; |
188 bool fRotate; | 188 bool fRotate; |
189 SkScalar fRotateAnimTime; | 189 SkScalar fRotateAnimTime; |
190 bool fPerspAnim; | 190 bool fPerspAnim; |
191 SkScalar fPerspAnimTime; | 191 SkScalar fPerspAnimTime; |
192 bool fRequestGrabImage; | 192 bool fRequestGrabImage; |
193 bool fMeasureFPS; | 193 bool fMeasureFPS; |
194 SkMSec fMeasureFPS_Time; | 194 SkMSec fMeasureFPS_Time; |
195 SkMSec fMeasureFPS_StartTime; | 195 SkMSec fMeasureFPS_StartTime; |
196 bool fMagnify; | 196 bool fMagnify; |
197 SkISize fTileCount; | 197 int fTilingMode; |
198 | 198 |
199 | 199 |
200 SkOSMenu::TriState fPipeState; // Mixed uses a tiled pipe | 200 SkOSMenu::TriState fPipeState; // Mixed uses a tiled pipe |
201 // On uses a normal pipe | 201 // On uses a normal pipe |
202 // Off uses no pipe | 202 // Off uses no pipe |
203 int fUsePipeMenuItemID; | 203 int fUsePipeMenuItemID; |
204 | 204 |
205 // The following are for the 'fatbits' drawing | 205 // The following are for the 'fatbits' drawing |
206 // Latest position of the mouse. | 206 // Latest position of the mouse. |
207 int fMouseX, fMouseY; | 207 int fMouseX, fMouseY; |
208 int fFatBitsScale; | 208 int fFatBitsScale; |
209 // Used by the text showing position and color values. | 209 // Used by the text showing position and color values. |
210 SkTypeface* fTypeface; | 210 SkTypeface* fTypeface; |
211 bool fShowZoomer; | 211 bool fShowZoomer; |
212 | 212 |
213 SkOSMenu::TriState fLCDState; | 213 SkOSMenu::TriState fLCDState; |
214 SkOSMenu::TriState fAAState; | 214 SkOSMenu::TriState fAAState; |
215 SkOSMenu::TriState fFilterState; | 215 SkOSMenu::TriState fFilterState; |
216 SkOSMenu::TriState fSubpixelState; | 216 SkOSMenu::TriState fSubpixelState; |
217 int fHintingState; | 217 int fHintingState; |
218 SkOSMenu::TriState fTilingState; | |
219 unsigned fFlipAxis; | 218 unsigned fFlipAxis; |
220 | 219 |
221 int fMSAASampleCount; | 220 int fMSAASampleCount; |
222 | 221 |
223 int fScrollTestX, fScrollTestY; | 222 int fScrollTestX, fScrollTestY; |
224 SkScalar fZoomCenterX, fZoomCenterY; | 223 SkScalar fZoomCenterX, fZoomCenterY; |
225 | 224 |
226 //Stores global settings | 225 //Stores global settings |
227 SkOSMenu* fAppMenu; // We pass ownership to SkWindow, when we call addMenu | 226 SkOSMenu* fAppMenu; // We pass ownership to SkWindow, when we call addMenu |
228 //Stores slide specific settings | 227 //Stores slide specific settings |
(...skipping 13 matching lines...) Expand all Loading... |
242 void updateMatrix(); | 241 void updateMatrix(); |
243 void postAnimatingEvent(); | 242 void postAnimatingEvent(); |
244 void installDrawFilter(SkCanvas*); | 243 void installDrawFilter(SkCanvas*); |
245 int findByTitle(const char*); | 244 int findByTitle(const char*); |
246 void listTitles(); | 245 void listTitles(); |
247 | 246 |
248 typedef SkOSWindow INHERITED; | 247 typedef SkOSWindow INHERITED; |
249 }; | 248 }; |
250 | 249 |
251 #endif | 250 #endif |
OLD | NEW |