diff options
author | 2017-01-12 12:22:47 -0500 | |
---|---|---|
committer | 2017-01-12 19:52:18 +0000 | |
commit | 3d97a0e2adbfa3a340031e501616c6c3ba0ff95a (patch) | |
tree | 87aa79913b647218d582a6803a9d4280b26ed7c0 /src/animator/SkAnimatorScript2.h | |
parent | 5aedd6d5a31973dcfc8ecb9f995ac0e8d9840163 (diff) |
rm -r {include,src}/animator
Change-Id: Ibfb57dfa7fd317fb0737096cc7c1bbcb644421b5
Reviewed-on: https://skia-review.googlesource.com/6957
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
Diffstat (limited to 'src/animator/SkAnimatorScript2.h')
-rw-r--r-- | src/animator/SkAnimatorScript2.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/src/animator/SkAnimatorScript2.h b/src/animator/SkAnimatorScript2.h deleted file mode 100644 index c3995f6fd8..0000000000 --- a/src/animator/SkAnimatorScript2.h +++ /dev/null @@ -1,50 +0,0 @@ - -/* - * Copyright 2011 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ -#ifndef SkAnimatorScript2_DEFINED -#define SkAnimatorScript2_DEFINED - -#include "SkDisplayable.h" -#include "SkScript2.h" -#include "SkTypedArray.h" - -class SkAnimateMaker; -struct SkMemberInfo; - -#ifndef SkAnimatorScript_DEFINED -struct SkDisplayEnumMap { - SkDisplayTypes fType; - const char* fValues; -}; -#endif - -class SkAnimatorScript2 : public SkScriptEngine2 { -public: - SkAnimatorScript2(SkAnimateMaker& , SkDisplayable* working, SkDisplayTypes type); - ~SkAnimatorScript2(); - bool evalMemberCommon(const SkMemberInfo* info, - SkDisplayable* displayable, SkOperand2* value); - SkAnimateMaker& getMaker() { return fMaker; } - SkDisplayable* getWorking() { return fWorking; } - static bool MapEnums(const char* ptr, const char* match, size_t len, int* value); - static const SkDisplayEnumMap& GetEnumValues(SkDisplayTypes type); - static SkDisplayTypes ToDisplayType(SkOperand2::OpType type); - static SkOperand2::OpType ToOpType(SkDisplayTypes type); -private: - SkAnimateMaker& fMaker; - SkDisplayable* fWorking; - friend class SkDump; - friend struct SkScriptNAnswer; - // illegal - SkAnimatorScript2& operator=(const SkAnimatorScript2&); -#ifdef SK_DEBUG -public: - static void UnitTest(); -#endif -}; - -#endif // SkAnimatorScript2_DEFINED |