summaryrefslogtreecommitdiffstats
path: root/src/live_effects/parameter/vector.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2012-04-07 19:17:29 +0000
committerJohan B. C. Engelen <j.b.c.engelen@alumnus.utwente.nl>2012-04-07 19:17:29 +0000
commit42e13d16575ec1e7563c77f6571bfc09a2059146 (patch)
tree45de7bcc56930c9ae34c32c5613b48cc8d2f89bb /src/live_effects/parameter/vector.cpp
parentFix some deprecated GDK key symbols (diff)
downloadinkscape-42e13d16575ec1e7563c77f6571bfc09a2059146.tar.gz
inkscape-42e13d16575ec1e7563c77f6571bfc09a2059146.zip
gives distinguishing colors to two vector params of LPE rough hatches
(bzr r11173)
Diffstat (limited to 'src/live_effects/parameter/vector.cpp')
-rw-r--r--src/live_effects/parameter/vector.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/live_effects/parameter/vector.cpp b/src/live_effects/parameter/vector.cpp
index 21a7222a6..3e0ac9092 100644
--- a/src/live_effects/parameter/vector.cpp
+++ b/src/live_effects/parameter/vector.cpp
@@ -137,6 +137,13 @@ VectorParam::set_origin_oncanvas_looks(SPKnotShapeType shape, SPKnotModeType mod
ori_knot_color = color;
}
+void
+VectorParam::set_oncanvas_color(guint32 color)
+{
+ vec_knot_color = color;
+ ori_knot_color = color;
+}
+
class VectorParamKnotHolderEntity_Origin : public KnotHolderEntity {
public:
VectorParamKnotHolderEntity_Origin(VectorParam *p) : param(p) { }