changes for fixColors now being in device
authorClaus Gittinger <cg@exept.de>
Fri, 02 Aug 1996 21:03:37 +0200
changeset 233 4979c1304456
parent 232 23dd09b9fbdf
child 234 da6bb07255b2
changes for fixColors now being in device
ImageSelBox.st
ImageSelectionBox.st
--- a/ImageSelBox.st	Fri Jul 26 18:07:54 1996 +0200
+++ b/ImageSelBox.st	Fri Aug 02 21:03:37 1996 +0200
@@ -17,7 +17,7 @@
 	category:'Views-DialogBoxes'
 !
 
-!ImageSelectionBox class methodsFor:'documentation'!
+!ImageSelectionBox  class methodsFor:'documentation'!
 
 copyright
 "
@@ -155,7 +155,7 @@
                      (this speeds up the thing quite a bit
                     "
                     (image depth > 2 
-                    and:[Color fixColors isNil]) ifTrue:[
+                    and:[device fixColors isNil]) ifTrue:[
                         "temporarily go to a 3x3x2 colormap ..."
                         Object errorSignal handle:[:ex |
                             'very low resolution colors' infoPrintNL.
@@ -163,13 +163,13 @@
                                 'cannot allocate dither colors' infoPrintNL.
                                 ex return
                             ] do:[
-                                Color getColorsRed:2 green:2 blue:2.
+                                Color getColorsRed:2 green:2 blue:2 on:device.
                             ]
                         ] do:[
-                            Color getColorsRed:5 green:5 blue:3.
+                            Color getColorsRed:5 green:5 blue:3 on:device.
                         ].
                         previewField label:image.
-                        Color releaseDitherColors.
+                        device releaseFixColors.
                     ] ifFalse:[
                         previewField label:image.
                     ]
@@ -181,8 +181,8 @@
     "Modified: 7.6.1996 / 12:25:19 / cg"
 ! !
 
-!ImageSelectionBox class methodsFor:'documentation'!
+!ImageSelectionBox  class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/Attic/ImageSelBox.st,v 1.4 1996-06-07 16:35:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/Attic/ImageSelBox.st,v 1.5 1996-08-02 19:03:37 cg Exp $'
 ! !
--- a/ImageSelectionBox.st	Fri Jul 26 18:07:54 1996 +0200
+++ b/ImageSelectionBox.st	Fri Aug 02 21:03:37 1996 +0200
@@ -17,7 +17,7 @@
 	category:'Views-DialogBoxes'
 !
 
-!ImageSelectionBox class methodsFor:'documentation'!
+!ImageSelectionBox  class methodsFor:'documentation'!
 
 copyright
 "
@@ -155,7 +155,7 @@
                      (this speeds up the thing quite a bit
                     "
                     (image depth > 2 
-                    and:[Color fixColors isNil]) ifTrue:[
+                    and:[device fixColors isNil]) ifTrue:[
                         "temporarily go to a 3x3x2 colormap ..."
                         Object errorSignal handle:[:ex |
                             'very low resolution colors' infoPrintNL.
@@ -163,13 +163,13 @@
                                 'cannot allocate dither colors' infoPrintNL.
                                 ex return
                             ] do:[
-                                Color getColorsRed:2 green:2 blue:2.
+                                Color getColorsRed:2 green:2 blue:2 on:device.
                             ]
                         ] do:[
-                            Color getColorsRed:5 green:5 blue:3.
+                            Color getColorsRed:5 green:5 blue:3 on:device.
                         ].
                         previewField label:image.
-                        Color releaseDitherColors.
+                        device releaseFixColors.
                     ] ifFalse:[
                         previewField label:image.
                     ]
@@ -181,8 +181,8 @@
     "Modified: 7.6.1996 / 12:25:19 / cg"
 ! !
 
-!ImageSelectionBox class methodsFor:'documentation'!
+!ImageSelectionBox  class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/ImageSelectionBox.st,v 1.4 1996-06-07 16:35:50 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg2/ImageSelectionBox.st,v 1.5 1996-08-02 19:03:37 cg Exp $'
 ! !