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