#REFACTORING by cg draft
authorClaus Gittinger <cg@exept.de>
Fri, 01 Sep 2017 10:28:10 +0200
changeset 3477 52202af265c2
parent 3476 2854769b212a
child 3478 1b4386fd1953
#REFACTORING by cg class: ImageEditor removed: #doNegativeImage changed: #makeNegative
ImageEditor.st
--- a/ImageEditor.st	Fri Sep 01 10:17:35 2017 +0200
+++ b/ImageEditor.st	Fri Sep 01 10:28:10 2017 +0200
@@ -7931,24 +7931,6 @@
     "Modified: / 26.7.1998 / 20:23:52 / cg"
 !
 
-doNegativeImage
-    "negates current image by negating the color map"
-
-    self withExecuteCursorDo:[
-        imageEditView negativeImage.
-        self updateImage.
-    ].
-"/
-"/    imageEditView negativeImage.
-"/    self listOfColors removeAll.
-"/    self findColorMapMode.     
-"/    "/ imageEditView removelastUndo
-"/
-"/
-
-    "Modified: / 31-08-2017 / 12:44:25 / cg"
-!
-
 doResizeImage
     "resizes the current image"
 
@@ -8148,18 +8130,12 @@
     "negates current image by negating the color map"
 
     self withExecuteCursorDo:[
-        imageEditView negativeImage.
+        imageEditView makeNegative.
         self updateImage.
     ].
-"/
-"/    imageEditView negativeImage.
-"/    self listOfColors removeAll.
-"/    self findColorMapMode.     
-"/    "/ imageEditView removelastUndo
-"/
-"/
 
     "Created: / 31-08-2017 / 13:49:47 / cg"
+    "Modified (comment): / 01-09-2017 / 10:27:37 / cg"
 !
 
 thresholdGrayToDepth