Code

r11451@tres: ted | 2006-04-17 22:21:33 -0700
[inkscape.git] / src / style.h
index 333344ad9b2fd280b21d645cc1b8805d56022a38..703a55fdb9c8bfb3b0b2e69b66927a036c291088 100644 (file)
@@ -148,6 +148,8 @@ enum {
     SP_PAINT_TYPE_IMPOSSIBLE
 };
 
+class SVGICCColor;
+
 /// Paint type internal to SPStyle.
 struct SPIPaint {
     unsigned set : 1;
@@ -161,6 +163,7 @@ struct SPIPaint {
             gchar *uri;
         } paint;
     } value;
+    SVGICCColor *iccColor;
 };
 
 enum {
@@ -321,10 +324,12 @@ struct SPStyle {
 
     /// style belongs to a cloned object, must not href anything
     bool cloned; 
-    /// style has hreffed its paintservers, needs to release
-    bool hreffed; 
-    /// style is listening to changes in paintservers, need to disconnect
-    bool listening; 
+    /// style has hreffed its fill/stroke paintservers, needs to release.
+    bool fill_hreffed; 
+    bool stroke_hreffed; 
+    /// style is listening to changes in fill/stroke paintservers, needs to disconnect.
+    bool fill_listening; 
+    bool stroke_listening; 
 };
 
 SPStyle *sp_style_new();