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 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 int fMouseX, fMouseY; | 195 int fMouseX, fMouseY; |
196 int fFatBitsScale; | 196 int fFatBitsScale; |
197 // Used by the text showing position and color values. | 197 // Used by the text showing position and color values. |
198 SkTypeface* fTypeface; | 198 SkTypeface* fTypeface; |
199 bool fShowZoomer; | 199 bool fShowZoomer; |
200 | 200 |
201 SkOSMenu::TriState fLCDState; | 201 SkOSMenu::TriState fLCDState; |
202 SkOSMenu::TriState fAAState; | 202 SkOSMenu::TriState fAAState; |
203 SkOSMenu::TriState fSubpixelState; | 203 SkOSMenu::TriState fSubpixelState; |
204 int fHintingState; | 204 int fHintingState; |
205 int fFilterLevelIndex; | 205 int fFilterQualityIndex; |
206 unsigned fFlipAxis; | 206 unsigned fFlipAxis; |
207 | 207 |
208 int fMSAASampleCount; | 208 int fMSAASampleCount; |
209 | 209 |
210 int fScrollTestX, fScrollTestY; | 210 int fScrollTestX, fScrollTestY; |
211 SkScalar fZoomCenterX, fZoomCenterY; | 211 SkScalar fZoomCenterX, fZoomCenterY; |
212 | 212 |
213 //Stores global settings | 213 //Stores global settings |
214 SkOSMenu* fAppMenu; // We pass ownership to SkWindow, when we call addMenu | 214 SkOSMenu* fAppMenu; // We pass ownership to SkWindow, when we call addMenu |
215 //Stores slide specific settings | 215 //Stores slide specific settings |
(...skipping 16 matching lines...) Expand all Loading... |
232 void installDrawFilter(SkCanvas*); | 232 void installDrawFilter(SkCanvas*); |
233 int findByTitle(const char*); | 233 int findByTitle(const char*); |
234 void listTitles(); | 234 void listTitles(); |
235 SkSize tileSize() const; | 235 SkSize tileSize() const; |
236 bool sendAnimatePulse(); | 236 bool sendAnimatePulse(); |
237 | 237 |
238 typedef SkOSWindow INHERITED; | 238 typedef SkOSWindow INHERITED; |
239 }; | 239 }; |
240 | 240 |
241 #endif | 241 #endif |
OLD | NEW |