TabItemEditor.st
changeset 561 cd3a3b82cb98
parent 560 d944c6ea5582
child 570 f79a0178adc1
--- a/TabItemEditor.st	Tue Feb 03 00:08:01 1998 +0100
+++ b/TabItemEditor.st	Tue Feb 03 00:15:03 1998 +0100
@@ -462,7 +462,7 @@
                        #(#MenuItem
                           #'label:' 'Tab Item'
                           #'value:' #doCreateTab
-                          #'labelImage:' #(#ResourceRetriever nil #newLabelIcon 'Tab Item')
+                          #'labelImage:' #(#ResourceRetriever nil #newTabItemIcon 'Tab Item')
                       )
                     ) nil
                     nil
@@ -585,7 +585,7 @@
                 #'isButton:' true
                 #'value:' #doCreateTab
                 #'enabled:' #isNotModified
-                #'labelImage:' #(#ResourceRetriever #MenuEditor #menuItemImage)
+                #'labelImage:' #(#ResourceRetriever nil #newTabItemIcon)
             )
              #(#MenuItem
                 #'label:' ''
@@ -613,17 +613,17 @@
 
 !TabItemEditor class methodsFor:'resources'!
 
-newLabelIcon
+newTabItemIcon
     "Generated by the Image Editor"
     "
-    ImageEditor openOnClass:self andSelector:#newLabelIcon
+    ImageEditor openOnClass:self andSelector:#newTabItemIcon
     "
 
     <resource: #image>
 
     ^Icon
-        constantNamed:#'TabItemEditor newLabelIcon'
-        ifAbsentPut:[(Depth4Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'DQDP@@@@@@@@DQDQDQ@QDQDQDR@QDQDQDAH"H"H"LADQDQDPD"@BHBH0DQDQDQ@R@"HB@#@QDQDQDAHBH HBLADQDQDPD"@BHBH0DQDPDQ@RH"H"H#@QDQDQDAHBH HBLADQDQDPD H"@ H0DQDQDQ@R@"HB@#@QDQDQDAH@@ @BLADQDQDPD"H"H"H0DQDQDQ@RH"H"H#@QDQDQDAHB@ HBLADQDQDPD @B@@H0DQDQDQ@R@ H@@#@QDQDQDAHB@ HBLADQDQDPD"H"H"H0DQDQDQ@RH"H"H#@QDQDQDBL3L3L3LADQDQDP@@@@@@@@DQDb'); colorMap:((OrderedCollection new add:(Color black); add:(Color white); add:(Color grey:66.9978); add:(Color grey:49.9962); add:(Color red:100.0 green:0.0 blue:0.0); add:(Color red:0.0 green:100.0 blue:0.0); add:(Color red:0.0 green:0.0 blue:100.0); add:(Color red:0.0 green:100.0 blue:100.0); add:(Color red:100.0 green:100.0 blue:0.0); add:(Color red:100.0 green:0.0 blue:100.0); add:(Color red:49.9977 green:0.0 blue:0.0); add:(Color red:0.0 green:49.9977 blue:0.0); add:(Color red:0.0 green:0.0 blue:49.9977); add:(Color red:0.0 green:49.9977 blue:49.9977); add:(Color red:49.9977 green:49.9977 blue:0.0); add:(Color red:49.9977 green:0.0 blue:49.9977); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'A??@A??@A??@A??@A??@A??@A??@A??@A??CA??@A??@A??@A??@A??CA??AA??@A??CA??@A??CA??@A??@A??A'); yourself); yourself]! !
+        constantNamed:#'TabItemEditor newTabItemIcon'
+        ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'U@@@@EUPUEUUVEUPUF**+EUPUF**+EUPUF**+EUP@F**+@@@EV***UV@F*****+@F KNC*+NF(("H*+@F((BC +EF(("H*+@F(("C*+MF*****+@F"@ H*K@F"""(LK@F"" ("K@F"""(*K@F"" H*K@F*****+HK??????@@@@@@@@@'); colorMap:(((Array new:4) at:1 put:((Color black)); at:2 put:((Color white)); at:3 put:((Color grey:66.9978)); at:4 put:((Color grey:49.9962)); yourself)); mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'G?<@G?<@G?<@G?<@G?<@???<???<???<???????<???<???<???<???????=???<???????<???????<???<???='); yourself); yourself]! !
 
 !TabItemEditor methodsFor:'accessing'!