#UI_ENHANCEMENT by cg
authorClaus Gittinger <cg@exept.de>
Sat, 21 Jan 2017 15:39:03 +0100
changeset 5418 6daf3c670147
parent 5417 054dfa979ced
child 5419 7ba6ce8016c2
#UI_ENHANCEMENT by cg class: ImageEditView changed: #performSpecialOperationOn:withColor:
ImageEditView.st
--- a/ImageEditView.st	Sat Jan 21 01:09:36 2017 +0100
+++ b/ImageEditView.st	Sat Jan 21 15:39:03 2017 +0100
@@ -1706,13 +1706,13 @@
     ].
 
     operation == #changeHue ifTrue:[
-        hue := Dialog request:'Hue (0..360)'.
+        hue := Dialog request:'Hue (0..360)\red->yellow->green->blue->red' withCRs.
         hue := Number readFrom:hue onError:nil.
         hue isNil ifTrue:[^ false].
         pixelAction := [:x :y :clr | Color hue:(hue+(clr hue?0)) light:clr light saturation:clr saturation].
     ].
     operation == #colorize ifTrue:[
-        hue := Dialog request:'Hue (0..360)'.
+        hue := Dialog request:'Hue (0..360)\red->yellow->green->blue->red' withCRs.
         hue := Number readFrom:hue onError:nil.
         hue isNil ifTrue:[^ false].
         pixelAction := [:x :y :clr | Color hue:hue light:clr light saturation:100]