diff options
author | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-17 13:29:50 +0000 |
---|---|---|
committer | scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-17 13:29:50 +0000 |
commit | 85cade0a10217a50aebb495099ecc0435fe08b23 (patch) | |
tree | 47071e100b7ebfe17c22a2b1fdf54bfdd1f77053 /samplecode/SampleCode.h | |
parent | 0bc38e35b1177d007d87dcffaeeb28fd6a4c3669 (diff) |
Move tiling up into SampleWindow.
Now the tiles do not move with the view, and tiling persists when changing slides.
Review URL: https://codereview.appspot.com/6450143
git-svn-id: http://skia.googlecode.com/svn/trunk@5146 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'samplecode/SampleCode.h')
-rw-r--r-- | samplecode/SampleCode.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/samplecode/SampleCode.h b/samplecode/SampleCode.h index 6b3218536a..e86ddd660e 100644 --- a/samplecode/SampleCode.h +++ b/samplecode/SampleCode.h @@ -109,7 +109,6 @@ class SampleView : public SkView { public: SampleView() : fPipeState(SkOSMenu::kOffState), fBGColor(SK_ColorWHITE), fRepeatCount(1) { - fTileCount.set(1, 1); } void setBGColor(SkColor color) { fBGColor = color; } @@ -117,7 +116,6 @@ public: static bool IsSampleView(SkView*); static bool SetRepeatDraw(SkView*, int count); static bool SetUsePipe(SkView*, SkOSMenu::TriState); - static bool SetTileCount(SkView*, int nx, int ny); /** * Call this to request menu items from a SampleView. @@ -143,7 +141,6 @@ protected: private: int fRepeatCount; - SkISize fTileCount; typedef SkView INHERITED; }; |