class: MenuEditor
authorClaus Gittinger <cg@exept.de>
Sat, 25 Jul 2015 10:35:56 +0200
changeset 3225 cf0556d88d12
parent 3224 98a659b6bd10
child 3226 cd187ade19da
class: MenuEditor icon fix
MenuEditor.st
--- a/MenuEditor.st	Fri Jul 24 13:13:25 2015 +0200
+++ b/MenuEditor.st	Sat Jul 25 10:35:56 2015 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1997 by eXept Software AG
 	      All Rights Reserved
@@ -3284,37 +3282,25 @@
 !MenuEditor::Item class methodsFor:'image specs'!
 
 iconDelayedLinkedMenu
-    <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."
+
     "
      self iconDelayedLinkedMenu inspect
      ImageEditor openOnClass:self andSelector:#iconDelayedLinkedMenu
-     Icon flushCachedIcons"
-    
-    ^ Icon constantNamed:'MenuEditor::Item class iconDelayedLinkedMenu'
-        ifAbsentPut:[
-            (Depth4Image new)
-                width:20;
-                height:16;
-                photometric:(#palette);
-                bitsPerSample:(#( 4 ));
-                samplesPerPixel:(1);
-                bits:(ByteArray 
-                            fromPackedString:'
+     Icon flushCachedIcons
+    "
+
+    <resource: #image>
+
+    ^Icon
+        constantNamed:'MenuEditor::Item iconDelayedLinkedMenu'
+        ifAbsentPut:[(Depth4Image new) width:20; height:16; bits:(ByteArray fromPackedString:'
 @@@@@@@@@@@@@@DQDQDQDQDQDR@AH"H"H"H"H"H0@@@BH"H"@@@BL@QDPBH"H"@@H#@DQDPBH@H"@"H0ADQDPBA@H"H"L@@@QDP@Q@@@@C@ADPQDQDQ@DQD:
-@RH QDQDQ@H"L@D"H QDQD@"H#@A@@@@@DP@@@@0@QDQDQA@DQDQL@D"H"H @"H"H#@BL3L3L3L3L3L0@@@@@@@@@@@a');
-                colorMapFromArray:#[ 0 0 0 255 255 255 170 170 170 127 127 127 255 0 0 ];
-                mask:((ImageMask new)
-                            width:20;
-                            height:16;
-                            bits:(ByteArray 
-                                        fromPackedString:'???0???0???0???0???0???0???0???0???0???0???0???0???0???0???0???0');
-                            yourself);
-                yourself
-        ]
+@RH QDQDQ@H"L@D"H QDQD@"H#@A@@@@@DP@@@@0@QDQDQA@DQDQL@D"H"H @"H"H#@BL3L3L3L3L3L0@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127 255 0 0]; mask:((ImageMask new) width:20; height:16; bits:(ByteArray fromPackedString:'???0???0???0???0???0???0???0???0???0???0???0???0???0???0???0???0') ; yourself); yourself]
 !
 
 iconDelayedMenu