#UI_ENHANCEMENT by cg
authorClaus Gittinger <cg@exept.de>
Wed, 29 Aug 2018 14:58:27 +0200
changeset 6413 cb8f21c7d95b
parent 6412 5ceab4c0d579
child 6414 4209b6242799
#UI_ENHANCEMENT by cg class: MacOSX2ToolbarIconLibrary class added: #radioOffIcon_black #radioOffIcon_white #radioOnDisabledIcon_black #radioOnDisabledIcon_white #radioOnIcon_black #radioOnIcon_white changed: #radioOffIcon #radioOnDisabledIcon #radioOnIcon
MacOSX2ToolbarIconLibrary.st
--- a/MacOSX2ToolbarIconLibrary.st	Wed Aug 29 09:24:50 2018 +0200
+++ b/MacOSX2ToolbarIconLibrary.st	Wed Aug 29 14:58:27 2018 +0200
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
 "
  COPYRIGHT (c) 2015 by Claus Gittinger
               All Rights Reserved
@@ -266,16 +268,78 @@
      Icon flushCachedIcons
     "
 
+    <resource: #programImage>
+
+    View defaultBackgroundColor brightness < 0.4 ifTrue:[
+        ^ self radioOffIcon_black
+    ].
+    ^ self radioOnIcon_white
+
+    "Modified: / 29-08-2018 / 14:57:37 / Claus Gittinger"
+!
+
+radioOffIcon_black
+    "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 radioOffIcon_black inspect
+     ImageEditor openOnClass:self andSelector:#radioOffIcon_black
+     Icon flushCachedIcons
+    "
+
     <resource: #image>
 
     ^Icon
