ImageEditView.st
changeset 5163 955f893d03f2
parent 5093 a70ea1df6754
child 5266 527277fcb66c
--- a/ImageEditView.st	Wed Jul 20 11:35:02 2016 +0200
+++ b/ImageEditView.st	Wed Jul 20 11:35:17 2016 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 1997 by eXept Software AG
 	      All Rights Reserved
@@ -396,8 +398,7 @@
 !ImageEditView methodsFor:'drawing'!
 
 drawFrame
-
-    self paint:Color black.
+    self paint:self blackColor.
     self lineWidth: (magnification x//3 min: 3).
     self displayRectangle: ((0@0) extent:(image extent * magnification) + margin).
     self lineWidth:1.
@@ -2039,7 +2040,7 @@
     ^ self makeNewColorMapByMapping:
         [:clr | 
             clr brightness > Color lightGray brightness
-                ifTrue:[ clr blendWith:Color white ] 
+                ifTrue:[ clr blendWith:self whiteColor ] 
                 ifFalse:[ clr blendWith:Color lightGray ]
         ].