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: #include "SkHitClear.h" michael@0: michael@0: #if SK_USE_CONDENSED_INFO == 0 michael@0: michael@0: const SkMemberInfo SkHitClear::fInfo[] = { michael@0: SK_MEMBER_ARRAY(targets, Displayable) michael@0: }; michael@0: michael@0: #endif michael@0: michael@0: DEFINE_GET_MEMBER(SkHitClear); michael@0: michael@0: bool SkHitClear::enable(SkAnimateMaker&) { michael@0: for (int tIndex = 0; tIndex < targets.count(); tIndex++) { michael@0: SkDisplayable* target = targets[tIndex]; michael@0: target->clearBounder(); michael@0: } michael@0: return true; michael@0: } michael@0: michael@0: bool SkHitClear::hasEnable() const { michael@0: return true; michael@0: }