summaryrefslogtreecommitdiffstats
path: root/WebCore/svg/SVGComponentTransferFunctionElement.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/svg/SVGComponentTransferFunctionElement.h')
-rw-r--r--WebCore/svg/SVGComponentTransferFunctionElement.h43
1 files changed, 21 insertions, 22 deletions
diff --git a/WebCore/svg/SVGComponentTransferFunctionElement.h b/WebCore/svg/SVGComponentTransferFunctionElement.h
index 7c56507..e02fc16 100644
--- a/WebCore/svg/SVGComponentTransferFunctionElement.h
+++ b/WebCore/svg/SVGComponentTransferFunctionElement.h
@@ -23,31 +23,30 @@
#if ENABLE(SVG) && ENABLE(FILTERS)
#include "FEComponentTransfer.h"
-#include "SVGAnimatedNumber.h"
-#include "SVGAnimatedNumberList.h"
+#include "SVGAnimatedPropertyMacros.h"
+#include "SVGNumberList.h"
namespace WebCore {
-class SVGComponentTransferFunctionElement : public SVGElement {
-public:
- ComponentTransferFunction transferFunction() const;
-
-protected:
- SVGComponentTransferFunctionElement(const QualifiedName&, Document*);
-
- virtual void parseMappedAttribute(Attribute*);
- virtual void synchronizeProperty(const QualifiedName&);
-
-private:
- // Animated property declarations
- DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGComponentTransferFunctionElement, SVGNames::typeAttr, int, Type, type)
- DECLARE_ANIMATED_NUMBER_LIST(TableValues, tableValues)
- DECLARE_ANIMATED_NUMBER(Slope, slope)
- DECLARE_ANIMATED_NUMBER(Intercept, intercept)
- DECLARE_ANIMATED_NUMBER(Amplitude, amplitude)
- DECLARE_ANIMATED_NUMBER(Exponent, exponent)
- DECLARE_ANIMATED_NUMBER(Offset, offset)
-};
+ class SVGComponentTransferFunctionElement : public SVGElement {
+ public:
+ ComponentTransferFunction transferFunction() const;
+
+ protected:
+ SVGComponentTransferFunctionElement(const QualifiedName&, Document*);
+
+ virtual void parseMappedAttribute(Attribute*);
+ virtual void synchronizeProperty(const QualifiedName&);
+
+ private:
+ DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGComponentTransferFunctionElement, SVGNames::typeAttr, int, Type, type)
+ DECLARE_ANIMATED_LIST_PROPERTY_NEW(SVGComponentTransferFunctionElement, SVGNames::tableValuesAttr, SVGNumberList, TableValues, tableValues)
+ DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGComponentTransferFunctionElement, SVGNames::slopeAttr, float, Slope, slope)
+ DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGComponentTransferFunctionElement, SVGNames::interceptAttr, float, Intercept, intercept)
+ DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGComponentTransferFunctionElement, SVGNames::amplitudeAttr, float, Amplitude, amplitude)
+ DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGComponentTransferFunctionElement, SVGNames::exponentAttr, float, Exponent, exponent)
+ DECLARE_ANIMATED_STATIC_PROPERTY_NEW(SVGComponentTransferFunctionElement, SVGNames::offsetAttr, float, Offset, offset)
+ };
} // namespace WebCore