| 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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; | |
| 216 SkOSMenu::TriState fSubpixelState; | 215 SkOSMenu::TriState fSubpixelState; |
| 217 int fHintingState; | 216 int fHintingState; |
| 217 int fFilterLevelIndex; |
| 218 unsigned fFlipAxis; | 218 unsigned fFlipAxis; |
| 219 | 219 |
| 220 int fMSAASampleCount; | 220 int fMSAASampleCount; |
| 221 | 221 |
| 222 int fScrollTestX, fScrollTestY; | 222 int fScrollTestX, fScrollTestY; |
| 223 SkScalar fZoomCenterX, fZoomCenterY; | 223 SkScalar fZoomCenterX, fZoomCenterY; |
| 224 | 224 |
| 225 //Stores global settings | 225 //Stores global settings |
| 226 SkOSMenu* fAppMenu; // We pass ownership to SkWindow, when we call addMenu | 226 SkOSMenu* fAppMenu; // We pass ownership to SkWindow, when we call addMenu |
| 227 //Stores slide specific settings | 227 //Stores slide specific settings |
| (...skipping 13 matching lines...) Expand all Loading... |
| 241 void updateMatrix(); | 241 void updateMatrix(); |
| 242 void postAnimatingEvent(); | 242 void postAnimatingEvent(); |
| 243 void installDrawFilter(SkCanvas*); | 243 void installDrawFilter(SkCanvas*); |
| 244 int findByTitle(const char*); | 244 int findByTitle(const char*); |
| 245 void listTitles(); | 245 void listTitles(); |
| 246 | 246 |
| 247 typedef SkOSWindow INHERITED; | 247 typedef SkOSWindow INHERITED; |
| 248 }; | 248 }; |
| 249 | 249 |
| 250 #endif | 250 #endif |
| OLD | NEW |