GenericToolbarIconLibrary.st
branchjv
changeset 5825 526907af5217
parent 5760 9a0b5601b3f4
parent 5824 7a34010e2ec8
child 5898 dd3d011daf37
--- a/GenericToolbarIconLibrary.st	Wed Aug 10 18:18:42 2016 +0100
+++ b/GenericToolbarIconLibrary.st	Fri Aug 12 06:45:24 2016 +0200
@@ -7330,39 +7330,28 @@
 !
 
 currentDirectoryIcon
-    <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."
+    "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 currentDirectoryIcon inspect
      ImageEditor openOnClass:self andSelector:#currentDirectoryIcon
-     Icon flushCachedIcons"
-    
-    ^ Icon 
-        constantNamed:#'GenericToolbarIconLibrary class currentDirectoryIcon'
-        ifAbsentPut:[
-            (Depth4Image new)
-                width:22;
-                height:22;
-                photometric:(#palette);
-                bitsPerSample:(#( nil ));
-                samplesPerPixel:(1);
-                bits:(ByteArray 
-                            fromPackedString:'
+     Icon flushCachedIcons
+    "
+
+    <resource: #image>
+
+    ^Icon
+        constantNamed:'GenericToolbarIconLibrary class currentDirectoryIcon'
+        ifAbsentPut:[(Depth4Image width:22 height:22) bitsPerSample:(#[8]); bits:(ByteArray fromPackedString:'
 @@@@@@@@@@@@@@@@@@@@@@D@@@@@@@@@@@@@DQ@@@@@@@@@@@@DQDP@@@@@@@@@@DQ@QD@@@@@@@@@DQIBDQ@@@@@@@@DQIDP!!DP@@@@@@DQIDQDHQD@@@@@
 DQIDQDQBDQ@@@@DQIDQDQDP!!DP@@DQIDQDQDQDHQD@D"IDQDQDQDQ@@A@RH$QDQDQDQD@@D@@@QDQDQDQDP@@@@@ADQD@@QDQ@@@@@@DQDP@ADQD@@@@@@QD
-Q@@DQDP@@@@@ADQDQDQDQ@@@@@@DQDQDQDQD@@@@@@QDQDQDQDP@@@@@ADQDQDQDQ@@@@@@@@@@@@@@@@@@b');
-                colorMapFromArray:#[ 0 0 0 192 0 0 64 0 0 73 73 73 192 192 192 ];
-                mask:((ImageMask new)
-                            width:22;
-                            height:22;
-                            bits:(ByteArray 
-                                        fromPackedString:'@A@@@C @A''0@A/8@A?<@A?>@A??@C?? G??0O??8_??<_??<_??<C?? C?? C?? C?? C?? C?? C?? C?? C?? ');
-                            yourself);
-                yourself
-        ]
+Q@@DQDP@@@@@ADQDQDQDQ@@@@@@DQDQDQDQD@@@@@@QDQDQDQDP@@@@@ADQDQDQDQ@@@@@@@@@@@@@@@@@@b')
+            colorMapFromArray:#[0 0 0 192 0 0 64 0 0 73 73 73 192 192 192]
+            mask:((ImageMask width:22 height:22) bits:(ByteArray fromPackedString:'@A@@@C @A''0@A/8@A?<@A?>@A??@C?? G??0O??8_??<_??<_??<C?? C?? C?? C?? C?? C?? C?? C?? C?? '); yourself); yourself]
 !
 
 cut22x22Icon
@@ -14355,38 +14344,28 @@
 !
 
 stxHomeIcon
-    <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."
+    "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 stxHomeIcon inspect
      ImageEditor openOnClass:self andSelector:#stxHomeIcon
-     Icon flushCachedIcons"
-    
-    ^ Icon constantNamed:#'GenericToolbarIconLibrary class stxHomeIcon'
-        ifAbsentPut:[
-            (Depth4Image new)
-                width:22;
-                height:22;
-                photometric:(#palette);
-                bitsPerSample:(#( nil ));
-                samplesPerPixel:(1);
-                bits:(ByteArray 
-                            fromPackedString:'
+     Icon flushCachedIcons
+    "
+
+    <resource: #image>
+
+    ^Icon
+        constantNamed:'GenericToolbarIconLibrary class stxHomeIcon'
+        ifAbsentPut:[(Depth4Image width:22 height:22) bitsPerSample:(#[8]); bits:(ByteArray fromPackedString:'
 @@@@@@@@@@@@@@@@@@@@@@D@@@@@@@@@@@@@DQ@@@@@@@@@@@@DQDP@@@@@@@@@@DQ@QD@@@@@@@@@DQIBDQ@@@@@@@@DQICP!!DP@@@@@@DQICL4HQD@@@@@
 DQICL3MBDQ@@@@DQIFX3L3P!!DP@@DQICY#L3L6HQD@D"ICM&L3M&M@@A@RH$L3Y#M&L4@@D@@@P3L6L6L3P@@@@@ACL3Y&L3M@@@@@@DL3L6L3L4@@@@@@P3
-L6X3L3P@@@@@ACL6L6L3M@@@@@@DM&L3M#L4@@@@@@Q&L3L3X3P@@@@@A&YDQDQ$Q@@@@@@@@@@@@@@@@@@b');
-                colorMapFromArray:#[ 0 0 0 192 0 0 64 0 0 73 73 73 192 192 192 100 128 255 0 200 48 ];
-                mask:((ImageMask new)
-                            width:22;
-                            height:22;
-                            bits:(ByteArray 
-                                        fromPackedString:'@A@@@C @A''0@A/8@A?<@A?>@A??@C?? G??0O??8_??<_??<_??<C?? C?? C?? C?? C?? C?? C?? C?? C?? ');
-                            yourself);
-                yourself
-        ]
+L6X3L3P@@@@@ACL6L6L3M@@@@@@DM&L3M#L4@@@@@@Q&L3L3X3P@@@@@A&YDQDQ$Q@@@@@@@@@@@@@@@@@@b')
+            colorMapFromArray:#[0 0 0 192 0 0 64 0 0 73 73 73 192 192 192 100 128 255 0 200 48]
+            mask:((ImageMask width:22 height:22) bits:(ByteArray fromPackedString:'@A@@@C @A''0@A/8@A?<@A?>@A??@C?? G??0O??8_??<_??<_??<C?? C?? C?? C?? C?? C?? C?? C?? C?? '); yourself); yourself]
 !
 
 unixShellTerminalIcon