Code

Fixed icon loading, cacheing and fallback to use stock mechanisms.
[inkscape.git] / src / display / nr-filter-types.h
index 6f28c6257d7c40ff8924976b72e01581b19b1317..ee24840cf7def8ea5b83d80f5dfa8d52a0fda74b 100644 (file)
@@ -24,15 +24,18 @@ enum FilterPrimitiveType {
 };
 //const int Filter::_filter_primitive_type_count = 16;
 
-enum {
+enum FilterSlotType {
     NR_FILTER_SLOT_NOT_SET = -1,
     NR_FILTER_SOURCEGRAPHIC = -2,
     NR_FILTER_SOURCEALPHA = -3,
     NR_FILTER_BACKGROUNDIMAGE = -4,
     NR_FILTER_BACKGROUNDALPHA = -5,
     NR_FILTER_FILLPAINT = -6,
-    NR_FILTER_STROKEPAINT = -7
+    NR_FILTER_STROKEPAINT = -7,
+    NR_FILTER_UNNAMED_SLOT = -8
 };
+/* Unnamed slot is for NR::FilterSlot internal use. Passing it as
+ * parameter to NR::FilterSlot accessors may have unforeseen consequences. */
 
 } /* namespace NR */