author | Claus Gittinger <cg@exept.de> |
Fri, 08 Jun 2001 18:14:54 +0200 | |
changeset 1477 | d0ede9f27f35 |
parent 1476 | d042753dfe85 |
child 1628 | 00275352f251 |
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:[ |
269 | 77 |
KnownIcons := Dictionary new |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
78 |
] |
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 |
Icon initialize |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
82 |
" |
269 | 83 |
|
84 |
"Modified: 20.5.1996 / 09:24:10 / cg" |
|
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
85 |
! |
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 |
replacementNameFor:aName |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
88 |
"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
|
89 |
|
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
90 |
self replacementNames do:[:aPair | |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
91 |
(aPair at:1) == aName ifTrue:[^ aPair at:2]. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
92 |
]. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
93 |
^ nil |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
94 |
! |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
95 |
|
77 | 96 |
replacementNames |
264 | 97 |
"return an ST-80 constant name to ST/X file name translation. |
98 |
This was added for ST-80 compatibility, to support code which uses |
|
99 |
things like 'Icon constantNamed:#categoryBrowser'." |
|
77 | 100 |
|
101 |
^ #( |
|
264 | 102 |
#(file FBrowser) |
103 |
#(debugger Debugger) |
|
104 |
#(systembrowser SBrowser) |
|
105 |
#(classbrowser SBrowser) |
|
106 |
#(categoryBrowser SBrowser) |
|
107 |
#(hierarchyBrowser SBrowser) |
|
108 |
#(methodBrowser SBrowser) |
|
109 |
#(launcher SmalltalkX) |
|
110 |
#(workspace SmalltalkX) |
|
111 |
#(transcript SmalltalkX) |
|
112 |
#(inspector Inspector) |
|
113 |
#(default SmalltalkX) |
|
77 | 114 |
) |
264 | 115 |
|
116 |
" |
|
117 |
Icon constantNamed:#categoryBrowser |
|
118 |
Icon constantNamed:#default |
|
119 |
" |
|
120 |
||
121 |
"Modified: 13.5.1996 / 10:29:43 / cg" |
|
77 | 122 |
! ! |
123 |
||
193 | 124 |
!Icon class methodsFor:'accessing'! |
77 | 125 |
|
126 |
constantNamed:aName |
|
193 | 127 |
"return the image registered under aName." |
128 |
||
1477 | 129 |
^ self constantNamed:aName searchForFile:true |
130 |
||
131 |
" |
|
132 |
Icon constantNamed:#file |
|
133 |
Icon constantNamed:#debugger |
|
134 |
Icon constantNamed:#systembrowser |
|
135 |
Icon constantNamed:#SBrowser |
|
136 |
Icon constantNamed:#SBrowser |
|
137 |
" |
|
138 |
||
139 |
"Modified: 10.1.1997 / 17:52:06 / cg" |
|
140 |
! |
|
141 |
||
142 |
constantNamed:aName ifAbsentPut:aBlock |
|
143 |
"if an image for aName is registered, return it; |
|
144 |
otherwise, register the result from evaluating aBlock |
|
145 |
(which also could be a value holder) and return it." |
|
146 |
||
147 |
|image| |
|
148 |
||
149 |
(image := self constantNamed:aName searchForFile:false) isNil |
|
150 |
ifTrue:[ |
|
151 |
self constantNamed:aName put:(image := aBlock value) |
|
152 |
]. |
|
153 |
^image |
|
154 |
! |
|
155 |
||
156 |
constantNamed:aName ifAbsentPutImageFromFile:aFileName |
|
157 |
"if an image for aName is registered, return it; |
|
158 |
otherwise, load the image from aFileName (searched in bitmaps directories), |
|
159 |
register the result and return it." |
|
160 |
||
161 |
^ self |
|
162 |
constantNamed:aName |
|
163 |
ifAbsentPut:[Smalltalk imageFromFileNamed:aFileName forClass:self] |
|
164 |
||
165 |
! |
|
166 |
||
167 |
constantNamed:aName put:anImage |
|
168 |
"register anImage under aName." |
|
169 |
||
170 |
KnownIcons at:aName put:anImage |
|
171 |
||
172 |
"Modified: 23.4.1996 / 11:40:51 / cg" |
|
173 |
! |
|
174 |
||
175 |
constantNamed:aName searchForFile:doSearchForFile |
|
176 |
"return the image registered under aName." |
|
177 |
||
77 | 178 |
|icon nm| |
179 |
||
180 |
icon := KnownIcons at:aName ifAbsent:[]. |
|
1476 | 181 |
|
1477 | 182 |
(icon isNil and:[doSearchForFile]) ifTrue:[ |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
183 |
nm := self replacementNameFor:aName. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
184 |
nm notNil ifTrue:[ |
1291 | 185 |
icon := Smalltalk imageFromFileNamed:nm forClass:self. |
179 | 186 |
icon isNil ifTrue:[ |
1291 | 187 |
icon := Smalltalk imageFromFileNamed:(nm , '.xbm') forClass:self. |
179 | 188 |
] |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
189 |
]. |
1476 | 190 |
|
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
191 |
icon isNil ifTrue:[ |
1291 | 192 |
icon := Smalltalk imageFromFileNamed:aName forClass:self. |
179 | 193 |
icon isNil ifTrue:[ |
1291 | 194 |
icon := Smalltalk imageFromFileNamed:(aName , '.xbm') forClass:self. |
179 | 195 |
]. |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
196 |
icon isNil ifTrue:[ |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
197 |
^ nil |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
198 |
]. |
1218 | 199 |
icon := icon onDevice:Screen default. |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
200 |
]. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
201 |
KnownIcons at:aName put:icon. |
77 | 202 |
]. |
203 |
^ icon |
|
204 |
||
205 |
" |
|
206 |
Icon constantNamed:#file |
|
207 |
Icon constantNamed:#debugger |
|
208 |
Icon constantNamed:#systembrowser |
|
84 | 209 |
Icon constantNamed:#SBrowser |
105 | 210 |
Icon constantNamed:#SBrowser |
77 | 211 |
" |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
212 |
|
358
6b9671f01908
newStyle info & error messages
Claus Gittinger <cg@exept.de>
parents:
356
diff
changeset
|
213 |
"Modified: 10.1.1997 / 17:52:06 / cg" |
77 | 214 |
! ! |
215 |
||
988 | 216 |
!Icon class methodsFor:'image specs'! |
217 |
||
1014 | 218 |
backwardIcon |
219 |
"This resource specification was automatically generated |
|
220 |
by the ImageEditor of ST/X." |
|
221 |
||
222 |
"Do not manually edit this!! If it is corrupted, |
|
223 |
the ImageEditor may not be able to read the specification." |
|
224 |
||
225 |
" |
|
226 |
self moveOutButtonIcon inspect |
|
227 |
ImageEditor openOnClass:self andSelector:#moveOutButtonIcon |
|
228 |
" |
|
229 |
||
230 |
<resource: #image> |
|
231 |
||
232 |
^Icon |
|
233 |
constantNamed:#'VRMLWorldNavigationPanel moveOutButtonIcon' |
|
234 |
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] |
|
235 |
||
236 |
! |
|
237 |
||
988 | 238 |
copyIcon |
239 |
"This resource specification was automatically generated |
|
240 |
by the ImageEditor of ST/X." |
|
241 |
||
242 |
"Do not manually edit this!! If it is corrupted, |
|
243 |
the ImageEditor may not be able to read the specification." |
|
244 |
||
245 |
" |
|
246 |
ImageEditor openOnClass:self andSelector:#copyIcon |
|
247 |
" |
|
248 |
||
249 |
<resource: #image> |
|
250 |
||
251 |
^Icon |
|
252 |
constantNamed:#'ToolApplicationModel copyIcon' |
|
1469 | 253 |
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] |
254 |
! |
|
988 | 255 |
|
256 |
cutIcon |
|
257 |
"This resource specification was automatically generated |
|
258 |
by the ImageEditor of ST/X." |
|
259 |
||
260 |
"Do not manually edit this!! If it is corrupted, |
|
261 |
the ImageEditor may not be able to read the specification." |
|
262 |
||
263 |
" |
|
264 |
ImageEditor openOnClass:self andSelector:#cutIcon |
|
265 |
" |
|
266 |
||
267 |
<resource: #image> |
|
268 |
||
269 |
^Icon |
|
270 |
constantNamed:#'ToolApplicationModel cutIcon' |
|
1469 | 271 |
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] |
272 |
! |
|
988 | 273 |
|
274 |
deleteIcon |
|
275 |
"This resource specification was automatically generated |
|
276 |
by the ImageEditor of ST/X." |
|
277 |
||
278 |
"Do not manually edit this!! If it is corrupted, |
|
279 |
the ImageEditor may not be able to read the specification." |
|
280 |
||
281 |
" |
|
282 |
ImageEditor openOnClass:self andSelector:#deleteIcon |
|
283 |
" |
|
284 |
||
285 |
<resource: #image> |
|
286 |
||
287 |
^Icon |
|
288 |
constantNamed:#'ToolApplicationModel deleteIcon' |
|
1469 | 289 |
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] |
290 |
! |
|
988 | 291 |
|
292 |
downIcon |
|
293 |
"This resource specification was automatically generated |
|
294 |
by the ImageEditor of ST/X." |
|
295 |
||
296 |
"Do not manually edit this!! If it is corrupted, |
|
297 |
the ImageEditor may not be able to read the specification." |
|
298 |
||
299 |
" |
|
1469 | 300 |
self downIcon inspect |
988 | 301 |
ImageEditor openOnClass:self andSelector:#downIcon |
302 |
" |
|
303 |
||
304 |
<resource: #image> |
|
305 |
||
306 |
^Icon |
|
1469 | 307 |
constantNamed:#'Icon class downIcon' |
308 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
309 |
UUT@AUUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUP |
|
310 |
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] |
|
311 |
! |
|
988 | 312 |
|
313 |
downRightIcon |
|
314 |
"This resource specification was automatically generated |
|
315 |
by the ImageEditor of ST/X." |
|
316 |
||
317 |
"Do not manually edit this!! If it is corrupted, |
|
318 |
the ImageEditor may not be able to read the specification." |
|
319 |
||
320 |
" |
|
1469 | 321 |
self downRightIcon inspect |
988 | 322 |
ImageEditor openOnClass:self andSelector:#downRightIcon |
323 |
" |
|
324 |
||
325 |
<resource: #image> |
|
326 |
||
327 |
^Icon |
|
1469 | 328 |
constantNamed:#'Icon class downRightIcon' |
329 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
330 |
UUUUUUUPP@EUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUT%UPR*UUT)UPR*UUT*UPR*P@@*%PR*****)P |
|
331 |
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] |
|
332 |
! |
|
988 | 333 |
|
1014 | 334 |
forwardIcon |
335 |
"This resource specification was automatically generated |
|
336 |
by the ImageEditor of ST/X." |
|
337 |
||
338 |
"Do not manually edit this!! If it is corrupted, |
|
339 |
the ImageEditor may not be able to read the specification." |
|
340 |
||
341 |
" |
|
342 |
self moveInButtonIcon inspect |
|
343 |
ImageEditor openOnClass:self andSelector:#moveInButtonIcon |
|
344 |
" |
|
345 |
||
346 |
<resource: #image> |
|
347 |
||
348 |
^Icon |
|
349 |
constantNamed:#'VRMLWorldNavigationPanel moveInButtonIcon' |
|
350 |
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] |
|
351 |
||
352 |
! |
|
353 |
||
988 | 354 |
helpIcon |
355 |
"This resource specification was automatically generated |
|
356 |
by the ImageEditor of ST/X." |
|
357 |
||
358 |
"Do not manually edit this!! If it is corrupted, |
|
359 |
the ImageEditor may not be able to read the specification." |
|
360 |
||
361 |
" |
|
362 |
ImageEditor openOnClass:self andSelector:#helpIcon |
|
363 |
" |
|
364 |
||
365 |
<resource: #image> |
|
366 |
||
367 |
^Icon |
|
368 |
constantNamed:#'ToolApplicationModel helpIcon' |
|
1469 | 369 |
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] |
370 |
! |
|
988 | 371 |
|
372 |
leftDownIcon |
|
373 |
"This resource specification was automatically generated |
|
374 |
by the ImageEditor of ST/X." |
|
375 |
||
376 |
"Do not manually edit this!! If it is corrupted, |
|
377 |
the ImageEditor may not be able to read the specification." |
|
378 |
||
379 |
" |
|
1469 | 380 |
self leftDownIcon inspect |
988 | 381 |
ImageEditor openOnClass:self andSelector:#leftDownIcon |
382 |
" |
|
383 |
||
384 |
<resource: #image> |
|
385 |
||
386 |
^Icon |
|
1469 | 387 |
constantNamed:#'Icon class leftDownIcon' |
388 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
389 |
UUUUUUUPU@@@@@@PUJ****)PUJ****)PUJ****)PUJ****)PUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUP@J*@UUUP |
|
390 |
***)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] |
|
391 |
! |
|
988 | 392 |
|
393 |
leftIcon |
|
394 |
"This resource specification was automatically generated |
|
395 |
by the ImageEditor of ST/X." |
|
396 |
||
397 |
"Do not manually edit this!! If it is corrupted, |
|
398 |
the ImageEditor may not be able to read the specification." |
|
399 |
||
400 |
" |
|
1469 | 401 |
self leftIcon inspect |
988 | 402 |
ImageEditor openOnClass:self andSelector:#leftIcon |
403 |
" |
|
404 |
||
405 |
<resource: #image> |
|
406 |
||
407 |
^Icon |
|
1469 | 408 |
constantNamed:#'Icon class leftIcon' |
409 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
410 |
UUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUTUUUUUPURUUUUUPUJUUUUUPT*P@@@@PR******PJ******P*******PZ******PV*UUUUUPU*UUUUUP |
|
411 |
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] |
|
412 |
! |
|
988 | 413 |
|
414 |
loadIcon |
|
415 |
"This resource specification was automatically generated |
|
416 |
by the ImageEditor of ST/X." |
|
417 |
||
418 |
"Do not manually edit this!! If it is corrupted, |
|
419 |
the ImageEditor may not be able to read the specification." |
|
420 |
||
421 |
" |
|
422 |
ImageEditor openOnClass:self andSelector:#loadIcon |
|
423 |
" |
|
424 |
||
425 |
<resource: #image> |
|
426 |
||
427 |
^Icon |
|
428 |
constantNamed:#'ToolApplicationModel loadIcon' |
|
1469 | 429 |
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] |
430 |
! |
|
988 | 431 |
|
432 |
newIcon |
|
433 |
"This resource specification was automatically generated |
|
434 |
by the ImageEditor of ST/X." |
|
435 |
||
436 |
"Do not manually edit this!! If it is corrupted, |
|
437 |
the ImageEditor may not be able to read the specification." |
|
438 |
||
439 |
" |
|
440 |
ImageEditor openOnClass:self andSelector:#newIcon |
|
441 |
" |
|
442 |
||
443 |
<resource: #image> |
|
444 |
||
445 |
^Icon |
|
446 |
constantNamed:#'ToolApplicationModel newIcon' |
|
1469 | 447 |
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] |
448 |
! |
|
988 | 449 |
|
450 |
pasteIcon |
|
451 |
"This resource specification was automatically generated |
|
452 |
by the ImageEditor of ST/X." |
|
453 |
||
454 |
"Do not manually edit this!! If it is corrupted, |
|
455 |
the ImageEditor may not be able to read the specification." |
|
456 |
||
457 |
" |
|
458 |
ImageEditor openOnClass:self andSelector:#pasteIcon |
|
459 |
" |
|
460 |
||
461 |
<resource: #image> |
|
462 |
||
463 |
^Icon |
|
464 |
constantNamed:#'ToolApplicationModel pasteIcon' |
|
1469 | 465 |
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] |
466 |
! |
|
988 | 467 |
|
468 |
rightIcon |
|
469 |
"This resource specification was automatically generated |
|
470 |
by the ImageEditor of ST/X." |
|
471 |
||
472 |
"Do not manually edit this!! If it is corrupted, |
|
473 |
the ImageEditor may not be able to read the specification." |
|
474 |
||
475 |
" |
|
1469 | 476 |
self rightIcon inspect |
988 | 477 |
ImageEditor openOnClass:self andSelector:#rightIcon |
478 |
" |
|
479 |
||
480 |
<resource: #image> |
|
481 |
||
482 |
^Icon |
|
1469 | 483 |
constantNamed:#'Icon class rightIcon' |
484 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
485 |
UUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUIUPUUUUUJUPUUUUUJ%P@@@@@J)PJ******PJ****** J******PJ*****)PEUUUUZ%PUUUUUJUP |
|
486 |
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] |
|
487 |
! |
|
988 | 488 |
|
489 |
saveIcon |
|
490 |
"This resource specification was automatically generated |
|
491 |
by the ImageEditor of ST/X." |
|
492 |
||
493 |
"Do not manually edit this!! If it is corrupted, |
|
494 |
the ImageEditor may not be able to read the specification." |
|
495 |
||
496 |
" |
|
497 |
ImageEditor openOnClass:self andSelector:#saveIcon |
|
498 |
" |
|
499 |
||
500 |
<resource: #image> |
|
501 |
||
502 |
^Icon |
|
503 |
constantNamed:#'ToolApplicationModel saveIcon' |
|
1469 | 504 |
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] |
505 |
! |
|
988 | 506 |
|
507 |
startIcon |
|
508 |
"This resource specification was automatically generated |
|
509 |
by the ImageEditor of ST/X." |
|
510 |
||
511 |
"Do not manually edit this!! If it is corrupted, |
|
512 |
the ImageEditor may not be able to read the specification." |
|
513 |
||
514 |
" |
|
515 |
ImageEditor openOnClass:self andSelector:#startIcon |
|
516 |
" |
|
517 |
||
518 |
<resource: #image> |
|
519 |
||
520 |
^Icon |
|
521 |
constantNamed:#'ToolApplicationModel startIcon' |
|
1469 | 522 |
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] |
523 |
! |
|
988 | 524 |
|
525 |
stxIcon |
|
1177 | 526 |
|icn| |
527 |
||
528 |
(icn := self constantNamed:'stxIcon') isNil ifTrue:[ |
|
529 |
OperatingSystem platformName == #win32 ifTrue:[ |
|
1291 | 530 |
icn := Smalltalk imageFromFileNamed:'stx_32x32.xpm' forClass:self. |
1177 | 531 |
]. |
532 |
icn isNil ifTrue:[ |
|
533 |
icn := self stxIconOld. |
|
534 |
]. |
|
535 |
icn notNil ifTrue:[ |
|
536 |
self constantNamed:'stxIcon' put:icn. |
|
537 |
] |
|
538 |
]. |
|
539 |
^ icn |
|
540 |
||
541 |
"Modified: / 25.5.1999 / 15:42:55 / cg" |
|
542 |
! |
|
543 |
||
544 |
stxIconOld |
|
988 | 545 |
"This resource specification was automatically generated |
546 |
by the ImageEditor of ST/X." |
|
547 |
||
548 |
"Do not manually edit this!! If it is corrupted, |
|
549 |
the ImageEditor may not be able to read the specification." |
|
550 |
||
551 |
" |
|
552 |
ImageEditor openOnClass:self andSelector:#stxIcon |
|
553 |
" |
|
554 |
||
555 |
<resource: #image> |
|
556 |
||
557 |
^Icon |
|
1177 | 558 |
constantNamed:#'ToolApplicationModel stxIconOld' |
559 |
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] |
|
560 |
||
561 |
"Created: / 25.5.1999 / 15:41:19 / cg" |
|
562 |
"Modified: / 25.5.1999 / 15:43:04 / cg" |
|
563 |
! |
|
988 | 564 |
|
565 |
upIcon |
|
566 |
"This resource specification was automatically generated |
|
567 |
by the ImageEditor of ST/X." |
|
568 |
||
569 |
"Do not manually edit this!! If it is corrupted, |
|
570 |
the ImageEditor may not be able to read the specification." |
|
571 |
||
572 |
" |
|
1469 | 573 |
self upIcon inspect |
988 | 574 |
ImageEditor openOnClass:self andSelector:#upIcon |
575 |
" |
|
576 |
||
577 |
<resource: #image> |
|
578 |
||
579 |
^Icon |
|
1469 | 580 |
constantNamed:#'Icon class upIcon' |
581 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
582 |
UUURUUUPUUUJ%UUPUUT*)UUPUUR**UUPUUJ**%UPUT***)UPUVU*%UUPUUT*%UUPUUT*%UUP_UT*%UUP_UT*%UUP_5T*%UUPWUT*%UUPWWT*%UUPWUT*%UUP |
|
583 |
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] |
|
584 |
! |
|
585 |
||
586 |
upRightIcon |
|
587 |
"This resource specification was automatically generated |
|
588 |
by the ImageEditor of ST/X." |
|
589 |
||
590 |
"Do not manually edit this!! If it is corrupted, |
|
591 |
the ImageEditor may not be able to read the specification." |
|
592 |
||
593 |
" |
|
594 |
self upRightIcon inspect |
|
595 |
ImageEditor openOnClass:self andSelector:#upRightIcon |
|
596 |
" |
|
597 |
||
598 |
<resource: #image> |
|
599 |
||
600 |
^Icon |
|
601 |
constantNamed:#'Icon class upRightIcon' |
|
602 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:' |
|
603 |
UUUUT%UPUUUUT)UPUUUUT*UPP@@@@*%PR*****)PR******PR*****)PR*****%PR*UUU*UPR*UUT)UPR*UUT%UPR*UUTUUPR*UUUUUPR*UUUUUPR*UUUUUP |
|
604 |
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] |
|
605 |
! ! |
|
988 | 606 |
|
780 | 607 |
!Icon class methodsFor:'startup / release'! |
608 |
||
1398 | 609 |
flushCachedIcons |
610 |
KnownIcons removeAll |
|
780 | 611 |
|
1398 | 612 |
" |
613 |
Icon flushCachedIcons |
|
614 |
" |
|
615 |
! |
|
616 |
||
617 |
preSnapshot |
|
618 |
self flushCachedIcons |
|
780 | 619 |
! ! |
620 |
||
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
621 |
!Icon class methodsFor:'documentation'! |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
622 |
|
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
623 |
version |
1477 | 624 |
^ '$Header: /cvs/stx/stx/libview2/Icon.st,v 1.30 2001-06-08 16:14:54 cg Exp $' |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
625 |
! ! |
77 | 626 |
Icon initialize! |