ImageEditView.st
changeset 1019 e68414752bc9
parent 1013 758cfa70edc5
child 1025 4470f3ad349f
--- a/ImageEditView.st	Mon Jul 27 18:07:27 1998 +0200
+++ b/ImageEditView.st	Mon Jul 27 18:22:02 1998 +0200
@@ -318,9 +318,11 @@
         (editMode = 'paste' or:[editMode = 'pasteUnder']) ifTrue: [
             (self selectedColor notNil and: [self imageContainsPastePoint: x@y]) 
                 ifTrue:  [self drawPasteRectangleAt: x@y]
-                ifFalse: [Cursor stop show. self releasePasteDrawing]
+                ifFalse: [self cursor:Cursor stop. self releasePasteDrawing]
         ]
     ]
+
+    "Modified: / 27.7.1998 / 17:45:20 / cg"
 !
 
 buttonPress:button x:x y:y
@@ -370,11 +372,11 @@
     super pointerLeave: state.
 
     self drawLabel: self imageInfoString.
-    Cursor normal show.
+    self cursor:Cursor normal.
 
     (editMode = 'paste' or:[editMode = 'pasteUnder']) ifTrue: [self releasePasteDrawing]
 
-    "Modified: / 25.7.1998 / 20:17:18 / cg"
+    "Modified: / 27.7.1998 / 17:45:58 / cg"
 ! !
 
 !ImageEditView methodsFor:'image editing'!
@@ -680,7 +682,7 @@
 
     image isNil ifTrue: [
         self drawLabel: self imageInfoString. 
-        Cursor stop show.
+        self cursor:Cursor stop.
         ^ self
     ].
 
@@ -688,7 +690,7 @@
     and:[aPoint y < (image height * magnification)])
     ifFalse:[
         self drawLabel: self imageInfoString. 
-        Cursor stop show.
+        self cursor:Cursor stop.
     ] ifTrue: [
         clr := image colorAt:aPoint//magnification.
         self drawLabel: (aPoint//magnification) printString 
@@ -697,18 +699,20 @@
                         , ' green:' , clr greenByte printString
                         , ' blue:' , clr blueByte printString
                         , ')'.
-        Cursor crossHair show
+        self cursor:Cursor crossHair
     ].
 
-
+    "Modified: / 27.7.1998 / 17:45:38 / cg"
 !
 
 drawCursorAt: aPoint withLabel: aLabel
 
     ((0@0 extent: image extent * magnification) containsPoint: aPoint)
-         ifFalse:[Cursor stop show]
-         ifTrue: [Cursor crossHair show].
+         ifFalse:[self cursor:Cursor stop]
+         ifTrue: [self cursor:Cursor crossHair].
      self drawLabel: aLabel.
+
+    "Modified: / 27.7.1998 / 17:45:51 / cg"
 !
 
 drawFrame
@@ -1282,5 +1286,5 @@
 !ImageEditView class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/ImageEditView.st,v 1.84 1998-07-27 07:57:08 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/ImageEditView.st,v 1.85 1998-07-27 16:22:02 cg Exp $'
 ! !