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 SkDisplayInput_DEFINED michael@0: #define SkDisplayInput_DEFINED michael@0: michael@0: #include "SkDisplayable.h" michael@0: #include "SkMemberInfo.h" michael@0: michael@0: class SkInput : public SkDisplayable { michael@0: DECLARE_MEMBER_INFO(Input); michael@0: SkInput(); michael@0: virtual SkDisplayable* contains(const SkString& ); michael@0: virtual bool getProperty(int index, SkScriptValue* value) const; michael@0: virtual bool enable(SkAnimateMaker & ); michael@0: virtual bool hasEnable() const; michael@0: protected: michael@0: SkString name; michael@0: int32_t fInt; michael@0: SkScalar fFloat; michael@0: SkString string; michael@0: private: michael@0: friend class SkDisplayEvent; michael@0: friend class SkPost; michael@0: }; michael@0: michael@0: #endif // SkDisplayInput_DEFINED