git-svn-id: http://skia.googlecode.com/svn/trunk@14990 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
reed@google.com 2014-05-30 13:45:36 +00:00
Родитель a3264e53ee
Коммит 687a26defa
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -51,7 +51,7 @@ public:
protected: protected:
SkBitmap fBM; SkBitmap fBM;
SkString fFilename; SkString fFilename;
int fSize; SkScalar fSize;
float fHorizontalVelocity, fVerticalVelocity; float fHorizontalVelocity, fVerticalVelocity;
SkPoint fCurPos; SkPoint fCurPos;
@ -122,5 +122,5 @@ private:
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
static SkView* MyFactory() { return new SubpixelTranslateView("mandrill_256.png", .05, .05); } static SkView* MyFactory() { return new SubpixelTranslateView("mandrill_256.png", .05f, .05f); }
static SkViewRegister reg(MyFactory); static SkViewRegister reg(MyFactory);