Change images to use ImageMask instances instead of Depth1Image instances as
authorStefan Vogel <sv@exept.de>
Fri, 23 May 2014 10:30:33 +0200
changeset 14407 418e55e55d9a
parent 14406 491319fd30ed
child 14408 29a61ded019e
Change images to use ImageMask instances instead of Depth1Image instances as masks.
Tools__HierarchicalChangesetDialog.st
--- a/Tools__HierarchicalChangesetDialog.st	Fri May 23 10:28:19 2014 +0200
+++ b/Tools__HierarchicalChangesetDialog.st	Fri May 23 10:30:33 2014 +0200
@@ -488,57 +488,83 @@
 !HierarchicalChangesetDialog::Change class methodsFor:'documentation'!
 
 version
-    ^'$Header: /cvs/stx/stx/libtool/Tools__HierarchicalChangesetDialog.st,v 1.4 2012-08-13 11:12:18 stefan Exp $'
+    ^'$Header: /cvs/stx/stx/libtool/Tools__HierarchicalChangesetDialog.st,v 1.5 2014-05-23 08:30:33 stefan Exp $'
 ! !
 
 !HierarchicalChangesetDialog::Change 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: / 06-11-2008 / 16:32:46 / Jan Vrany <vranyj1@fel.cvut.cz>"
 !
 
 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: / 06-11-2008 / 16:32:46 / Jan Vrany <vranyj1@fel.cvut.cz>"
 ! !
@@ -694,9 +720,10 @@
 !HierarchicalChangesetDialog class methodsFor:'documentation'!
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/Tools__HierarchicalChangesetDialog.st,v 1.4 2012-08-13 11:12:18 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/Tools__HierarchicalChangesetDialog.st,v 1.5 2014-05-23 08:30:33 stefan Exp $'
 !
 
 version_SVN
-    ^ '§Id: Tools__HierarchicalChangesetDialog.st 7486 2009-10-26 22:06:24Z vranyj1 §'
+    ^ '$Id: Tools__HierarchicalChangesetDialog.st,v 1.5 2014-05-23 08:30:33 stefan Exp $'
 ! !
+