TabListEditor.st
changeset 3118 d0e78fb8d796
parent 3093 6cbe0ee42b96
child 3330 76129ae4dadd
--- a/TabListEditor.st	Fri May 23 11:28:30 2014 +0200
+++ b/TabListEditor.st	Fri May 23 11:29:03 2014 +0200
@@ -207,21 +207,33 @@
 !TabListEditor class methodsFor:'image specs'!
 
 newTabItemIcon
+    <resource: #image>
     "This resource specification was automatically generated
      by the ImageEditor of ST/X."
-
     "Do not manually edit this!!!! If it is corrupted,
      the ImageEditor may not be able to read the specification."
-
     "
-     ImageEditor openOnClass:self andSelector:#newTabItemIcon
-    "
-
-    <resource: #image>
-
-    ^Icon
-        constantNamed:#'TabListEditor 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??????@@@@@@@@@') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'G?<@G?<@G?<@G?<@G?<@???<???<???<???????<???<???<???<???????=???<???????<???????<???<???=') ; yourself); yourself]
+     ImageEditor openOnClass:self andSelector:#newTabItemIcon"
+    
+    ^ Icon constantNamed:#'TabListEditor 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??????@@@@@@@@@');
+                colorMapFromArray:#[ 0 0 0 255 255 255 170 170 170 127 127 127 ];
+                mask:((ImageMask new)
+                            width:22;
+                            height:22;
+                            bits:(ByteArray 
+                                        fromPackedString:'G?<@G?<@G?<@G?<@G?<@???<???<???<???????<???<???<???<???????=???<???????<???????<???<???=');
+                            yourself);
+                yourself
+        ]
 ! !
 
 !TabListEditor class methodsFor:'interface specs'!