author | Claus Gittinger <cg@exept.de> |
Sat, 19 Jun 1999 00:52:33 +0200 | |
changeset 1190 | 91cf6653901e |
parent 1187 | a5978013d0ad |
child 1218 | 7189b183ebd6 |
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 |
||
13 |
Object subclass:#Icon |
|
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
14 |
instanceVariableNames:'image mask' |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
15 |
classVariableNames:'KnownIcons' |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
16 |
poolDictionaries:'' |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
17 |
category:'Graphics-Images' |
77 | 18 |
! |
19 |
||
20 |
!Icon class methodsFor:'documentation'! |
|
21 |
||
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
22 |
copyright |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
23 |
" |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
24 |
COPYRIGHT (c) 1995 by Claus Gittinger |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
25 |
All Rights Reserved |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
26 |
|
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
27 |
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
|
28 |
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
|
29 |
inclusion of the above copyright notice. This software may not |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
30 |
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
|
31 |
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
|
32 |
hereby transferred. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
33 |
" |
77 | 34 |
! |
35 |
||
36 |
documentation |
|
37 |
" |
|
193 | 38 |
The Icon class keeps track of already loaded Images and caches |
39 |
them for later reuse. |
|
40 |
Icons are accessed by a symbolic name, so there is no need to |
|
264 | 41 |
remember their names (they must have been registered under that name |
193 | 42 |
before - of course). |
43 |
||
44 |
Icon was mostly added for ST-80 Compatibility: |
|
264 | 45 |
|
193 | 46 |
Images are returned via the #constantNamed: message which is used by |
47 |
some ST-80 PD classes and returns corresponding ST/X icons. |
|
48 |
Notice, that ST/X does not provide Icon instances - Icon only consists |
|
49 |
of class mimicri protocol, to make your life easier. |
|
111 | 50 |
|
193 | 51 |
If you like the original ST-80 icons, install the image files in the `bitmap' |
52 |
directory under a name foo.xbm, where `foo' corresponds to the icons |
|
53 |
name symbol |
|
54 |
(i.e. for the `Icon constantNamed:#foo', a 'foo.xbm' file is required). |
|
111 | 55 |
|
193 | 56 |
You can grab those icons from manchester or from the PrimeTime Freeware |
57 |
(PTF) CD. A copy of those bitmaps (from the PTF-CD) is found in |
|
264 | 58 |
'goodies/bitmaps/st80bitmaps'. |
193 | 59 |
|
60 |
CAVEAT: |
|
61 |
masks are not yet implemented |
|
62 |
||
63 |
[See also:] |
|
64 |
Image Form ImageReader |
|
219 | 65 |
|
66 |
[author:] |
|
67 |
Claus Gittinger |
|
77 | 68 |
" |
69 |
! ! |
|
70 |
||
71 |
!Icon class methodsFor:'initialization'! |
|
72 |
||
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
73 |
initialize |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
74 |
KnownIcons isNil ifTrue:[ |
269 | 75 |
KnownIcons := Dictionary new |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
76 |
] |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
77 |
|
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 |
Icon initialize |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
80 |
" |
269 | 81 |
|
82 |
"Modified: 20.5.1996 / 09:24:10 / cg" |
|
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
83 |
! |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
84 |
|
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
85 |
replacementNameFor:aName |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
86 |
"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
|
87 |
|
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
88 |
self replacementNames do:[:aPair | |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
89 |
(aPair at:1) == aName ifTrue:[^ aPair at:2]. |
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 |
^ nil |
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 |
|
77 | 94 |
replacementNames |
264 | 95 |
"return an ST-80 constant name to ST/X file name translation. |
96 |
This was added for ST-80 compatibility, to support code which uses |
|
97 |
things like 'Icon constantNamed:#categoryBrowser'." |
|
77 | 98 |
|
99 |
^ #( |
|
264 | 100 |
#(file FBrowser) |
101 |
#(debugger Debugger) |
|
102 |
#(systembrowser SBrowser) |
|
103 |
#(classbrowser SBrowser) |
|
104 |
#(categoryBrowser SBrowser) |
|
105 |
#(hierarchyBrowser SBrowser) |
|
106 |
#(methodBrowser SBrowser) |
|
107 |
#(launcher SmalltalkX) |
|
108 |
#(workspace SmalltalkX) |
|
109 |
#(transcript SmalltalkX) |
|
110 |
#(inspector Inspector) |
|
111 |
#(default SmalltalkX) |
|
77 | 112 |
) |
264 | 113 |
|
114 |
" |
|
115 |
Icon constantNamed:#categoryBrowser |
|
116 |
Icon constantNamed:#default |
|
117 |
" |
|
118 |
||
119 |
"Modified: 13.5.1996 / 10:29:43 / cg" |
|
77 | 120 |
! ! |
121 |
||
193 | 122 |
!Icon class methodsFor:'accessing'! |
77 | 123 |
|
124 |
constantNamed:aName |
|
193 | 125 |
"return the image registered under aName." |
126 |
||
77 | 127 |
|icon nm| |
128 |
||
129 |
icon := KnownIcons at:aName ifAbsent:[]. |
|
130 |
icon isNil ifTrue:[ |
|
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
131 |
nm := self replacementNameFor:aName. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
132 |
nm notNil ifTrue:[ |
179 | 133 |
icon := Image fromFile:('bitmaps/' , nm). |
134 |
icon isNil ifTrue:[ |
|
135 |
icon := Image fromFile:('bitmaps/' , nm , '.xbm'). |
|
136 |
] |
|
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
137 |
]. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
138 |
icon isNil ifTrue:[ |
179 | 139 |
icon := Image fromFile:('bitmaps/' , aName). |
140 |
icon isNil ifTrue:[ |
|
141 |
icon := Image fromFile:('bitmaps/' , aName , '.xbm'). |
|
142 |
]. |
|
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
143 |
icon isNil ifTrue:[ |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
144 |
^ nil |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
145 |
]. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
146 |
icon := icon on:Screen default. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
147 |
]. |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
148 |
KnownIcons at:aName put:icon. |
77 | 149 |
]. |
150 |
^ icon |
|
151 |
||
152 |
" |
|
153 |
Icon constantNamed:#file |
|
154 |
Icon constantNamed:#debugger |
|
155 |
Icon constantNamed:#systembrowser |
|
84 | 156 |
Icon constantNamed:#SBrowser |
105 | 157 |
Icon constantNamed:#SBrowser |
77 | 158 |
" |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
159 |
|
358
6b9671f01908
newStyle info & error messages
Claus Gittinger <cg@exept.de>
parents:
356
diff
changeset
|
160 |
"Modified: 10.1.1997 / 17:52:06 / cg" |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
161 |
! |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
162 |
|
777 | 163 |
constantNamed:aName ifAbsentPut: aBlock |
164 |
"if an image for aName is registered, return it; |
|
165 |
otherwise, register the result from evaluating aBlock |
|
166 |
(which also could be a value holder) and return it." |
|
167 |
||
168 |
|image| |
|
169 |
||
170 |
(image := self constantNamed: aName) isNil |
|
171 |
ifTrue: |
|
172 |
[ |
|
173 |
self constantNamed: aName put: (image := aBlock value) |
|
174 |
]. |
|
175 |
^image |
|
176 |
||
177 |
! |
|
178 |
||
1187
a5978013d0ad
added #constantNamed:ifAbsentPutImageFromFile:
Claus Gittinger <cg@exept.de>
parents:
1177
diff
changeset
|
179 |
constantNamed:aName ifAbsentPutImageFromFile:aFileName |
a5978013d0ad
added #constantNamed:ifAbsentPutImageFromFile:
Claus Gittinger <cg@exept.de>
parents:
1177
diff
changeset
|
180 |
"if an image for aName is registered, return it; |
a5978013d0ad
added #constantNamed:ifAbsentPutImageFromFile:
Claus Gittinger <cg@exept.de>
parents:
1177
diff
changeset
|
181 |
otherwise, load the image from aFileName (searched in bitmaps directories), |
a5978013d0ad
added #constantNamed:ifAbsentPutImageFromFile:
Claus Gittinger <cg@exept.de>
parents:
1177
diff
changeset
|
182 |
register the result and return it." |
a5978013d0ad
added #constantNamed:ifAbsentPutImageFromFile:
Claus Gittinger <cg@exept.de>
parents:
1177
diff
changeset
|
183 |
|
1190 | 184 |
^ self |
1187
a5978013d0ad
added #constantNamed:ifAbsentPutImageFromFile:
Claus Gittinger <cg@exept.de>
parents:
1177
diff
changeset
|
185 |
constantNamed:aName |
a5978013d0ad
added #constantNamed:ifAbsentPutImageFromFile:
Claus Gittinger <cg@exept.de>
parents:
1177
diff
changeset
|
186 |
ifAbsentPut:[Image fromFile:aFileName] |
a5978013d0ad
added #constantNamed:ifAbsentPutImageFromFile:
Claus Gittinger <cg@exept.de>
parents:
1177
diff
changeset
|
187 |
|
a5978013d0ad
added #constantNamed:ifAbsentPutImageFromFile:
Claus Gittinger <cg@exept.de>
parents:
1177
diff
changeset
|
188 |
! |
a5978013d0ad
added #constantNamed:ifAbsentPutImageFromFile:
Claus Gittinger <cg@exept.de>
parents:
1177
diff
changeset
|
189 |
|
193 | 190 |
constantNamed:aName put:anImage |
191 |
"register anImage under aName." |
|
192 |
||
193 |
KnownIcons at:aName put:anImage |
|
194 |
||
195 |
"Modified: 23.4.1996 / 11:40:51 / cg" |
|
77 | 196 |
! ! |
197 |
||
988 | 198 |
!Icon class methodsFor:'image specs'! |
199 |
||
1014 | 200 |
backwardIcon |
201 |
"This resource specification was automatically generated |
|
202 |
by the ImageEditor of ST/X." |
|
203 |
||
204 |
"Do not manually edit this!! If it is corrupted, |
|
205 |
the ImageEditor may not be able to read the specification." |
|
206 |
||
207 |
" |
|
208 |
self moveOutButtonIcon inspect |
|
209 |
ImageEditor openOnClass:self andSelector:#moveOutButtonIcon |
|
210 |
" |
|
211 |
||
212 |
<resource: #image> |
|
213 |
||
214 |
^Icon |
|
215 |
constantNamed:#'VRMLWorldNavigationPanel moveOutButtonIcon' |
|
216 |
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] |
|
217 |
||
218 |
! |
|
219 |
||
988 | 220 |
copyIcon |
221 |
"This resource specification was automatically generated |
|
222 |
by the ImageEditor of ST/X." |
|
223 |
||
224 |
"Do not manually edit this!! If it is corrupted, |
|
225 |
the ImageEditor may not be able to read the specification." |
|
226 |
||
227 |
" |
|
228 |
ImageEditor openOnClass:self andSelector:#copyIcon |
|
229 |
" |
|
230 |
||
231 |
<resource: #image> |
|
232 |
||
233 |
^Icon |
|
234 |
constantNamed:#'ToolApplicationModel copyIcon' |
|
235 |
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]! |
|
236 |
||
237 |
cutIcon |
|
238 |
"This resource specification was automatically generated |
|
239 |
by the ImageEditor of ST/X." |
|
240 |
||
241 |
"Do not manually edit this!! If it is corrupted, |
|
242 |
the ImageEditor may not be able to read the specification." |
|
243 |
||
244 |
" |
|
245 |
ImageEditor openOnClass:self andSelector:#cutIcon |
|
246 |
" |
|
247 |
||
248 |
<resource: #image> |
|
249 |
||
250 |
^Icon |
|
251 |
constantNamed:#'ToolApplicationModel cutIcon' |
|
252 |
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]! |
|
253 |
||
254 |
deleteIcon |
|
255 |
"This resource specification was automatically generated |
|
256 |
by the ImageEditor of ST/X." |
|
257 |
||
258 |
"Do not manually edit this!! If it is corrupted, |
|
259 |
the ImageEditor may not be able to read the specification." |
|
260 |
||
261 |
" |
|
262 |
ImageEditor openOnClass:self andSelector:#deleteIcon |
|
263 |
" |
|
264 |
||
265 |
<resource: #image> |
|
266 |
||
267 |
^Icon |
|
268 |
constantNamed:#'ToolApplicationModel deleteIcon' |
|
269 |
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]! |
|
270 |
||
271 |
downIcon |
|
272 |
"This resource specification was automatically generated |
|
273 |
by the ImageEditor of ST/X." |
|
274 |
||
275 |
"Do not manually edit this!! If it is corrupted, |
|
276 |
the ImageEditor may not be able to read the specification." |
|
277 |
||
278 |
" |
|
279 |
ImageEditor openOnClass:self andSelector:#downIcon |
|
280 |
" |
|
281 |
||
282 |
<resource: #image> |
|
283 |
||
284 |
^Icon |
|
285 |
constantNamed:#'ToolApplicationModel downIcon' |
|
286 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUT@AUUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUUT*%UUPUT@*$AUPUT***%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]! |
|
287 |
||
288 |
downRightIcon |
|
289 |
"This resource specification was automatically generated |
|
290 |
by the ImageEditor of ST/X." |
|
291 |
||
292 |
"Do not manually edit this!! If it is corrupted, |
|
293 |
the ImageEditor may not be able to read the specification." |
|
294 |
||
295 |
" |
|
296 |
ImageEditor openOnClass:self andSelector:#downRightIcon |
|
297 |
" |
|
298 |
||
299 |
<resource: #image> |
|
300 |
||
301 |
^Icon |
|
302 |
constantNamed:#'ToolApplicationModel downRightIcon' |
|
303 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUUPP@EUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUUUUPR*UUTEUPR*UUT!!UPR*UUT(UPR*P@@*EPR*****!!PR*****(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]! |
|
304 |
||
1014 | 305 |
forwardIcon |
306 |
"This resource specification was automatically generated |
|
307 |
by the ImageEditor of ST/X." |
|
308 |
||
309 |
"Do not manually edit this!! If it is corrupted, |
|
310 |
the ImageEditor may not be able to read the specification." |
|
311 |
||
312 |
" |
|
313 |
self moveInButtonIcon inspect |
|
314 |
ImageEditor openOnClass:self andSelector:#moveInButtonIcon |
|
315 |
" |
|
316 |
||
317 |
<resource: #image> |
|
318 |
||
319 |
^Icon |
|
320 |
constantNamed:#'VRMLWorldNavigationPanel moveInButtonIcon' |
|
321 |
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] |
|
322 |
||
323 |
! |
|
324 |
||
988 | 325 |
helpIcon |
326 |
"This resource specification was automatically generated |
|
327 |
by the ImageEditor of ST/X." |
|
328 |
||
329 |
"Do not manually edit this!! If it is corrupted, |
|
330 |
the ImageEditor may not be able to read the specification." |
|
331 |
||
332 |
" |
|
333 |
ImageEditor openOnClass:self andSelector:#helpIcon |
|
334 |
" |
|
335 |
||
336 |
<resource: #image> |
|
337 |
||
338 |
^Icon |
|
339 |
constantNamed:#'ToolApplicationModel helpIcon' |
|
340 |
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]! |
|
341 |
||
342 |
leftDownIcon |
|
343 |
"This resource specification was automatically generated |
|
344 |
by the ImageEditor of ST/X." |
|
345 |
||
346 |
"Do not manually edit this!! If it is corrupted, |
|
347 |
the ImageEditor may not be able to read the specification." |
|
348 |
||
349 |
" |
|
350 |
ImageEditor openOnClass:self andSelector:#leftDownIcon |
|
351 |
" |
|
352 |
||
353 |
<resource: #image> |
|
354 |
||
355 |
^Icon |
|
356 |
constantNamed:#'ToolApplicationModel leftDownIcon' |
|
357 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUUPU@@@@@@PUJ****)PUJ****)PUJ****)PUJ****)PUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUPUJ)UUUUP@J*@UUUPJ**)UUUPR**%UUUPT**UUUUPUJ)UUUUPUR%UUUUPUTUUUUUPUUUUUUUP') ; 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]! |
|
358 |
||
359 |
leftIcon |
|
360 |
"This resource specification was automatically generated |
|
361 |
by the ImageEditor of ST/X." |
|
362 |
||
363 |
"Do not manually edit this!! If it is corrupted, |
|
364 |
the ImageEditor may not be able to read the specification." |
|
365 |
||
366 |
" |
|
367 |
ImageEditor openOnClass:self andSelector:#leftIcon |
|
368 |
" |
|
369 |
||
370 |
<resource: #image> |
|
371 |
||
372 |
^Icon |
|
373 |
constantNamed:#'ToolApplicationModel leftIcon' |
|
374 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUTUUUUUPURUUUUUPUJUUUUUPT*P@@@@PR******PJ******PZ******PV******PU*UUUUUPUZUUUUUPUVUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUP') ; 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]! |
|
375 |
||
376 |
loadIcon |
|
377 |
"This resource specification was automatically generated |
|
378 |
by the ImageEditor of ST/X." |
|
379 |
||
380 |
"Do not manually edit this!! If it is corrupted, |
|
381 |
the ImageEditor may not be able to read the specification." |
|
382 |
||
383 |
" |
|
384 |
ImageEditor openOnClass:self andSelector:#loadIcon |
|
385 |
" |
|
386 |
||
387 |
<resource: #image> |
|
388 |
||
389 |
^Icon |
|
390 |
constantNamed:#'ToolApplicationModel loadIcon' |
|
391 |
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]! |
|
392 |
||
393 |
newIcon |
|
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 |
" |
|
401 |
ImageEditor openOnClass:self andSelector:#newIcon |
|
402 |
" |
|
403 |
||
404 |
<resource: #image> |
|
405 |
||
406 |
^Icon |
|
407 |
constantNamed:#'ToolApplicationModel newIcon' |
|
408 |
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]! |
|
409 |
||
410 |
pasteIcon |
|
411 |
"This resource specification was automatically generated |
|
412 |
by the ImageEditor of ST/X." |
|
413 |
||
414 |
"Do not manually edit this!! If it is corrupted, |
|
415 |
the ImageEditor may not be able to read the specification." |
|
416 |
||
417 |
" |
|
418 |
ImageEditor openOnClass:self andSelector:#pasteIcon |
|
419 |
" |
|
420 |
||
421 |
<resource: #image> |
|
422 |
||
423 |
^Icon |
|
424 |
constantNamed:#'ToolApplicationModel pasteIcon' |
|
425 |
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]! |
|
426 |
||
427 |
rightIcon |
|
428 |
"This resource specification was automatically generated |
|
429 |
by the ImageEditor of ST/X." |
|
430 |
||
431 |
"Do not manually edit this!! If it is corrupted, |
|
432 |
the ImageEditor may not be able to read the specification." |
|
433 |
||
434 |
" |
|
435 |
ImageEditor openOnClass:self andSelector:#rightIcon |
|
436 |
" |
|
437 |
||
438 |
<resource: #image> |
|
439 |
||
440 |
^Icon |
|
441 |
constantNamed:#'ToolApplicationModel rightIcon' |
|
442 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUEUPUUUUUIUPUUUUUJUP@@@@@J%PJ*****)PJ******PJ******PJ*****)PEUUUUZ%PUUUUUJUPUUUUUIUPUUUUUEUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUPUUUUUUUP') ; 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]! |
|
443 |
||
444 |
saveIcon |
|
445 |
"This resource specification was automatically generated |
|
446 |
by the ImageEditor of ST/X." |
|
447 |
||
448 |
"Do not manually edit this!! If it is corrupted, |
|
449 |
the ImageEditor may not be able to read the specification." |
|
450 |
||
451 |
" |
|
452 |
ImageEditor openOnClass:self andSelector:#saveIcon |
|
453 |
" |
|
454 |
||
455 |
<resource: #image> |
|
456 |
||
457 |
^Icon |
|
458 |
constantNamed:#'ToolApplicationModel saveIcon' |
|
459 |
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]! |
|
460 |
||
461 |
startIcon |
|
462 |
"This resource specification was automatically generated |
|
463 |
by the ImageEditor of ST/X." |
|
464 |
||
465 |
"Do not manually edit this!! If it is corrupted, |
|
466 |
the ImageEditor may not be able to read the specification." |
|
467 |
||
468 |
" |
|
469 |
ImageEditor openOnClass:self andSelector:#startIcon |
|
470 |
" |
|
471 |
||
472 |
<resource: #image> |
|
473 |
||
474 |
^Icon |
|
475 |
constantNamed:#'ToolApplicationModel startIcon' |
|
476 |
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]! |
|
477 |
||
478 |
stxIcon |
|
1177 | 479 |
|icn| |
480 |
||
481 |
(icn := self constantNamed:'stxIcon') isNil ifTrue:[ |
|
482 |
OperatingSystem platformName == #win32 ifTrue:[ |
|
483 |
icn := Image fromFile:'bitmaps/stx_32x32.xpm'. |
|
484 |
]. |
|
485 |
icn isNil ifTrue:[ |
|
486 |
icn := self stxIconOld. |
|
487 |
]. |
|
488 |
icn notNil ifTrue:[ |
|
489 |
self constantNamed:'stxIcon' put:icn. |
|
490 |
] |
|
491 |
]. |
|
492 |
^ icn |
|
493 |
||
494 |
"Modified: / 25.5.1999 / 15:42:55 / cg" |
|
495 |
! |
|
496 |
||
497 |
stxIconOld |
|
988 | 498 |
"This resource specification was automatically generated |
499 |
by the ImageEditor of ST/X." |
|
500 |
||
501 |
"Do not manually edit this!! If it is corrupted, |
|
502 |
the ImageEditor may not be able to read the specification." |
|
503 |
||
504 |
" |
|
505 |
ImageEditor openOnClass:self andSelector:#stxIcon |
|
506 |
" |
|
507 |
||
508 |
<resource: #image> |
|
509 |
||
510 |
^Icon |
|
1177 | 511 |
constantNamed:#'ToolApplicationModel stxIconOld' |
512 |
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] |
|
513 |
||
514 |
"Created: / 25.5.1999 / 15:41:19 / cg" |
|
515 |
"Modified: / 25.5.1999 / 15:43:04 / cg" |
|
516 |
! |
|
988 | 517 |
|
518 |
upIcon |
|
519 |
"This resource specification was automatically generated |
|
520 |
by the ImageEditor of ST/X." |
|
521 |
||
522 |
"Do not manually edit this!! If it is corrupted, |
|
523 |
the ImageEditor may not be able to read the specification." |
|
524 |
||
525 |
" |
|
526 |
ImageEditor openOnClass:self andSelector:#upIcon |
|
527 |
" |
|
528 |
||
529 |
<resource: #image> |
|
530 |
||
531 |
^Icon |
|
532 |
constantNamed:#'ToolApplicationModel upIcon' |
|
533 |
ifAbsentPut:[(Depth2Image new) width: 22; height: 22; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UUUQUUUPUUUJUUUPUUT*%UUPUUR*)UUPUUJ**UUPUT***%UPUTV*%UUPUUT*%UUPUUT*%UUP_UT*%UUP_UT*%UUP_5T*%UUPWUT*%UUPWWT*%UUPWUT*%UUPUUT*%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]! ! |
|
534 |
||
780 | 535 |
!Icon class methodsFor:'startup / release'! |
536 |
||
537 |
preSnapshot |
|
538 |
||
539 |
KnownIcons removeAll |
|
540 |
! ! |
|
541 |
||
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
542 |
!Icon class methodsFor:'documentation'! |
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
543 |
|
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
544 |
version |
1190 | 545 |
^ '$Header: /cvs/stx/stx/libview2/Icon.st,v 1.23 1999-06-18 22:52:33 cg Exp $' |
173
6bb37093ea47
nicer message / changed category
Claus Gittinger <cg@exept.de>
parents:
158
diff
changeset
|
546 |
! ! |
77 | 547 |
Icon initialize! |