Change images to use ImageMask instances instead of Depth1Image instances as
authorStefan Vogel <sv@exept.de>
Fri, 23 May 2014 10:16:49 +0200
changeset 14398 6c7701a07767
parent 14397 00f8034ba2d4
child 14399 301a7030840d
Change images to use ImageMask instances instead of Depth1Image instances as masks.
Tools__HierarchicalPackageFilterList.st
--- a/Tools__HierarchicalPackageFilterList.st	Fri May 23 10:16:21 2014 +0200
+++ b/Tools__HierarchicalPackageFilterList.st	Fri May 23 10:16:49 2014 +0200
@@ -302,57 +302,83 @@
 !HierarchicalPackageFilterList::PackageItem class methodsFor:'documentation'!
 
 version
-    ^'$Header: /cvs/stx/stx/libtool/Tools__HierarchicalPackageFilterList.st,v 1.5 2014-02-25 10:41:46 vrany Exp $'
+    ^'$Header: /cvs/stx/stx/libtool/Tools__HierarchicalPackageFilterList.st,v 1.6 2014-05-23 08:16:49 stefan Exp $'
 ! !
 
 !HierarchicalPackageFilterList::PackageItem class methodsFor:'image specs'!
 
 checkedIcon
+    <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 checkedIcon inspect
      ImageEditor openOnClass:self andSelector:#checkedIcon
-     Icon flushCachedIcons
-    "
-
-    <resource: #image>
-
-    ^Icon
+     Icon flushCachedIcons"
+    
+    ^ Icon 
         constantNamed:#'Tools::HierarchicalPackageFilterList::PackageItem class checkedIcon'
-        ifAbsentPut:[(Depth1Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@C?<O?0??C?<O?0??C?<O?07?C?<O?0??@@@@@@b') ; colorMapFromArray:#[0 0 0 33 161 33]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
+        ifAbsentPut:[
+            (Depth1Image new)
+                width:16;
+                height:16;
+                photometric:(#palette);
+                bitsPerSample:(#[ 1 ]);
+                samplesPerPixel:(1);
+                bits:(ByteArray 
+                            fromPackedString:'@@@@@C?<O?0??C?<O?0??C?<O?07?C?<O?0??@@@@@@b');
+                colorMapFromArray:#[ 0 0 0 33 161 33 ];
+                mask:((ImageMask new)
+                            width:16;
+                            height:16;
+                            bits:(ByteArray 
+                                        fromPackedString:'
 ?????<@C0@O@D<@30GOH8<7C38OG@<HC0@O@@?????<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; yourself); yourself]
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
+                            yourself);
+                yourself
+        ]
 
     "Created: / 10-10-2007 / 10:52:06 / janfrog"
 !
 
 uncheckedIcon
+    <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 checkFrameForm inspect
      ImageEditor openOnClass:self andSelector:#checkFrameForm
-     Icon flushCachedIcons
-    "
-
-    <resource: #image>
-
-    ^Icon
+     Icon flushCachedIcons"
+    
+    ^ Icon 
         constantNamed:#'Tools::HierarchicalPackageFilterList::PackageItem class checkFrameForm'
-        ifAbsentPut:[(Depth1Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@C?<O?0??C?<O?0??C?<O?0??C?<O?0??@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'
+        ifAbsentPut:[
+            (Depth1Image new)
+                width:16;
+                height:16;
+                photometric:(#palette);
+                bitsPerSample:(#[ 1 ]);
+                samplesPerPixel:(1);
+                bits:(ByteArray 
+                            fromPackedString:'@@@@@C?<O?0??C?<O?0??C?<O?0??C?<O?0??@@@@@@b');
+                colorMapFromArray:#[ 0 0 0 255 255 255 ];
+                mask:((ImageMask new)
+                            width:16;
+                            height:16;
+                            bits:(ByteArray 
+                                        fromPackedString:'
 ?????<@C0@O@@<@C0@O@@<@C0@O@@<@C0@O@@?????<@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
 @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; yourself); yourself]
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a');
+                            yourself);
+                yourself
+        ]
 
     "Created: / 10-10-2007 / 10:49:12 / janfrog"
 ! !
@@ -462,10 +488,10 @@
 !HierarchicalPackageFilterList class methodsFor:'documentation'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__HierarchicalPackageFilterList.st,v 1.5 2014-02-25 10:41:46 vrany Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__HierarchicalPackageFilterList.st,v 1.6 2014-05-23 08:16:49 stefan Exp $'
 !
 
 version_SVN
-    ^ '$Id: Tools__HierarchicalPackageFilterList.st,v 1.5 2014-02-25 10:41:46 vrany Exp $'
+    ^ '$Id: Tools__HierarchicalPackageFilterList.st,v 1.6 2014-05-23 08:16:49 stefan Exp $'
 ! !