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

Side by Side Diff: src/animator/SkAnimateBase.h

Issue 764463002: rename SkDrawable to SkADrawable (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years 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 unified diff | Download patch
OLDNEW
1 1
2 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkAnimateBase_DEFINED 10 #ifndef SkAnimateBase_DEFINED
11 #define SkAnimateBase_DEFINED 11 #define SkAnimateBase_DEFINED
12 12
13 #include "SkDisplayable.h" 13 #include "SkDisplayable.h"
14 #include "SkMath.h" 14 #include "SkMath.h"
15 #include "SkMemberInfo.h" 15 #include "SkMemberInfo.h"
16 #include "SkTypedArray.h" 16 #include "SkTypedArray.h"
17 17
18 class SkApply; 18 class SkApply;
19 class SkDrawable; 19 class SkADrawable;
20 20
21 class SkAnimateBase : public SkDisplayable { 21 class SkAnimateBase : public SkDisplayable {
22 public: 22 public:
23 DECLARE_MEMBER_INFO(AnimateBase); 23 DECLARE_MEMBER_INFO(AnimateBase);
24 SkAnimateBase(); 24 SkAnimateBase();
25 virtual ~SkAnimateBase(); 25 virtual ~SkAnimateBase();
26 virtual int components(); 26 virtual int components();
27 virtual SkDisplayable* deepCopy(SkAnimateMaker* ); 27 virtual SkDisplayable* deepCopy(SkAnimateMaker* );
28 virtual void dirty(); 28 virtual void dirty();
29 #ifdef SK_DUMP_ENABLED 29 #ifdef SK_DUMP_ENABLED
(...skipping 25 matching lines...) Expand all
55 SkString formula; 55 SkString formula;
56 SkString from; 56 SkString from;
57 SkString lval; 57 SkString lval;
58 SkScalar repeat; 58 SkScalar repeat;
59 SkString target; // temporary; once target is known, this is reset 59 SkString target; // temporary; once target is known, this is reset
60 SkString to; 60 SkString to;
61 SkApply* fApply; 61 SkApply* fApply;
62 const SkMemberInfo* fFieldInfo; 62 const SkMemberInfo* fFieldInfo;
63 int fFieldOffset; 63 int fFieldOffset;
64 SkMSec fStart; // corrected time when this apply was enabled 64 SkMSec fStart; // corrected time when this apply was enabled
65 SkDrawable* fTarget; 65 SkADrawable* fTarget;
66 SkTypedArray fValues; 66 SkTypedArray fValues;
67 unsigned fChanged : 1; // true when value referenced by script has changed 67 unsigned fChanged : 1; // true when value referenced by script has changed
68 unsigned fDelayed : 1; // enabled, but undrawn pending delay 68 unsigned fDelayed : 1; // enabled, but undrawn pending delay
69 unsigned fDynamic : 1; 69 unsigned fDynamic : 1;
70 unsigned fHasEndEvent : 1; 70 unsigned fHasEndEvent : 1;
71 unsigned fHasValues : 1; // set if 'values' passed instead of 'to' 71 unsigned fHasValues : 1; // set if 'values' passed instead of 'to'
72 unsigned fMirror : 1; 72 unsigned fMirror : 1;
73 unsigned fReset : 1; 73 unsigned fReset : 1;
74 unsigned fResetPending : 1; 74 unsigned fResetPending : 1;
75 unsigned fTargetIsScope : 1; 75 unsigned fTargetIsScope : 1;
76 private: 76 private:
77 typedef SkDisplayable INHERITED; 77 typedef SkDisplayable INHERITED;
78 friend class SkActive; 78 friend class SkActive;
79 friend class SkApply; 79 friend class SkApply;
80 friend class SkDisplayList; 80 friend class SkDisplayList;
81 }; 81 };
82 82
83 #endif // SkAnimateBase_DEFINED 83 #endif // SkAnimateBase_DEFINED
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698