From 42e13d16575ec1e7563c77f6571bfc09a2059146 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Sat, 7 Apr 2012 21:17:29 +0200 Subject: gives distinguishing colors to two vector params of LPE rough hatches (bzr r11173) --- src/live_effects/parameter/vector.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/live_effects/parameter/vector.cpp') 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) { } -- cgit v1.2.3