From 85cade0a10217a50aebb495099ecc0435fe08b23 Mon Sep 17 00:00:00 2001 From: "scroggo@google.com" Date: Fri, 17 Aug 2012 13:29:50 +0000 Subject: 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 --- samplecode/SampleCode.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'samplecode/SampleCode.h') 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; }; -- cgit v1.2.3