From a59a2ca83d340cee98fd272f7d7c9d77fcd910f6 Mon Sep 17 00:00:00 2001 From: bulia byak Date: Wed, 25 Oct 2006 05:35:59 +0000 Subject: implement rendering of clips/masks in outline mode; make all outline colors stored in the prefs (bzr r1861) --- src/desktop.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/desktop.cpp') diff --git a/src/desktop.cpp b/src/desktop.cpp index d7a081faf..c0548a8d2 100644 --- a/src/desktop.cpp +++ b/src/desktop.cpp @@ -1344,9 +1344,9 @@ _namedview_modified (SPObject *obj, guint flags, SPDesktop *desktop) SP_RGBA32_G_U(nv->pagecolor) + SP_RGBA32_B_U(nv->pagecolor)) >= 384) { // the background color is light or transparent, use black outline - SP_CANVAS_ARENA (desktop->drawing)->arena->outlinecolor = 0xff; + SP_CANVAS_ARENA (desktop->drawing)->arena->outlinecolor = prefs_get_int_attribute("options.wireframecolors", "onlight", 0xff); } else { // use white outline - SP_CANVAS_ARENA (desktop->drawing)->arena->outlinecolor = 0xffffffff; + SP_CANVAS_ARENA (desktop->drawing)->arena->outlinecolor = prefs_get_int_attribute("options.wireframecolors", "ondark", 0xffffffff); } } } -- cgit v1.2.3