| 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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 bool fAnimating; | 184 bool fAnimating; |
| 185 bool fRotate; | 185 bool fRotate; |
| 186 bool fPerspAnim; | 186 bool fPerspAnim; |
| 187 bool fRequestGrabImage; | 187 bool fRequestGrabImage; |
| 188 bool fMeasureFPS; | 188 bool fMeasureFPS; |
| 189 WallTimer fTimer; | 189 WallTimer fTimer; |
| 190 double fMeasureFPS_Time; | 190 double fMeasureFPS_Time; |
| 191 bool fMagnify; | 191 bool fMagnify; |
| 192 int fTilingMode; | 192 int fTilingMode; |
| 193 | 193 |
| 194 | |
| 195 SkOSMenu::TriState fPipeState; // Mixed uses a tiled pipe | |
| 196 // On uses a normal pipe | |
| 197 // Off uses no pipe | |
| 198 int fUsePipeMenuItemID; | |
| 199 | |
| 200 // The following are for the 'fatbits' drawing | 194 // The following are for the 'fatbits' drawing |
| 201 // Latest position of the mouse. | 195 // Latest position of the mouse. |
| 202 int fMouseX, fMouseY; | 196 int fMouseX, fMouseY; |
| 203 int fFatBitsScale; | 197 int fFatBitsScale; |
| 204 // Used by the text showing position and color values. | 198 // Used by the text showing position and color values. |
| 205 SkTypeface* fTypeface; | 199 SkTypeface* fTypeface; |
| 206 bool fShowZoomer; | 200 bool fShowZoomer; |
| 207 | 201 |
| 208 SkOSMenu::TriState fLCDState; | 202 SkOSMenu::TriState fLCDState; |
| 209 SkOSMenu::TriState fAAState; | 203 SkOSMenu::TriState fAAState; |
| (...skipping 25 matching lines...) Expand all Loading... |
| 235 void postAnimatingEvent(); | 229 void postAnimatingEvent(); |
| 236 int findByTitle(const char*); | 230 int findByTitle(const char*); |
| 237 void listTitles(); | 231 void listTitles(); |
| 238 SkSize tileSize() const; | 232 SkSize tileSize() const; |
| 239 bool sendAnimatePulse(); | 233 bool sendAnimatePulse(); |
| 240 | 234 |
| 241 typedef SkOSWindow INHERITED; | 235 typedef SkOSWindow INHERITED; |
| 242 }; | 236 }; |
| 243 | 237 |
| 244 #endif | 238 #endif |
| OLD | NEW |