checkin from browser
authorca
Fri, 14 Feb 1997 00:54:17 +0100
changeset 1351 6d5552229507
parent 1350 3fced8a1576c
child 1352 a32ee250d2b3
checkin from browser
Colormap.st
--- a/Colormap.st	Fri Feb 14 00:53:21 1997 +0100
+++ b/Colormap.st	Fri Feb 14 00:54:17 1997 +0100
@@ -114,10 +114,7 @@
     g := greenVector at:idx.
     b := blueVector at:idx.
 
-    ^ Color
-        red:(r * (100.0 / 255.0))
-        green:(g * (100.0 / 255.0))
-        blue:(b * (100.0 / 255.0))
+    ^ Color redByte:r greenByte:g blueByte:b
 
     "Created: 2.5.1996 / 12:21:40 / cg"
     "Modified: 8.6.1996 / 14:25:30 / cg"
@@ -313,5 +310,5 @@
 !Colormap class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/Colormap.st,v 1.20 1996-10-27 14:12:04 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Colormap.st,v 1.21 1997-02-13 23:54:17 ca Exp $'
 ! !