| OLD | NEW |
| 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 SkDisplayAdd_DEFINED | 10 #ifndef SkDisplayAdd_DEFINED |
| (...skipping 18 matching lines...) Expand all Loading... |
| 29 #endif | 29 #endif |
| 30 bool enable(SkAnimateMaker& ) override; | 30 bool enable(SkAnimateMaker& ) override; |
| 31 bool hasEnable() const override; | 31 bool hasEnable() const override; |
| 32 void initialize() override; | 32 void initialize() override; |
| 33 bool isDrawable() const override; | 33 bool isDrawable() const override; |
| 34 protected: | 34 protected: |
| 35 // struct _A { | 35 // struct _A { |
| 36 Mode mode; | 36 Mode mode; |
| 37 int32_t offset; | 37 int32_t offset; |
| 38 SkADrawable* use; | 38 SkADrawable* use; |
| 39 SkADrawable* where; // if NULL, offset becomes index | 39 SkADrawable* where; // if nullptr, offset becomes index |
| 40 // } A; | 40 // } A; |
| 41 private: | 41 private: |
| 42 typedef SkADrawable INHERITED; | 42 typedef SkADrawable INHERITED; |
| 43 }; | 43 }; |
| 44 | 44 |
| 45 class SkClear : public SkDisplayable { | 45 class SkClear : public SkDisplayable { |
| 46 virtual bool enable(SkAnimateMaker& ); | 46 virtual bool enable(SkAnimateMaker& ); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 class SkMove : public SkAdd { | 49 class SkMove : public SkAdd { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 62 typedef SkAdd INHERITED; | 62 typedef SkAdd INHERITED; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 class SkReplace : public SkAdd { | 65 class SkReplace : public SkAdd { |
| 66 DECLARE_MEMBER_INFO(Replace); | 66 DECLARE_MEMBER_INFO(Replace); |
| 67 private: | 67 private: |
| 68 typedef SkAdd INHERITED; | 68 typedef SkAdd INHERITED; |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 #endif // SkDisplayAdd_DEFINED | 71 #endif // SkDisplayAdd_DEFINED |
| OLD | NEW |