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