images compactified
authorClaus Gittinger <cg@exept.de>
Wed, 30 Aug 2000 23:27:43 +0200
changeset 1405 0b2e421db465
parent 1404 f088630ac860
child 1406 6de5c78f5bcd
images compactified
ImageEditor.st
--- a/ImageEditor.st	Wed Aug 30 23:25:26 2000 +0200
+++ b/ImageEditor.st	Wed Aug 30 23:27:43 2000 +0200
@@ -360,6 +360,7 @@
      the ImageEditor may not be able to read the specification."
 
     "
+     self leftMouseKeyIcon inspect
      ImageEditor openOnClass:self andSelector:#leftMouseKeyIcon
     "
 
@@ -367,7 +368,7 @@
 
     ^Icon
         constantNamed:#'ImageEditor leftMouseKeyIcon'
-        ifAbsentPut:[(Depth2Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@JEE@@B!!QP@@(TT@@@@@@@AUUP@@UUT@@EUU@@AUUP@@UUT@@EUU@@@UU@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 255 255 255 255 0 0 0 255 0]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@?0G? _>A?8G? _>A?8G? _>A?8G? O<@_ @@@b') ; yourself); yourself]!
+        ifAbsentPut:[(Depth2Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@EJJ@@AR" @@T((@@@@@@@B** @@**(@@J**@@B** @@**(@@J**@@@**@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 255 0 0 255 255 255]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@?0G? _>A?8G? _>A?8G? _>A?8G? O<@_ @@@b') ; yourself); yourself]!
 
 rightMouseKeyIcon
     "This resource specification was automatically generated
@@ -377,6 +378,7 @@
      the ImageEditor may not be able to read the specification."
 
     "
+     self rightMouseKeyIcon inspect
      ImageEditor openOnClass:self andSelector:#rightMouseKeyIcon
     "
 
@@ -384,7 +386,7 @@
 
     ^Icon
         constantNamed:#'ImageEditor rightMouseKeyIcon'
-        ifAbsentPut:[(Depth2Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@EEJ@@AQR @@TT(@@@@@@@AUUP@@UUT@@EUU@@AUUP@@UUT@@EUU@@@UU@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 255 255 255 255 0 0 0 255 0]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@?0G? _>A?8G? _>A?8G? _>A?8G? O<@_ @@@b') ; yourself); yourself]! !
+        ifAbsentPut:[(Depth2Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@JJE@@B"!!P@@((T@@@@@@@B** @@**(@@J**@@B** @@**(@@J**@@@**@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 255 0 0 255 255 255]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@?0G? _>A?8G? _>A?8G? _>A?8G? O<@_ @@@b') ; yourself); yourself]! !
 
 !ImageEditor class methodsFor:'interface specs'!
 
@@ -2143,7 +2145,6 @@
             self listOfColors contents: newImage colorMap.
             self findColorMapMode.
             self updateLabelsAndHistory.
-self halt.
         ]
     ]
 !