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

Unified Diff: samplecode/SampleApp.h

Issue 888283002: allow GMs to animate (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: switch all existing animations to use animatePulse Created 5 years, 11 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « samplecode/SampleAnimatedGradient.cpp ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: samplecode/SampleApp.h
diff --git a/samplecode/SampleApp.h b/samplecode/SampleApp.h
index 3e8afc0174a2fa8eb79b514081abd6403a573f63..d75e1495c3a8033736ed02cb18cf0fe231ce025c 100644
--- a/samplecode/SampleApp.h
+++ b/samplecode/SampleApp.h
@@ -175,6 +175,7 @@ private:
bool fSaveToPdf;
SkAutoTUnref<SkDocument> fPDFDocument;
+ bool fDoAnimate;
bool fUseClip;
bool fNClip;
bool fAnimating;
@@ -238,6 +239,7 @@ private:
int findByTitle(const char*);
void listTitles();
SkSize tileSize() const;
+ bool sendAnimatePulse();
typedef SkOSWindow INHERITED;
};
« no previous file with comments | « samplecode/SampleAnimatedGradient.cpp ('k') | samplecode/SampleApp.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698