Added --picture flag to SampleApp, loads individual skp.
Review URL: https://codereview.appspot.com/6452077
git-svn-id: http://skia.googlecode.com/svn/trunk@4895 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleApp.h b/samplecode/SampleApp.h
index e379994..9435652 100644
--- a/samplecode/SampleApp.h
+++ b/samplecode/SampleApp.h
@@ -124,6 +124,7 @@
virtual Click* onFindClickHandler(SkScalar x, SkScalar y);
void registerPictFileSamples(char** argv, int argc);
+ void registerPictFileSample(char** argv, int argc);
private:
class DefaultDeviceManager;
@@ -155,14 +156,14 @@
bool fMeasureFPS;
SkMSec fMeasureFPS_Time;
bool fMagnify;
-
-
+
+
SkOSMenu::TriState fPipeState; // Mixed uses a tiled pipe
// On uses a normal pipe
// Off uses no pipe
int fUsePipeMenuItemID;
bool fDebugger;
-
+
// The following are for the 'fatbits' drawing
// Latest position of the mouse.
int fMouseX, fMouseY;
@@ -170,7 +171,7 @@
// Used by the text showing position and color values.
SkTypeface* fTypeface;
bool fShowZoomer;
-
+
SkOSMenu::TriState fLCDState;
SkOSMenu::TriState fAAState;
SkOSMenu::TriState fFilterState;