diff options
Diffstat (limited to 'WebCore/svg/SVGFEDisplacementMapElement.h')
-rw-r--r-- | WebCore/svg/SVGFEDisplacementMapElement.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/WebCore/svg/SVGFEDisplacementMapElement.h b/WebCore/svg/SVGFEDisplacementMapElement.h index 8131d82..a92fecd 100644 --- a/WebCore/svg/SVGFEDisplacementMapElement.h +++ b/WebCore/svg/SVGFEDisplacementMapElement.h @@ -22,6 +22,7 @@ #if ENABLE(SVG) && ENABLE(FILTERS) #include "FEDisplacementMap.h" +#include "SVGAnimatedNumber.h" #include "SVGFilterPrimitiveStandardAttributes.h" namespace WebCore { @@ -38,13 +39,14 @@ private: virtual void parseMappedAttribute(Attribute*); virtual void svgAttributeChanged(const QualifiedName&); virtual void synchronizeProperty(const QualifiedName&); - virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*); - + virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); + + // Animated property declarations DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEDisplacementMapElement, SVGNames::inAttr, String, In1, in1) DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEDisplacementMapElement, SVGNames::in2Attr, String, In2, in2) DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEDisplacementMapElement, SVGNames::xChannelSelectorAttr, int, XChannelSelector, xChannelSelector) DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEDisplacementMapElement, SVGNames::yChannelSelectorAttr, int, YChannelSelector, yChannelSelector) - DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGFEDisplacementMapElement, SVGNames::scaleAttr, float, Scale, scale) + DECLARE_ANIMATED_NUMBER(Scale, scale) }; } // namespace WebCore |