Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(274)

Side by Side Diff: samplecode/SampleApp.h

Issue 109473004: change 'n' toggle to cycle through all filterlevels (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | samplecode/SampleApp.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « no previous file | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698