MacOSXToolbarIconLibrary.st
changeset 5169 b39168954868
parent 5167 f2c0d164d05f
child 5173 d7db63d56ccd
--- a/MacOSXToolbarIconLibrary.st	Sun Nov 23 14:55:21 2014 +0100
+++ b/MacOSXToolbarIconLibrary.st	Sun Nov 23 14:55:38 2014 +0100
@@ -38,10 +38,17 @@
 "
     ToolbarIconLibrary := MacOSXToolbarIconLibrary
 
+    This is a style specific icon library for a mac-OSX look.
+
+    Never access this iconlibrary directly from an application -
+    always use ToolbarIconLibrary, which is an alias to one of the style specific
+    icon libs.
+
     Notice and Warning:
         only redefine existing icons here; never add ionly to here.
         For every icon-method here, there MUST be a corresponding (albeit
         possibly ugly) icon-method in GenericToolBarIcon.
+
 "
 ! !
 
@@ -978,6 +985,29 @@
 @@@4B@ HB@ HB@ HM@@@@@@@@@@4MCP4MCP4MCP4M@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@') ; colorMapFromArray:#[246 246 246 233 233 233 252 252 251 216 212 172 245 245 245 243 243 243 239 239 239 237 237 237 255 255 255 159 154 124 181 177 143 100 103 106 223 223 223 241 241 241 197 197 197 201 197 160 166 160 114 251 251 251 145 141 101 197 191 137 159 155 126 157 153 122 139 135 100 204 204 204 222 222 222 218 213 173 247 247 247 254 254 254 252 252 252 228 228 228 153 149 116 169 169 169 249 249 249 215 210 169 161 161 161 188 188 188 248 248 248 148 144 118 253 253 253 218 212 172 227 227 227 234 234 234 120 116 84 222 228 234 0 0 0 244 244 244 231 231 231 138 134 101 155 151 119 208 202 155 250 250 250 145 140 99 149 153 157 214 208 165 146 142 103 198 193 140 166 162 117 162 158 115 191 184 139 199 193 138 162 162 162 219 213 174 151 147 112 138 134 99 192 192 192 242 242 241 211 206 161]; mask:((ImageMask new) width:18; height:18; bits:(ByteArray fromPackedString:'@@@?A?@?A? ?O?0?O?8?O?<?O?<?O?<?O?<?O?<?O?<?O?<?O?<?O?<?O?<?O? ?O? ?@@@?') ; yourself); yourself]
 !
 
+fileTypeExecutableFileIcon
+    "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 fileTypeExecutableFileIcon inspect
+     ImageEditor openOnClass:self andSelector:#fileTypeExecutableFileIcon
+     Icon flushCachedIcons
+    "
+
+    <resource: #image>
+
+    ^Icon
+        constantNamed:'MacOSXToolbarIconLibrary fileTypeExecutableFileIcon'
+        ifAbsentPut:[(Depth8Image new) width:16; height:16; bits:(ByteArray fromPackedString:'
+APTEAPTEAPTEAPTEAPTEAPTEAPTEAPTEAPTEAPTEAPT@@BTKB0,KB0,KB0,KIP@E@B(WC <XI1TLC@0LCA(*AP@KL"4YM@\ J2,VJ!!,RB0T@B2L,IB$]H2L#
+H1PTJ@,E@AP2F1LRD!!HRD!!,[F1XTAP@"BP$IC@0@BP$LBP$IH T@E"</@2</A LCK2</K1XE@A@_G1<_G1<_G1<_G1<PAP@.CP4MCP4MCP4\G@4MK T@BCD3
+L3@3L3L3L3L3LP E@@P&G!!8^G!!8^G!!8^G"XAAPTQHRD!!HRD!!HRD!!HRD!!@ TEAPTEAPTEAPTEAPTEAPTEAPTEAPTEAPTEAPTEAPTEAP@a') ; colorMapFromArray:#[111 112 112 160 160 160 207 207 207 121 121 121 159 159 159 0 0 0 122 121 121 109 115 106 138 138 138 112 112 112 212 212 212 84 84 84 111 111 111 140 140 140 133 161 122 130 159 119 108 108 108 206 206 206 102 102 102 101 102 101 87 87 87 111 110 111 99 99 99 106 105 105 130 158 119 112 128 105 105 105 105 101 101 101 139 139 139 90 89 92 133 133 133 131 131 131 97 97 98 205 205 205 90 90 90 86 86 86 83 77 85 120 120 120 136 136 136 120 133 114 88 88 88 85 79 87 100 100 100 98 98 98 84 77 85 111 128 107 117 117 117 122 122 122 151 151 151 147 147 147 100 99 100 150 150 150 112 128 109]; mask:((ImageMask new) width:16; height:16; bits:(ByteArray fromPackedString:'@@@@@C?<_?9??''?>_?9??''?>_?9??''?>_?9?? @@@@@b') ; yourself); yourself]
+!
+
 fileTypeFileIcon
     "This resource specification was automatically generated
      by the ImageEditor of ST/X."
@@ -1053,10 +1083,10 @@
 !MacOSXToolbarIconLibrary class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/MacOSXToolbarIconLibrary.st,v 1.2 2014-11-23 13:44:23 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/MacOSXToolbarIconLibrary.st,v 1.3 2014-11-23 13:55:38 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg/MacOSXToolbarIconLibrary.st,v 1.2 2014-11-23 13:44:23 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/MacOSXToolbarIconLibrary.st,v 1.3 2014-11-23 13:55:38 cg Exp $'
 ! !