michael@0: michael@0: /* michael@0: * Copyright 2006 The Android Open Source Project michael@0: * michael@0: * Use of this source code is governed by a BSD-style license that can be michael@0: * found in the LICENSE file. michael@0: */ michael@0: michael@0: michael@0: #ifndef SkHitTest_DEFINED michael@0: #define SkHitTest_DEFINED michael@0: michael@0: #include "SkDrawable.h" michael@0: #include "SkTypedArray.h" michael@0: michael@0: class SkHitTest : public SkDrawable { michael@0: DECLARE_MEMBER_INFO(HitTest); michael@0: SkHitTest(); michael@0: virtual bool draw(SkAnimateMaker& ); michael@0: virtual bool enable(SkAnimateMaker& ); michael@0: virtual bool hasEnable() const; michael@0: virtual const SkMemberInfo* preferredChild(SkDisplayTypes type); michael@0: private: michael@0: SkTDDisplayableArray bullets; michael@0: SkTDIntArray hits; michael@0: SkTDDisplayableArray targets; michael@0: SkBool value; michael@0: }; michael@0: michael@0: #endif // SkHitTest_DEFINED