-        constantNamed:'MacOSX2ToolbarIconLibrary class radioOffIcon'
-        ifAbsentPut:[(Depth8Image width:16 height:16) bits:#[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 30 6 14 11 11 14 6 30 0 0 0 0 0 0 0 31 1 25 2 27 27 2 25 1 31 0 0 0 0 0 31 28 20 8 0 32 32 0 8 20 28 31 0 0 0 26 21 7 32 32 32 32 32 32 32 32 7 21 26 0 0 25 18 32 32 32 32 32 32 32 32 32 32 18 25 0 0 10 17 32 32 32 32 32 32 32 32 32 32 17 10 0 0 24 12 32 32 32 32 32 32 32 32 32 32 12 24 0 0 19 12 32 32 32 32 32 32 32 32 32 32 12 19 0 0 29 17 32 32 32 32 32 32 32 32 32 32 17 29 0 0 4 5 32 32 32 32 32 32 32 32 32 32 5 4 0 0 9 16 23 32 32 32 32 32 32 32 32 23 16 9 0 0 0 3 13 23 32 32 32 32 32 32 23 13 3 0 0 0 0 0 3 16 5 17 12 12 17 5 16 3 0 0 0 0 0 0 0 9 4 29 15 15 29 4 9 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
+        constantNamed:'MacOSX2ToolbarIconLibrary class radioOffIcon_black'
+        ifAbsentPut:[(Depth8Image width:16 height:16) bits:(ByteArray fromPackedString:'
+@@@@@@@@@@@@@@@@@@@@@@@@@@@ZF 8KB08ZF @@@@@@@@@Z@Q$BF1,BFPDZ@@@@@@@ZGAPH@B@ @@ TGA(@@@@ZEP\ HB@ HB@ H@\UF @@F!!H HB@ HB@ 
+HB@ D!!(@@@(QHB@ HB@ HB@ HADJ@@@XCB@ HB@ HB@ HB@LF@@@D00 HB@ HB@ HB@ CAL@@A4QHB@ HB@ HB@ HAD]@@@ZAR@ HB@ HB@ HB@EF @@F!!@W
+HB@ HB@ HB@WDA(@@@@ZCQ\ HB@ HB@WCQ(@@@@@@A(PAQDLCADEDA(@@@@@@@@@F!!(]C0<]F!!(@@@@@@@@@@@@@@@@@@@@@@@@@@@@a')
+            colorMapFromArray:#[254 254 254 173 173 173 213 213 213 204 203 204 199 199 199 212 212 212 185 185 185 225 225 225 250 250 250 214 213 214 182 182 182 155 155 155 249 249 249 195 195 195 167 167 167 180 180 180 193 193 193 233 233 233 206 206 206 179 179 179 219 219 219 178 178 178 223 222 223 231 231 231 177 177 177 190 190 190 100 100 100 230 230 230 176 176 176 189 189 189 207 206 207 193 192 193 255 255 255]
+            mask:((ImageMask width:16 height:16) bits:(ByteArray fromPackedString:'@@@O<A?8O?1??''?>_?9??''?>_?9??''?>O?0_>@?0@@@b'); yourself); yourself]
+!
+
+radioOffIcon_white
+    "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 radioOffIcon_white inspect
+     ImageEditor openOnClass:self andSelector:#radioOffIcon_white
+     Icon flushCachedIcons
+    "
+
+    <resource: #image>
+
+    ^Icon
+        constantNamed:'MacOSX2ToolbarIconLibrary class radioOffIcon_white'
+        ifAbsentPut:[(Depth8Image width:16 height:16) bits:(ByteArray fromPackedString:'
+@@@@@@@@@@@@@@@@@@@@@@@@@@@^A 8KB08FG @@@@@@@@@_@Q$BF1,BFPD_@@@@@@@_GAPH@B@ @@ TGA<@@@@ZEP\ HB@ HB@ H@\UF @@FQH HB@ HB@ 
+HB@ D!!$@@@(QHB@ HB@ HB@ HADJ@@@XCB@ HB@ HB@ HB@LF@@@D00 HB@ HB@ HB@ CAL@@A4QHB@ HB@ HB@ HAD]@@@DAR@ HB@ HB@ HB@EA@@@BQ@W
+HB@ HB@ HB@WD@$@@@@CCQ\ HB@ HB@WCPL@@@@@@@LPAQDLCADED@L@@@@@@@@@BPP]C0<]A@$@@@@@@@@@@@@@@@@@@@@@@@@@@@@a')
             colorMapFromArray:#[254 254 254 173 173 173 213 213 213 204 203 204 199 199 199 212 212 212 185 185 185 225 225 225 250 250 250 214 213 214 182 182 182 155 155 155 249 249 249 195 195 195 167 167 167 180 180 180 193 193 193 233 233 233 206 206 206 179 179 179 219 219 219 178 178 178 223 222 223 231 231 231 177 177 177 190 190 190 208 207 208 230 230 230 176 176 176 189 189 189 207 206 207 193 192 193 255 255 255]
-            mask:((ImageMask width:16 height:16) bits:#[0 0 15 240 31 248 63 252 127 254 127 254 127 254 127 254 127 254 127 254 127 254 127 254 63 252 31 248 15 240 0 0]; yourself); yourself]
+            mask:((ImageMask width:16 height:16) bits:(ByteArray fromPackedString:'@@@O<A?8O?1??''?>_?9??''?>_?9??''?>O?0_>@?0@@@b'); yourself); yourself]
 !
 
 radioOnDisabledIcon
+    <resource: #programImage>
+
+    View defaultBackgroundColor brightness < 0.4 ifTrue:[
+        ^ self radioOnDisabledIcon_black
+    ].
+    ^ self radioOnDisabledIcon_white
+
+    "Modified: / 29-08-2018 / 14:54:03 / Claus Gittinger"
+!
+
+radioOnDisabledIcon_black
     "This resource specification was automatically generated
      by the ImageEditor of ST/X."
 
@@ -283,21 +347,24 @@
      the ImageEditor may not be able to read the specification."
 
     "
-     self radioOnDisabledIcon inspect
-     ImageEditor openOnClass:self andSelector:#radioOnDisabledIcon
+     self radioOnDisabledIcon_black inspect
+     ImageEditor openOnClass:self andSelector:#radioOnDisabledIcon_black
      Icon flushCachedIcons
     "
 
     <resource: #image>
 
     ^Icon
-        constantNamed:'MacOSX2ToolbarIconLibrary class radioOnDisabledIcon'
-        ifAbsentPut:[(Depth8Image width:16 height:16) bits:#[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 2 3 4 4 3 2 1 0 0 0 0 0 0 0 5 6 7 8 9 9 8 7 6 5 0 0 0 0 0 5 4 8 10 10 10 10 10 10 8 4 5 0 0 0 1 6 8 10 10 10 10 10 10 10 10 8 6 1 0 0 2 7 10 10 10 11 12 12 11 10 10 10 7 2 0 0 3 8 10 10 11 13 14 15 13 11 10 10 8 3 0 0 4 9 10 10 12 15 16 16 15 12 10 10 9 4 0 0 4 9 10 10 12 17 16 16 17 12 10 10 9 4 0 0 3 8 10 10 11 9 18 18 9 11 10 10 8 3 0 0 2 7 10 10 10 19 20 20 19 10 10 10 7 2 0 0 1 6 8 10 10 10 10 10 10 10 10 8 6 1 0 0 0 5 4 8 10 10 10 10 10 10 8 4 5 0 0 0 0 0 5 6 7 8 9 9 8 7 6 5 0 0 0 0 0 0 0 1 2 3 4 4 3 2 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
-            colorMapFromArray:#[238 238 238 227 227 227 170 170 170 158 158 158 151 151 151 217 217 217 155 155 155 150 150 150 152 152 152 153 153 153 153 153 153 152 152 152 151 151 151 165 165 165 244 244 244 245 245 245 255 255 255 242 242 242 242 242 242 147 147 147 135 135 135]
-            mask:((ImageMask width:16 height:16) bits:#[0 0 15 240 31 248 63 252 127 254 127 254 127 254 127 254 127 254 127 254 127 254 127 254 63 252 31 248 15 240 0 0]; yourself); yourself]
+        constantNamed:'MacOSX2ToolbarIconLibrary class radioOnDisabledIcon_black'
+        ifAbsentPut:[(Depth8Image width:16 height:16) bits:(ByteArray fromPackedString:'
+@@@@@@@@@@@@@@@@@@@@@@@@@@@A@ LDA@LB@P@@@@@@@@@BA \HBP$HA0XB@@@@@@@BA@ JB (JB (HA@H@@@@AA  JB (JB (JB  F@P@@@ \JB (KC@0K
+B (JA0H@@@LHB (KCP8OCP,JB  C@@@DBP(JC@<PD@<LB (IA@@@A@$JB 0QDA@QC@(JBPP@@@LHB (KBQHRBP,JB  C@@@BA0(JB!!LTEALJB (G@ @@@PXH
+B (JB (JB (HA D@@@@BA@ JB (JB (HA@H@@@@@@@HFA0 IBP GA H@@@@@@@@@@PHCA@PC@ D@@@@@@@@@@@@@@@@@@@@@@@@@@@@a')
+            colorMapFromArray:#[238 238 238 50 50 50 100 100 100 158 158 158 151 151 151 217 217 217 155 155 155 150 150 150 152 152 152 153 153 153 153 153 153 152 152 152 151 151 151 165 165 165 244 244 244 245 245 245 255 255 255 242 242 242 242 242 242 147 147 147 135 135 135]
+            mask:((ImageMask width:16 height:16) bits:(ByteArray fromPackedString:'@@@O<A?8O?1??''?>_?9??''?>_?9??''?>O?0_>@?0@@@b'); yourself); yourself]
 !
 
-radioOnIcon
+radioOnDisabledIcon_white
     "This resource specification was automatically generated
      by the ImageEditor of ST/X."
 
@@ -305,18 +372,84 @@
      the ImageEditor may not be able to read the specification."
 
     "
-     self radioOnIcon inspect
-     ImageEditor openOnClass:self andSelector:#radioOnIcon
+     self radioOnDisabledIcon_white inspect
+     ImageEditor openOnClass:self andSelector:#radioOnDisabledIcon_white
      Icon flushCachedIcons
     "
 
     <resource: #image>
 
     ^Icon
-        constantNamed:'MacOSX2ToolbarIconLibrary class radioOnIcon'
-        ifAbsentPut:[(Depth8Image width:16 height:16) bits:#[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 7 20 2 15 15 2 20 7 0 0 0 0 0 0 0 14 23 3 5 18 18 5 3 23 14 0 0 0 0 0 14 16 5 21 21 21 21 21 21 5 16 14 0 0 0 7 23 5 21 21 21 21 21 21 21 21 5 23 7 0 0 20 3 21 21 21 6 4 4 6 21 21 21 3 20 0 0 2 5 21 21 6 12 11 13 12 6 21 21 5 2 0 0 15 18 21 21 4 17 19 19 17 4 21 21 18 15 0 0 15 18 21 21 4 22 19 19 22 4 21 21 18 15 0 0 2 5 21 21 6 1 9 9 1 6 21 21 5 2 0 0 20 3 21 21 21 8 10 10 8 21 21 21 3 20 0 0 7 23 5 21 21 21 21 21 21 21 21 5 23 7 0 0 0 14 16 5 21 21 21 21 21 21 5 16 14 0 0 0 0 0 14 23 3 5 18 18 5 3 23 14 0 0 0 0 0 0 0 7 20 2 15 15 2 20 7 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
+        constantNamed:'MacOSX2ToolbarIconLibrary class radioOnDisabledIcon_white'
+        ifAbsentPut:[(Depth8Image width:16 height:16) bits:(ByteArray fromPackedString:'
+@@@@@@@@@@@@@@@@@@@@@@@@@@@A@ LDA@LB@P@@@@@@@@@EA \HBP$HA0XE@@@@@@@EA@ JB (JB (HA@T@@@@AA  JB (JB (JB  F@P@@@ \JB (KC@0K
+B (JA0H@@@LHB (KCP8OCP,JB  C@@@DBP(JC@<PD@<LB (IA@@@A@$JB 0QDA@QC@(JBPP@@@LHB (KBQHRBP,JB  C@@@BA0(JB!!LTEALJB (G@ @@@PXH
+B (JB (JB (HA D@@@@EA@ JB (JB (HA@T@@@@@@@TFA0 IBP GA T@@@@@@@@@@PHCA@PC@ D@@@@@@@@@@@@@@@@@@@@@@@@@@@@a')
+            colorMapFromArray:#[238 238 238 227 227 227 170 170 170 158 158 158 151 151 151 217 217 217 155 155 155 150 150 150 152 152 152 153 153 153 153 153 153 152 152 152 151 151 151 165 165 165 244 244 244 245 245 245 255 255 255 242 242 242 242 242 242 147 147 147 135 135 135]
+            mask:((ImageMask width:16 height:16) bits:(ByteArray fromPackedString:'@@@O<A?8O?1??''?>_?9??''?>_?9??''?>O?0_>@?0@@@b'); yourself); yourself]
+!
+
+radioOnIcon
+    <resource: #programImage>
+
+    View defaultBackgroundColor brightness < 0.4 ifTrue:[
+        ^ self radioOnIcon_black
+    ].
+    ^ self radioOnIcon_white
+
+    "Modified: / 29-08-2018 / 14:53:05 / Claus Gittinger"
+!
+
+radioOnIcon_black
+    "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 radioOnIcon_black inspect
+     ImageEditor openOnClass:self andSelector:#radioOnIcon_black
+     Icon flushCachedIcons
+    "
+
+    <resource: #image>
+
+    ^Icon
+        constantNamed:'MacOSX2ToolbarIconLibrary class radioOnIcon_black'
+        ifAbsentPut:[(Depth8Image width:16 height:16) bits:(ByteArray fromPackedString:'
+@@@@@@@@@@@@@@@@@@@@@@@@@@@@B <OC0<J@@@@@@@@@@@JE0LED!!HE@1\J@@@@@@@JD@TUEQTUEQTED@(@@@@@E0TUEQTUEQTUEPTW@@@@B LUEQTFA@PF
+EQTU@0(@@@<EEQTFC@,MC@XUEPTO@@@OD!!TUAADSD1DDEQTRC0@@C1HUEPPVD1LVAATUD <@@@<EEQTF@P$I@PXUEPTO@@@J@1TUEP JB  UEQTCB @@@A\E
+EQTUEQTUEQTEE0@@@@@JD@TUEQTUEQTED@(@@@@@@@(W@0TRD TCE0(@@@@@@@@@@@(OC0<OB @@@@@@@@@@@@@@@@@@@@@@@@@@@@@a')
             colorMapFromArray:#[223 222 223 85 149 218 93 160 240 61 147 248 65 149 244 65 151 248 67 151 246 187 203 228 58 141 236 219 232 245 38 115 212 222 236 250 109 173 243 225 238 251 151 185 232 66 147 246 64 148 245 226 238 250 67 152 248 255 255 255 133 178 234 68 153 248 220 233 246 82 154 243]
-            mask:((ImageMask width:16 height:16) bits:#[0 0 15 240 31 248 63 252 127 254 127 254 127 254 127 254 127 254 127 254 127 254 127 254 63 252 31 248 15 240 0 0]; yourself); yourself]
+            mask:((ImageMask width:16 height:16) bits:(ByteArray fromPackedString:'@@@G8A?8O?0??G?>_?9??''?>_?9??#?<O?0_>@_ @@@b'); yourself); yourself]
+!
+
+radioOnIcon_white
+    "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 radioOnIcon_white_ inspect
+     ImageEditor openOnClass:self andSelector:#radioOnIcon_white_
+     Icon flushCachedIcons
+    "
+
+    <resource: #image>
+
+    ^Icon
+        constantNamed:'MacOSX2ToolbarIconLibrary class radioOnIcon_white_'
+        ifAbsentPut:[(Depth8Image width:16 height:16) bits:(ByteArray fromPackedString:'
+@@@@@@@@@@@@@@@@@@@@@@@@@@@GE@HOC0HTA0@@@@@@@@@NE0LED!!HE@1\N@@@@@@@ND@TUEQTUEQTED@8@@@@GE0TUEQTUEQTUEPTWA0@@E@LUEQTFA@PF
+EQTU@1P@@@HEEQTFC@,MC@XUEPTB@@@OD!!TUAADSD1DDEQTRC0@@C1HUEPPVD1LVAATUD <@@@HEEQTF@P$I@PXUEPTB@@@T@1TUEP JB  UEQTCE@@@A1\E
+EQTUEQTUEQTEE0\@@@@ND@TUEQTUEQTED@8@@@@@@@8W@0TRD TCE08@@@@@@@@@A1PBC0<BE@\@@@@@@@@@@@@@@@@@@@@@@@@@@@@a')
+            colorMapFromArray:#[223 222 223 85 149 218 93 160 240 61 147 248 65 149 244 65 151 248 67 151 246 187 203 228 58 141 236 219 232 245 38 115 212 222 236 250 109 173 243 225 238 251 151 185 232 66 147 246 64 148 245 226 238 250 67 152 248 255 255 255 133 178 234 68 153 248 220 233 246 82 154 243]
+            mask:((ImageMask width:16 height:16) bits:(ByteArray fromPackedString:'@@@O<A?8O?1??''?>_?9??''?>_?9??''?>O?0_>@?0@@@b'); yourself); yourself]
+
+    "Created: / 29-08-2018 / 14:54:33 / Claus Gittinger"
 !
 
 scrollDownDisabledIcon