summaryrefslogtreecommitdiffstats
path: root/src/filter-enums.cpp
diff options
context:
space:
mode:
authorNicholas Bishop <nicholasbishop@gmail.com>2007-08-17 04:41:39 +0000
committernicholasbishop <nicholasbishop@users.sourceforge.net>2007-08-17 04:41:39 +0000
commit01308ae4c17f2837f72d137c5559b50dea99e681 (patch)
tree3ac5f9b60c0f04c32aeb82881d1ec2893cbef850 /src/filter-enums.cpp
parentfixing export to ocal uri (diff)
downloadinkscape-01308ae4c17f2837f72d137c5559b50dea99e681.tar.gz
inkscape-01308ae4c17f2837f72d137c5559b50dea99e681.zip
Filter effects dialog:
* Added most of the settings for feComponentTransfer to the filter dialog (still haven't done the table attribute) (bzr r3488)
Diffstat (limited to 'src/filter-enums.cpp')
-rw-r--r--src/filter-enums.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/filter-enums.cpp b/src/filter-enums.cpp
index 111cd62f9..0fce491dd 100644
--- a/src/filter-enums.cpp
+++ b/src/filter-enums.cpp
@@ -77,6 +77,16 @@ const EnumData<FeCompositeOperator> CompositeOperatorData[COMPOSITE_ENDOPERATOR]
};
const EnumDataConverter<FeCompositeOperator> CompositeOperatorConverter(CompositeOperatorData, COMPOSITE_ENDOPERATOR);
+// feComponentTransfer
+const EnumData<NR::FilterComponentTransferType> ComponentTransferTypeData[NR::COMPONENTTRANSFER_TYPE_ERROR] = {
+ {NR::COMPONENTTRANSFER_TYPE_IDENTITY, _("Identity"), "identity"},
+ {NR::COMPONENTTRANSFER_TYPE_TABLE, _("Table"), "table"},
+ {NR::COMPONENTTRANSFER_TYPE_DISCRETE, _("Discrete"), "discrete"},
+ {NR::COMPONENTTRANSFER_TYPE_LINEAR, _("Linear"), "linear"},
+ {NR::COMPONENTTRANSFER_TYPE_GAMMA, _("Gamma"), "gamma"},
+};
+const EnumDataConverter<NR::FilterComponentTransferType> ComponentTransferTypeConverter(ComponentTransferTypeData, NR::COMPONENTTRANSFER_TYPE_ERROR);
+
// feConvolveMatrix
const EnumData<NR::FilterConvolveMatrixEdgeMode> ConvolveMatrixEdgeModeData[NR::CONVOLVEMATRIX_EDGEMODE_ENDTYPE] = {
{NR::CONVOLVEMATRIX_EDGEMODE_DUPLICATE, _("Duplicate"), "duplicate"},