author | ca |
Tue, 22 Oct 2002 10:53:02 +0200 | |
changeset 1638 | 67a340f6249f |
parent 1628 | 00275352f251 |
child 1656 | d7e60eb61f02 |
permissions | -rw-r--r-- |
77 | 1 |
" |
2 |
COPYRIGHT (c) 1995 by Claus Gittinger |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
||
1398 | 13 |
"{ Package: 'stx:libview2' }" |
14 |
||
77 | 15 |
Object subclass:#Icon |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
16 |
instanceVariableNames:'image mask' |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
17 |
classVariableNames:'KnownIcons' |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
18 |
poolDictionaries:'' |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
19 |
category:'Graphics-Images' |
77 | 20 |
! |
21 |
||
22 |
!Icon class methodsFor:'documentation'! |
|
23 |
||
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
24 |
copyright |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
25 |
" |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
26 |
COPYRIGHT (c) 1995 by Claus Gittinger |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
27 |
All Rights Reserved |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
28 |
|
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
29 |
This software is furnished under a license and may be used |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
30 |
only in accordance with the terms of that license and with the |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
31 |
inclusion of the above copyright notice. This software may not |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
32 |
be provided or otherwise made available to, or used by, any |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
33 |
other person. No title to or ownership of the software is |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
34 |
hereby transferred. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
35 |
" |
77 | 36 |
! |
37 |
||
38 |
documentation |
|
39 |
" |
|
193 | 40 |
The Icon class keeps track of already loaded Images and caches |
41 |
them for later reuse. |
|
42 |
Icons are accessed by a symbolic name, so there is no need to |
|
264 | 43 |
remember their names (they must have been registered under that name |
193 | 44 |
before - of course). |
45 |
||
46 |
Icon was mostly added for ST-80 Compatibility: |
|
264 | 47 |
|
193 | 48 |
Images are returned via the #constantNamed: message which is used by |
49 |
some ST-80 PD classes and returns corresponding ST/X icons. |
|
50 |
Notice, that ST/X does not provide Icon instances - Icon only consists |
|
51 |
of class mimicri protocol, to make your life easier. |
|
111 | 52 |
|
193 | 53 |
If you like the original ST-80 icons, install the image files in the `bitmap' |
54 |
directory under a name foo.xbm, where `foo' corresponds to the icons |
|
55 |
name symbol |
|
56 |
(i.e. for the `Icon constantNamed:#foo', a 'foo.xbm' file is required). |
|
111 | 57 |
|
193 | 58 |
You can grab those icons from manchester or from the PrimeTime Freeware |
59 |
(PTF) CD. A copy of those bitmaps (from the PTF-CD) is found in |
|
264 | 60 |
'goodies/bitmaps/st80bitmaps'. |
193 | 61 |
|
62 |
CAVEAT: |
|
63 |
masks are not yet implemented |
|
64 |
||
65 |
[See also:] |
|
66 |
Image Form ImageReader |
|
219 | 67 |
|
68 |
[author:] |
|
69 |
Claus Gittinger |
|
77 | 70 |
" |
71 |
! ! |
|
72 |
||
73 |
!Icon class methodsFor:'initialization'! |
|
74 |
||
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
75 |
initialize |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
76 |
KnownIcons isNil ifTrue:[ |
1628 | 77 |
KnownIcons := Dictionary new. |
78 |
Color initialize. |
|
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
79 |
] |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
80 |
|
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
81 |
" |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
82 |
Icon initialize |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
83 |
" |
269 | 84 |
|
85 |
"Modified: 20.5.1996 / 09:24:10 / cg" |
|
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
86 |
! |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
87 |
|
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
88 |
replacementNameFor:aName |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
89 |
"return a replacement ST/X name for an ST80 icon name." |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
90 |
|
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
91 |
self replacementNames do:[:aPair | |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
92 |
(aPair at:1) == aName ifTrue:[^ aPair at:2]. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
93 |
]. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
94 |
^ nil |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
95 |
! |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
96 |
|
77 | 97 |
replacementNames |
264 | 98 |
"return an ST-80 constant name to ST/X file name translation. |
99 |
This was added for ST-80 compatibility, to support code which uses |
|
100 |
things like 'Icon constantNamed:#categoryBrowser'." |
|
77 | 101 |
|
102 |
^ #( |
|
264 | 103 |
#(file FBrowser) |
104 |
#(debugger Debugger) |
|
105 |
#(systembrowser SBrowser) |
|
106 |
#(classbrowser SBrowser) |
|
107 |
#(categoryBrowser SBrowser) |
|
108 |
#(hierarchyBrowser SBrowser) |
|
109 |
#(methodBrowser SBrowser) |
|
110 |
#(launcher SmalltalkX) |
|
111 |
#(workspace SmalltalkX) |
|
112 |
#(transcript SmalltalkX) |
|
113 |
#(inspector Inspector) |
|
114 |
#(default SmalltalkX) |
|
77 | 115 |
) |
264 | 116 |
|
117 |
" |
|
118 |
Icon constantNamed:#categoryBrowser |
|
119 |
Icon constantNamed:#default |
|
120 |
" |
|
121 |
||
122 |
"Modified: 13.5.1996 / 10:29:43 / cg" |
|
77 | 123 |
! ! |
124 |
||
193 | 125 |
!Icon class methodsFor:'accessing'! |
77 | 126 |
|
127 |
constantNamed:aName |
|
193 | 128 |
"return the image registered under aName." |
129 |
||
1477 | 130 |
^ self constantNamed:aName searchForFile:true |
131 |
||
132 |
" |
|
133 |
Icon constantNamed:#file |
|
134 |
Icon constantNamed:#debugger |
|
135 |
Icon constantNamed:#systembrowser |
|
136 |
Icon constantNamed:#SBrowser |
|
137 |
Icon constantNamed:#SBrowser |
|
138 |
" |
|
139 |
||
140 |
"Modified: 10.1.1997 / 17:52:06 / cg" |
|
141 |
! |
|
142 |
||
143 |
constantNamed:aName ifAbsentPut:aBlock |
|
144 |
"if an image for aName is registered, return it; |
|
145 |
otherwise, register the result from evaluating aBlock |
|
146 |
(which also could be a value holder) and return it." |
|
147 |
||
148 |
|image| |
|
149 |
||
150 |
(image := self constantNamed:aName searchForFile:false) isNil |
|
151 |
ifTrue:[ |
|
152 |
self constantNamed:aName put:(image := aBlock value) |
|
153 |
]. |
|
154 |
^image |
|
155 |
! |
|
156 |
||
157 |
constantNamed:aName ifAbsentPutImageFromFile:aFileName |
|
158 |
"if an image for aName is registered, return it; |
|
159 |
otherwise, load the image from aFileName (searched in bitmaps directories), |
|
160 |
register the result and return it." |
|
161 |
||
162 |
^ self |
|
163 |
constantNamed:aName |
|
164 |
ifAbsentPut:[Smalltalk imageFromFileNamed:aFileName forClass:self] |
|
165 |
||
166 |
! |
|
167 |
||
168 |
constantNamed:aName put:anImage |
|
169 |
"register anImage under aName." |
|
170 |
||
1628 | 171 |
KnownIcons isNil ifTrue:[ |
172 |
self initialize |
|
173 |
]. |
|
1477 | 174 |
KnownIcons at:aName put:anImage |
175 |
||
176 |
"Modified: 23.4.1996 / 11:40:51 / cg" |
|
177 |
! |
|
178 |
||
179 |
constantNamed:aName searchForFile:doSearchForFile |
|
180 |
"return the image registered under aName." |
|
181 |
||
77 | 182 |
|icon nm| |
183 |
||
1628 | 184 |
KnownIcons isNil ifTrue:[ |
185 |
self initialize |
|
186 |
]. |
|
77 | 187 |
icon := KnownIcons at:aName ifAbsent:[]. |
1476 | 188 |
|
1477 | 189 |
(icon isNil and:[doSearchForFile]) ifTrue:[ |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
190 |
nm := self replacementNameFor:aName. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
191 |
nm notNil ifTrue:[ |
1291 | 192 |
icon := Smalltalk imageFromFileNamed:nm forClass:self. |
179 | 193 |
icon isNil ifTrue:[ |
1291 | 194 |
icon := Smalltalk imageFromFileNamed:(nm , '.xbm') forClass:self. |
179 | 195 |
] |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
196 |
]. |
1476 | 197 |
|
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
198 |
icon isNil ifTrue:[ |
1291 | 199 |
icon := Smalltalk imageFromFileNamed:aName forClass:self. |
179 | 200 |
icon isNil ifTrue:[ |
1291 | 201 |
icon := Smalltalk imageFromFileNamed:(aName , '.xbm') forClass:self. |
179 | 202 |
]. |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
203 |
icon isNil ifTrue:[ |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
204 |
^ nil |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
205 |
]. |
1218 | 206 |
icon := icon onDevice:Screen default. |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
207 |
]. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
208 |
KnownIcons at:aName put:icon. |
77 | 209 |
]. |
210 |
^ icon |
|
211 |
||
212 |
" |
|
213 |
Icon constantNamed:#file |
|
214 |
Icon constantNamed:#debugger |
|
215 |
Icon constantNamed:#systembrowser |
|
84 | 216 |
Icon constantNamed:#SBrowser |
105 | 217 |
Icon constantNamed:#SBrowser |
77 | 218 |
" |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
219 |
|
358
6b9671f01908
newStyle info & error messages
Claus Gittinger <cg@exept.de>
parents:
356
diff
changeset
|
220 |
"Modified: 10.1.1997 / 17:52:06 / cg" |
77 | 221 |
! ! |
222 |
||
988 | 223 |
!Icon class methodsFor:'image specs'! |
224 |
||
1014 | 225 |
backwardIcon |
226 |
"This resource specification was automatically generated |
|
227 |
by the ImageEditor of ST/X." |
|
228 |
||
229 |
"Do not manually edit this!! If it is corrupted, |
|
230 |
the ImageEditor may not be able to read the specification." |
|
231 |
||
232 |
" |
|
233 |
self moveOutButtonIcon inspect |
|
234 |
ImageEditor openOnClass:self andSelector:#moveOutButtonIcon |
|
235 |
" |
|
236 |
||
237 |
<resource: #image> |
|
238 |
||
239 |
^Icon |
|
240 |
constantNamed:#'VRMLWorldNavigationPanel moveOutButtonIcon' |
|
241 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUUPUUUUUUUPUUT@EUUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPWUT*%UUPWWR*)UUPWUR*)UUP_5R*)UUP_UJ**UUP_UJ**UUPUUJ**UUPUPJ**UUPUR***)UPUTJ**UUPUUP*%UUPUUUAUUUPUUUUUUUPUUUUUUUPUUUUUUUP') ; colorMapFromArray:#[255 255 255 0 0 0 0 127 0 255 0 0]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@O @@O0@@O0@@O0@@O0@@O0@@_8@@_8@@_8@@?<@@?<@@?<@C??@C??@A?>@@_8@@G @@@@@@@@@@@@@') ; yourself); yourself] |
|
242 |
||
243 |
! |
|
244 |
||
988 | 245 |
copyIcon |
246 |
"This resource specification was automatically generated |
|
247 |
by the ImageEditor of ST/X." |
|
248 |
||
249 |
"Do not manually edit this!! If it is corrupted, |
|
250 |
the ImageEditor may not be able to read the specification." |
|
251 |
||
252 |
" |
|
253 |
ImageEditor openOnClass:self andSelector:#copyIcon |
|
254 |
" |
|
255 |
||
256 |
<resource: #image> |
|
257 |
||
258 |
^Icon |
|
259 |
constantNamed:#'ToolApplicationModel copyIcon' |
|
1469 | 260 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@AUUUW@@@A???>@@@A???>O@@A???>@@@A???>@@@@@@?>@EUUU\?>@G???8?>@G???8?>@G???8?>@G???8?>@G???8?>IG???8?>@G???8**MG???8@@@G???8@@KG???8@@@G???8@@@G???8@@HN***(@@@@@@@@@@@') ; colorMapFromArray:#[0 0 0 255 255 255 127 127 127 170 170 170]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@_?<@_?<@_?<@_?<@_?<@_?<???<???<???<???<???<???<???<???<???<???<??8@??8@??8@??8@??8@??8@') ; yourself); yourself] |
261 |
! |
|
988 | 262 |
|
263 |
cutIcon |
|
264 |
"This resource specification was automatically generated |
|
265 |
by the ImageEditor of ST/X." |
|
266 |
||
267 |
"Do not manually edit this!! If it is corrupted, |
|
268 |
the ImageEditor may not be able to read the specification." |
|
269 |
||
270 |
" |
|
271 |
ImageEditor openOnClass:self andSelector:#cutIcon |
|
272 |
" |
|
273 |
||
274 |
<resource: #image> |
|
275 |
||
276 |
^Icon |
|
277 |
constantNamed:#'ToolApplicationModel cutIcon' |
|
1469 | 278 |
ifAbsentPut:[(Depth4Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@DQDQDP0AL@@L@@@SL3L3CBL @B0@@AL3L3LL0B@@3@@@D3L3L0KB@@KB@@@SL3L3LL0@CL@@@AL3L3L0KB@,H@@@D3L3L3LL0L0@@@@SL3L3L0K@0 @@@AL3L3L3LL3@@@@@D3L3L3L03L@@@@@SL3L3L0CL0@@@@AL3L3L3@,CB@@@@D3L3L3@L0L0@@@@2H"H H"0 KBH @@@@@@KL3@@L3LH@@@@@CBCB@@K@K@@@@@@L@LH@@,@L@@@@@@0@0 @B0@0@@@@@CBC@@@C@K@@@@@@@3@@@@@3@@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 127 127 127 170 170 170 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'_?<@_=\P_=<0_=,0_=50_>5 _>; _?[@_?[@_?.@_?.@_?N@_?[@_>[@_;;8_75<@F1,@D1$@D1$@F ,@C@X@@@@') ; yourself); yourself] |
279 |
! |
|
988 | 280 |
|
281 |
deleteIcon |
|
282 |
"This resource specification was automatically generated |
|
283 |
by the ImageEditor of ST/X." |
|
284 |
||
285 |
"Do not manually edit this!! If it is corrupted, |
|
286 |
the ImageEditor may not be able to read the specification." |
|
287 |
||
288 |
" |
|
289 |
ImageEditor openOnClass:self andSelector:#deleteIcon |
|
290 |
" |
|
291 |
||
292 |
<resource: #image> |
|
293 |
||
294 |
^Icon |
|
295 |
constantNamed:#'ToolApplicationModel deleteIcon' |
|
1469 | 296 |
ifAbsentPut:[(Depth4Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@DQDQDQDQL@@@@@@SL3L3L3L @@@@@AL3L3L3L2@@@@@@D3L3L3L3H@@@H@@SL3L3L3L @@H@@AL3L3L3L2@@@@@@D3L3L3L3@@@@@@@SL3L3L0@ @@@ @AL3L3L3@@@@@@@@D3L3L3L@D@@@H@@SL3L3L0@QL3H @AL3L3L3@A@3LB@@D3L3L3L@DC@0H@@2H"H"H @PLC@ @@@@@@@@@A@0LB@@@@@@@@@@DC@0H@@@@@@@@@@PLC@ @@@@@@@@@A@0LB@@@@@@@@@@DS@2H@@@@@@@@@HAL3HB@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 127 127 127 170 170 170 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'_?<@_?<@_?<P_?<P_?<X_?<X_?<H_?0H_?O<_?XL_?_<_?_<_?_<_?_<_?_<_?_<@@_<@@_<@@_<@@_<@@_<@@G0') ; yourself); yourself] |
297 |
! |
|
988 | 298 |
|
299 |
downIcon |
|
300 |
"This resource specification was automatically generated |
|
301 |
by the ImageEditor of ST/X." |
|
302 |
||
303 |
"Do not manually edit this!! If it is corrupted, |
|
304 |
the ImageEditor may not be able to read the specification." |
|
305 |
||
306 |
" |
|
1469 | 307 |
self downIcon inspect |
988 | 308 |
ImageEditor openOnClass:self andSelector:#downIcon |
309 |
" |
|
310 |
||
311 |
<resource: #image> |
|
312 |
||
313 |
^Icon |
|
1469 | 314 |
constantNamed:#'Icon class downIcon' |
315 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
316 |
UUT@AUUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUP |
|
317 |
UT@*$AUPUV***%UPUU***UUPUUZ*)UUPUUV*%UUPUUU*UUUPUUUYUUUP') ; colorMapFromArray:#[255 255 255 0 0 0 0 127 0 255 0 0]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@A?>@A?>@@?<@@_8@@O0@@G @@C@@') ; yourself); yourself] |
|
318 |
! |
|
988 | 319 |
|
320 |
downRightIcon |
|
321 |
"This resource specification was automatically generated |
|
322 |
by the ImageEditor of ST/X." |
|
323 |
||
324 |
"Do not manually edit this!! If it is corrupted, |
|
325 |
the ImageEditor may not be able to read the specification." |
|
326 |
||
327 |
" |
|
1469 | 328 |
self downRightIcon inspect |
988 | 329 |
ImageEditor openOnClass:self andSelector:#downRightIcon |
330 |
" |
|
331 |
||
332 |
<resource: #image> |
|
333 |
||
334 |
^Icon |
|
1469 | 335 |
constantNamed:#'Icon class downRightIcon' |
336 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
337 |
UUUUUUUPP@EUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUT%UPR*UUT)UPR*UUT*UPR*P@@*%PR*****)P |
|
338 |
R******PR*****)PR*****%PQUUUU*UPUUUUT)UPUUUUT%UPUUUUTUUP') ; colorMapFromArray:#[255 255 255 0 0 0 0 127 0 255 0 0]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@_ @@_ @@_ @@_ @@_ @@_ @@_ @@_ @@_ @@_ L@_ N@_ O@_?? _??0_??8_??8_??0_?? @@O@@@N@@@L@') ; yourself); yourself] |
|
339 |
! |
|
988 | 340 |
|
1014 | 341 |
forwardIcon |
342 |
"This resource specification was automatically generated |
|
343 |
by the ImageEditor of ST/X." |
|
344 |
||
345 |
"Do not manually edit this!! If it is corrupted, |
|
346 |
the ImageEditor may not be able to read the specification." |
|
347 |
||
348 |
" |
|
349 |
self moveInButtonIcon inspect |
|
350 |
ImageEditor openOnClass:self andSelector:#moveInButtonIcon |
|
351 |
" |
|
352 |
||
353 |
<resource: #image> |
|
354 |
||
355 |
^Icon |
|
356 |
constantNamed:#'VRMLWorldNavigationPanel moveInButtonIcon' |
|
357 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUUPUUUUUUUPUUUUUUUPUUUQUUUPUUTJUUUPUUB*)UUPUP***%UPUQU*%UUPUUT*%UUP_UT*%UUP_UT*%UUP_5R*)UUPWUR*)UUPWWR*)UUPWUJ**UUPUUJ**UUPUT***%UPUT***%UPUR***)UPUUUUUUUPUUUUUUUPUUUUUUUP') ; colorMapFromArray:#[255 255 255 0 0 0 0 127 0 255 0 0]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@C@@@O0@@?<@C??@C??@@O0@@O0@@O0@@_8@@_8@@_8@@?<@@?<@A?>@A?>@C??@A??@@@@@@@@@') ; yourself); yourself] |
|
358 |
||
359 |
! |
|
360 |
||
988 | 361 |
helpIcon |
362 |
"This resource specification was automatically generated |
|
363 |
by the ImageEditor of ST/X." |
|
364 |
||
365 |
"Do not manually edit this!! If it is corrupted, |
|
366 |
the ImageEditor may not be able to read the specification." |
|
367 |
||
368 |
" |
|
369 |
ImageEditor openOnClass:self andSelector:#helpIcon |
|
370 |
" |
|
371 |
||
372 |
<resource: #image> |
|
373 |
||
374 |
^Icon |
|
375 |
constantNamed:#'ToolApplicationModel helpIcon' |
|
1469 | 376 |
ifAbsentPut:[(Depth1Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@O0A@_8@@?<@@8\C@8\A@@\@@@8@@A8@@C0@@G @@G@@@G@@@G@C@@@@@@@@@G@@@G@@@G@@@@@@@@@@') ; colorMapFromArray:#[0 0 0 127 0 127]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@O0@@_8@@?<@@8\@@8\@@@\@@@8@@A8@@C0@@G @@G@@@G@@@G@@@@@@@@@@@G@@@G@@@G@@@@@@@@@@') ; yourself); yourself] |
377 |
! |
|
988 | 378 |
|
379 |
leftDownIcon |
|
380 |
"This resource specification was automatically generated |
|
381 |
by the ImageEditor of ST/X." |
|
382 |
||
383 |
"Do not manually edit this!! If it is corrupted, |
|
384 |
the ImageEditor may not be able to read the specification." |
|
385 |
||
386 |
" |
|
1469 | 387 |
self leftDownIcon inspect |
988 | 388 |
ImageEditor openOnClass:self andSelector:#leftDownIcon |
389 |
" |
|
390 |
||
391 |
<resource: #image> |
|
392 |
||
393 |
^Icon |
|
1469 | 394 |
constantNamed:#'Icon class leftDownIcon' |
395 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
396 |
UUUUUUUPU@@@@@@PUJ****)PUJ****)PUJ****)PUJ****)PUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUP@J*@UUUP |
|
397 |
***)UUUPZ**%UUUPV**UUUUPU*)UUUUPUZ%UUUUPUVUUUUUPUUUUUUUP') ; colorMapFromArray:#[255 255 255 0 0 0 0 127 0 255 0 0]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@G??8G??8G??8G??8G??8G??8G8@@G8@@G8@@G8@@G8@@G8@@G8@@??@@??@@_>@@O<@@G8@@C0@@A @@@@@@') ; yourself); yourself] |
|
398 |
! |
|
988 | 399 |
|
400 |
leftIcon |
|
401 |
"This resource specification was automatically generated |
|
402 |
by the ImageEditor of ST/X." |
|
403 |
||
404 |
"Do not manually edit this!! If it is corrupted, |
|
405 |
the ImageEditor may not be able to read the specification." |
|
406 |
||
407 |
" |
|
1469 | 408 |
self leftIcon inspect |
988 | 409 |
ImageEditor openOnClass:self andSelector:#leftIcon |
410 |
" |
|
411 |
||
412 |
<resource: #image> |
|
413 |
||
414 |
^Icon |
|
1469 | 415 |
constantNamed:#'Icon class leftIcon' |
416 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
417 |
UUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUTUUUUUPURUUUUUPUJUUUUUPT*P@@@@PR******PJ******P*******PZ******PV*UUUUUPU*UUUUUP |
|
418 |
UZUUUUUPUVUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUP') ; colorMapFromArray:#[255 255 255 0 0 0 0 127 0 255 0 0]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@A @@C @@G @@O??<_??<???<???<_??<O??<G @@C @@A @@@@@@@@@@@@@@@@@@@@@@') ; yourself); yourself] |
|
419 |
! |
|
988 | 420 |
|
421 |
loadIcon |
|
422 |
"This resource specification was automatically generated |
|
423 |
by the ImageEditor of ST/X." |
|
424 |
||
425 |
"Do not manually edit this!! If it is corrupted, |
|
426 |
the ImageEditor may not be able to read the specification." |
|
427 |
||
428 |
" |
|
429 |
ImageEditor openOnClass:self andSelector:#loadIcon |
|
430 |
" |
|
431 |
||
432 |
<resource: #image> |
|
433 |
||
434 |
^Icon |
|
435 |
constantNamed:#'ToolApplicationModel loadIcon' |
|
1469 | 436 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUUPUUUUU?UPUUUUW*5PU???>*/PU:****)PUUUUUUZPP@@@@@EPS?????&PS?????%PS?????&PS?????%PT?????9PT?????9PT?????9PT?????9PT?????9PT?????9PUO????>PUO????>PUO????>PU:*****PUUUUUUUP') ; colorMapFromArray:#[255 255 255 0 0 0 127 127 127 170 170 170]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@G@@@O G??8O??<O??<_??<???<???<???<???<???<_??<_??<_??<_??<_??<_??<O??<O??<O??<O??<O??<') ; yourself); yourself] |
437 |
! |
|
988 | 438 |
|
439 |
newIcon |
|
440 |
"This resource specification was automatically generated |
|
441 |
by the ImageEditor of ST/X." |
|
442 |
||
443 |
"Do not manually edit this!! If it is corrupted, |
|
444 |
the ImageEditor may not be able to read the specification." |
|
445 |
||
446 |
" |
|
447 |
ImageEditor openOnClass:self andSelector:#newIcon |
|
448 |
" |
|
449 |
||
450 |
<resource: #image> |
|
451 |
||
452 |
^Icon |
|
453 |
constantNamed:#'ToolApplicationModel newIcon' |
|
1469 | 454 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@AUUUUP@@A????2@@A????2 @A????0@@A?????8@A?????8@A?????8@A?????8@A?????8@A?????8@A?????8@A?????8@A?????8@A?????8@A?????8@A?????8@A?????8@A?????8@A?????8@C*****(@@@@@@@@@') ; colorMapFromArray:#[0 0 0 255 255 255 127 127 127 170 170 170]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'_?>@_??@_?? _??0_??8_??8_??8_??8_??8_??8_??8_??8_??8_??8_??8_??8_??8_??8_??8_??8_??8_??8') ; yourself); yourself] |
455 |
! |
|
988 | 456 |
|
457 |
pasteIcon |
|
458 |
"This resource specification was automatically generated |
|
459 |
by the ImageEditor of ST/X." |
|
460 |
||
461 |
"Do not manually edit this!! If it is corrupted, |
|
462 |
the ImageEditor may not be able to read the specification." |
|
463 |
||
464 |
" |
|
465 |
ImageEditor openOnClass:self andSelector:#pasteIcon |
|
466 |
" |
|
467 |
||
468 |
<resource: #image> |
|
469 |
||
470 |
^Icon |
|
471 |
constantNamed:#'ToolApplicationModel pasteIcon' |
|
1469 | 472 |
ifAbsentPut:[(Depth4Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@KLH@@@@@@@@@@@CL3@@@@@@@@@@@CBH"0@@@@@@@@QD,3L3BDQ@@@@@ADQDQDQDQD@@@@@DQDQDQDQDP@@@@@@@@@@DQDQ@ADQDQDQDS@QDQD@D3L3L3L3HADQDP@SL3L3L3L DQDQ@AL3L3L3L2@QDQD@D3L3L3L3HADQDP@SL3L3L3L DQDQ@AL3L3L3L2@QDQD@D3L3L3L3HADQDP@SL3L3L3L DQDQ@AL3L3L3L2@QDQD@D3L3L3L3HADQDP@SL3L3L3L DQDQ@AL3L3L3L2@@@@@@L"H"H"H"H@@@@@@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 127 127 127 170 170 170 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@<@@@<@@??<@??<@??<@??<???<???<???<???<???<???<???<???<???<???<???<???<???<???<??8@??8@') ; yourself); yourself] |
473 |
! |
|
988 | 474 |
|
475 |
rightIcon |
|
476 |
"This resource specification was automatically generated |
|
477 |
by the ImageEditor of ST/X." |
|
478 |
||
479 |
"Do not manually edit this!! If it is corrupted, |
|
480 |
the ImageEditor may not be able to read the specification." |
|
481 |
||
482 |
" |
|
1469 | 483 |
self rightIcon inspect |
988 | 484 |
ImageEditor openOnClass:self andSelector:#rightIcon |
485 |
" |
|
486 |
||
487 |
<resource: #image> |
|
488 |
||
489 |
^Icon |
|
1469 | 490 |
constantNamed:#'Icon class rightIcon' |
491 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
492 |
UUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUIUPUUUUUJUPUUUUUJ%P@@@@@J)PJ******PJ****** J******PJ*****)PEUUUUZ%PUUUUUJUP |
|
493 |
UUUUUIUPUUUUUEUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUP') ; colorMapFromArray:#[255 255 255 0 0 0 0 127 0 255 0 0]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@F@@@G@@@G ???0???8???<???<???8???0@@G @@G@@@F@@@@@@@@@@@@@@@@@@@@@') ; yourself); yourself] |
|
494 |
! |
|
988 | 495 |
|
496 |
saveIcon |
|
497 |
"This resource specification was automatically generated |
|
498 |
by the ImageEditor of ST/X." |
|
499 |
||
500 |
"Do not manually edit this!! If it is corrupted, |
|
501 |
the ImageEditor may not be able to read the specification." |
|
502 |
||
503 |
" |
|
504 |
ImageEditor openOnClass:self andSelector:#saveIcon |
|
505 |
" |
|
506 |
||
507 |
<resource: #image> |
|
508 |
||
509 |
^Icon |
|
510 |
constantNamed:#'ToolApplicationModel saveIcon' |
|
1469 | 511 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'AL3L3L@PM3L3L0?PML3L3L=PM3L3L0=PML3L3L?PM3L3L0?PML3L3L?PM3L3L0?PML3L3L?PM3L3L0?PML3L3L?PM@@@@@?PO??????PO??????PO??????PO=UUUU?PO=???[?PO=5O?Z?PO=6O?Z?PO=6O?Z?PO=0O?Z?P5U***U5P') ; colorMapFromArray:#[255 255 255 0 0 0 127 127 127 170 170 170]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???<???8') ; yourself); yourself] |
512 |
! |
|
988 | 513 |
|
514 |
startIcon |
|
515 |
"This resource specification was automatically generated |
|
516 |
by the ImageEditor of ST/X." |
|
517 |
||
518 |
"Do not manually edit this!! If it is corrupted, |
|
519 |
the ImageEditor may not be able to read the specification." |
|
520 |
||
521 |
" |
|
522 |
ImageEditor openOnClass:self andSelector:#startIcon |
|
523 |
" |
|
524 |
||
525 |
<resource: #image> |
|
526 |
||
527 |
^Icon |
|
528 |
constantNamed:#'ToolApplicationModel startIcon' |
|
1469 | 529 |
ifAbsentPut:[(Depth4Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@N8@@@@@@@@@@@@N<^@@@@@@@@@@@@;.;.;.;.@@@@@@C/G @@@@8^@@@@@N<^@@@@@A@@@@@@;18@@@@@D@@@@@C.;.;.; @P@@@@@N<^@@@@@@@@@@@@;18@@@C!!G.@@@@C/G @@@@G>@@@@@N;.;.; @_8@@@@@;18@@@@A? @@@@C/G @@@@G>@@@@@N<^@@@@@_8@@@@@;.;.;.@A? @@@@C/G @@@@G>@@@@@N<^@@@@@_8@@@@@;18@@@@@@@@@@@C.; @@@@DQ@@@@C ; 8@@@A&X@@@C 8@8N@@@"H"@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127 127 127 127 170 170 170]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@AC@DAG DAG?<@G N@G N@G N@G?.@G N@G _@G _@G?_@G _@G _@G _@G?_@G ? G!!?0G!!?0G!!.PKQNPT(_@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@a') ; yourself); yourself] |
530 |
! |
|
988 | 531 |
|
532 |
stxIcon |
|
1177 | 533 |
|icn| |
534 |
||
535 |
(icn := self constantNamed:'stxIcon') isNil ifTrue:[ |
|
536 |
OperatingSystem platformName == #win32 ifTrue:[ |
|
1291 | 537 |
icn := Smalltalk imageFromFileNamed:'stx_32x32.xpm' forClass:self. |
1177 | 538 |
]. |
539 |
icn isNil ifTrue:[ |
|
540 |
icn := self stxIconOld. |
|
541 |
]. |
|
542 |
icn notNil ifTrue:[ |
|
543 |
self constantNamed:'stxIcon' put:icn. |
|
544 |
] |
|
545 |
]. |
|
546 |
^ icn |
|
547 |
||
548 |
"Modified: / 25.5.1999 / 15:42:55 / cg" |
|
549 |
! |
|
550 |
||
551 |
stxIconOld |
|
988 | 552 |
"This resource specification was automatically generated |
553 |
by the ImageEditor of ST/X." |
|
554 |
||
555 |
"Do not manually edit this!! If it is corrupted, |
|
556 |
the ImageEditor may not be able to read the specification." |
|
557 |
||
558 |
" |
|
559 |
ImageEditor openOnClass:self andSelector:#stxIcon |
|
560 |
" |
|
561 |
||
562 |
<resource: #image> |
|
563 |
||
564 |
^Icon |
|
1177 | 565 |
constantNamed:#'ToolApplicationModel stxIconOld' |
566 |
ifAbsentPut:[(Depth2Image new) width: 48; height: 48; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@U@@@@@@@AP@@@@@AUP@@@@@@E@@@@@@AUP@@@@@@T@@@@@@AUP@@@@@EP@@@@@@AUP@@@@@DP@@@@@@AUD@@@@AU@@@@@@@@UT@@@@@T@@@@@@@@UT@@@@QP@@@@@@@@EU@@@@U@@@@@@@@@AU@@@AD@@@@@@@@@ATP@@UP@@@@@@@@@AUP@@Q@@@@@@@@@@@UT@AD@@@@@@@@@@@AQ@DP@@@@@@@@@@@EU@Q@@@@@@@@@@@@ATQT@@@@@@@@@@@@AUTP@@@@@@@@@@@@@EPP@@@@@@@@@@@@@QU@@@@@@@@@@@@@@EU@@@@@@@@@@@@@@UT@@@@@@@@@@@@@AUE@@@@@@@@@@@@@EUU@@@@@@@@@@@@@UPEP@@@@@@@@@@@AUPAT@@@@@@@@@@@EE@AU@@@@@@@@@@AET@@E@@@@@@@@@@AUP@@EP@@@@@@@@@UU@@@AP@@@@@@@@AUP@@@AT@@@@@@@@EUP@@@@T@@@@@@@AUU@@@@@E@@@@@@@EUT@@@@@DP@@@@@@UUP@@@@@AP@@@@@@UUP@@@@@@T@@@@@@UU@@@@@@@E@@@@@@ET@@@@@@@A@@@@@@@@@@@@@@@@P@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@') ; colorMapFromArray:#[25 25 25 0 204 51 0 0 0 255 255 255]; yourself] |
|
567 |
||
568 |
"Created: / 25.5.1999 / 15:41:19 / cg" |
|
569 |
"Modified: / 25.5.1999 / 15:43:04 / cg" |
|
570 |
! |
|
988 | 571 |
|
572 |
upIcon |
|
573 |
"This resource specification was automatically generated |
|
574 |
by the ImageEditor of ST/X." |
|
575 |
||
576 |
"Do not manually edit this!! If it is corrupted, |
|
577 |
the ImageEditor may not be able to read the specification." |
|
578 |
||
579 |
" |
|
1469 | 580 |
self upIcon inspect |
988 | 581 |
ImageEditor openOnClass:self andSelector:#upIcon |
582 |
" |
|
583 |
||
584 |
<resource: #image> |
|
585 |
||
586 |
^Icon |
|
1469 | 587 |
constantNamed:#'Icon class upIcon' |
588 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
589 |
UUURUUUPUUUJ%UUPUUT*)UUPUUR**UUPUUJ**%UPUT***)UPUVU*%UUPUUT*%UUPUUT*%UUP_UT*%UUP_UT*%UUP_5T*%UUPWUT*%UUPWWT*%UUPWUT*%UUP |
|
590 |
UUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUTUUUUP') ; colorMapFromArray:#[255 255 255 0 0 0 0 127 0 255 0 0]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@C@@@G @@O0@@_8@@?<@A?>@A?>@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@@O0@') ; yourself); yourself] |
|
591 |
! |
|
592 |
||
593 |
upRightIcon |
|
594 |
"This resource specification was automatically generated |
|
595 |
by the ImageEditor of ST/X." |
|
596 |
||
597 |
"Do not manually edit this!! If it is corrupted, |
|
598 |
the ImageEditor may not be able to read the specification." |
|
599 |
||
600 |
" |
|
601 |
self upRightIcon inspect |
|
602 |
ImageEditor openOnClass:self andSelector:#upRightIcon |
|
603 |
" |
|
604 |
||
605 |
<resource: #image> |
|
606 |
||
607 |
^Icon |
|
608 |
constantNamed:#'Icon class upRightIcon' |
|
609 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
610 |
UUUUT%UPUUUUT)UPUUUUT*UPP@@@@*%PR*****)PR******PR*****)PR*****%PR*UUU*UPR*UUT)UPR*UUT%UPR*UUTUUPR*UUUUUPR*UUUUUPR*UUUUUP |
|
611 |
R*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPYU%UUUUPUUUUUUUP') ; colorMapFromArray:#[255 255 255 0 0 0 0 127 0 255 0 0]; mask:((Depth1Image new) width: 22; height: 22; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@L@@@N@@@O@_?? _??0_??8_??8_??0_?? _ O@_ N@_ L@_ @@_ @@_ @@_ @@_ @@_ @@_ @@_ @@_ @@@@@@') ; yourself); yourself] |
|
612 |
! ! |
|
988 | 613 |
|
780 | 614 |
!Icon class methodsFor:'startup / release'! |
615 |
||
1398 | 616 |
flushCachedIcons |
617 |
KnownIcons removeAll |
|
780 | 618 |
|
1398 | 619 |
" |
620 |
Icon flushCachedIcons |
|
621 |
" |
|
622 |
! |
|
623 |
||
624 |
preSnapshot |
|
625 |
self flushCachedIcons |
|
780 | 626 |
! ! |
627 |
||
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
628 |
!Icon class methodsFor:'documentation'! |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
629 |
|
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
630 |
version |
1628 | 631 |
^ '$Header: /cvs/stx/stx/libview2/Icon.st,v 1.31 2002-10-02 09:35:53 cg Exp $' |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
632 |
! ! |
77 | 633 |
Icon initialize! |