#UI_ENHANCEMENT by cg
authorClaus Gittinger <cg@exept.de>
Fri, 08 Dec 2017 19:08:35 +0100
changeset 4032 b168a2dd848a
parent 4031 733fcb94ab5f
child 4033 87e5649b7dea
#UI_ENHANCEMENT by cg class: Icon class changed: #stxIcon #stxIcon32x32
Icon.st
--- a/Icon.st	Fri Dec 08 19:01:46 2017 +0100
+++ b/Icon.st	Fri Dec 08 19:08:35 2017 +0100
@@ -316,7 +316,7 @@
 
     (icn := self constantNamed:'stxIcon') isNil ifTrue:[
         icn := self stxIcon32x32.
-        icn := self stxIcon32x32alpha.
+        "/ icn := self stxIcon32x32alpha.
         icn notNil ifTrue:[
             self constantNamed:'stxIcon' put:icn.
         ]
@@ -366,14 +366,19 @@
 
     <resource: #image>
 
-    ^ self
-        constantNamed:'Icon stxIcon32x32'
-        ifAbsentPut:[(Depth2Image width:32 height:32) bits:(ByteArray fromPackedString:'
-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*@@@@F@@@@B(@@@A(@@@@J$@@@ZP@@@@* @@F$@@@@A*@@A)@@@@@B)@@ZP@@@@@F(@F$@@@@@
-@J A)@@@@@@@ZPZP@@@@@@@*V$@@@@@@@@*)@@@@@@@@A*@@@@@@@@@F(@@@@@@@@A*$@@@@@@@@Z* @@@@@@@F)JP@@@@@@A*PZ@@@@@@@Z$@Y@@@@@@F)@
-@(@@@@@A*P@A(@@@@@*$@@A$@@@@J*@@@B @@@B*$@@@F @@@J)@@@@FP@@@@@@@@@B@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') colorMapFromArray:#[0 0 0 184 231 231 0 128 128] mask:((ImageMask width:32 height:32) bits:(ByteArray fromPackedString:'
-@@@@@@@@@@@@@@@@@@@@@@@8@C@@N@A0@C0@<@@<@^@@O@O@@A8G @@^C0@@C!!8@@@<<@@@G>@@@@?@@@@O@@@@C0@@@A>@@@@? @@@_\@@@O''@@@G08@@C8
-F@@A<A0@@>@N@@_@A @O0@\@C8@C @@@@H@@@@@@@@@@@@@@@@@b'); yourself); yourself]
+    ^Icon
+        constantNamed:'Icon class stxIcon32x32'
+        ifAbsentPut:[(Depth4Image width:32 height:32) bits:(ByteArray fromPackedString:'
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@H"@@@@@@@@@2@@@@@@@@@BH @@@@
+@@@CH @@@@@@@@@"H0@@@@@@L"L@@@@@@@@@H"H@@@@@@2H0@@@@@@@@@CH"@@@@@CH#@@@@@@@@@@@BH#@@@@L"L@@@@@@@@@@@@2H @@@2H0@@@@@@@@@@
+@@@"H@@CH#@@@@@@@@@@@@@@L"L@L"L@@@@@@@@@@@@@@@H"L2H0@@@@@@@@@@@@@@@@H"H#@@@@@@@@@@@@@@@@@CH"L@@@@@@@@@@@@@@@@@@2H @@@@@@
+@@@@@@@@@@@CH"H0@@@@@@@@@@@@@@@@L"H"H@@@@@@@@@@@@@@@@2H#L"L@@@@@@@@@@@@@@CH"L@L"@@@@@@@@@@@@@@L"H0@@L#@@@@@@@@@@@@@2H#@@
+@@H @@@@@@@@@@@CH"L@@@@CH @@@@@@@@@@H"H0@@@@@CH0@@@@@@@@@"H#@@@@@@@BH@@@@@@@@BH"L@@@@@@@@2H@@@@@@@@"H0@@@@@@@@@2L@@@@@@@
+@@@@@@@@@@@@@2@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b')
+            colorMapFromArray:#[0 0 0 184 231 231 0 128 128 0 191 191]
+            mask:((ImageMask width:32 height:32) bits:(ByteArray fromPackedString:'
+@@@@@@@@@@@@@@@@@@@@@@@8@C@@N@A0@C0@<@@<@^@@O@O@@A8G @@^C0@@C!!8@@@<<@@@G>@@@@?@@@@O @@@C0@@@A>@@@@? @@@_<@@@O''@@@G08@@C8
+F@@A<A0@@>@N@@_@A @O @\@C0@C @@@@X@@@@@@@@@@@@@@@@@b'); yourself); yourself]
 !
 
 stxIcon32x32alpha