Icon.st
author martin
Tue, 07 Nov 2000 15:19:03 +0100
changeset 1417 810fdd94d742
parent 1398 409e6d69d32a
child 1469 65da72b25078
permissions -rw-r--r--
Reading the header of a MP3 file.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
77
claus
parents:
diff changeset
     1
"
claus
parents:
diff changeset
     2
 COPYRIGHT (c) 1995 by Claus Gittinger
claus
parents:
diff changeset
     3
	      All Rights Reserved
claus
parents:
diff changeset
     4
claus
parents:
diff changeset
     5
 This software is furnished under a license and may be used
claus
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
claus
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
claus
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
claus
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
claus
parents:
diff changeset
    10
 hereby transferred.
claus
parents:
diff changeset
    11
"
claus
parents:
diff changeset
    12
1398
409e6d69d32a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
    13
"{ Package: 'stx:libview2' }"
409e6d69d32a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
    14
77
claus
parents:
diff changeset
    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
claus
parents:
diff changeset
    20
!
claus
parents:
diff changeset
    21
claus
parents:
diff changeset
    22
!Icon class methodsFor:'documentation'!
claus
parents:
diff changeset
    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
claus
parents:
diff changeset
    36
!
claus
parents:
diff changeset
    37
claus
parents:
diff changeset
    38
documentation
claus
parents:
diff changeset
    39
"
193
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    40
    The Icon class keeps track of already loaded Images and caches
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    41
    them for later reuse.
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    42
    Icons are accessed by a symbolic name, so there is no need to
264
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    43
    remember their names (they must have been registered under that name
193
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    44
    before - of course).
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    45
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    46
    Icon was mostly added for ST-80 Compatibility:
264
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    47
193
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    48
    Images are returned via the #constantNamed: message which is used by 
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    49
    some ST-80 PD classes and returns corresponding ST/X icons.
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    50
    Notice, that ST/X does not provide Icon instances - Icon only consists
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    51
    of class mimicri protocol, to make your life easier.
111
23f66f18a3cb doc comment
Claus Gittinger <cg@exept.de>
parents: 105
diff changeset
    52
193
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    53
    If you like the original ST-80 icons, install the image files in the `bitmap'
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    54
    directory under a name foo.xbm, where `foo' corresponds to the icons
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    55
    name symbol 
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    56
    (i.e. for the `Icon constantNamed:#foo', a 'foo.xbm' file is required).
111
23f66f18a3cb doc comment
Claus Gittinger <cg@exept.de>
parents: 105
diff changeset
    57
193
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    58
    You can grab those icons from manchester or from the PrimeTime Freeware 
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    59
    (PTF) CD. A copy of those bitmaps (from the PTF-CD) is found in 
264
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    60
    'goodies/bitmaps/st80bitmaps'.
193
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    61
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    62
    CAVEAT:
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    63
        masks are not yet implemented
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    64
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    65
    [See also:]
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
    66
        Image Form ImageReader
219
106b86ca81da documentation
Claus Gittinger <cg@exept.de>
parents: 193
diff changeset
    67
106b86ca81da documentation
Claus Gittinger <cg@exept.de>
parents: 193
diff changeset
    68
    [author:]
106b86ca81da documentation
Claus Gittinger <cg@exept.de>
parents: 193
diff changeset
    69
        Claus Gittinger
77
claus
parents:
diff changeset
    70
"
claus
parents:
diff changeset
    71
! !
claus
parents:
diff changeset
    72
claus
parents:
diff changeset
    73
!Icon class methodsFor:'initialization'!
claus
parents:
diff changeset
    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
6c70d392634b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 264
diff changeset
    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
6c70d392634b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 264
diff changeset
    83
6c70d392634b checkin from browser
Claus Gittinger <cg@exept.de>
parents: 264
diff changeset
    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
claus
parents:
diff changeset
    96
replacementNames
264
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    97
    "return an ST-80 constant name to ST/X file name translation.
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    98
     This was added for ST-80 compatibility, to support code which uses
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
    99
     things like 'Icon constantNamed:#categoryBrowser'."
77
claus
parents:
diff changeset
   100
claus
parents:
diff changeset
   101
    ^ #( 
264
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   102
        #(file             FBrowser)
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   103
        #(debugger         Debugger)
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   104
        #(systembrowser    SBrowser)
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   105
        #(classbrowser     SBrowser)
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   106
        #(categoryBrowser  SBrowser)
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   107
        #(hierarchyBrowser SBrowser)
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   108
        #(methodBrowser    SBrowser)
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   109
        #(launcher         SmalltalkX)
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   110
        #(workspace        SmalltalkX)
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   111
        #(transcript       SmalltalkX)
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   112
        #(inspector        Inspector)
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   113
        #(default          SmalltalkX)
77
claus
parents:
diff changeset
   114
       )
264
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   115
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   116
    "
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   117
     Icon constantNamed:#categoryBrowser
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   118
     Icon constantNamed:#default
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   119
    "
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   120
6c886ecb050d comments
Claus Gittinger <cg@exept.de>
parents: 219
diff changeset
   121
    "Modified: 13.5.1996 / 10:29:43 / cg"
77
claus
parents:
diff changeset
   122
! !
claus
parents:
diff changeset
   123
193
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
   124
!Icon class methodsFor:'accessing'!
77
claus
parents:
diff changeset
   125
claus
parents:
diff changeset
   126
constantNamed:aName
193
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
   127
    "return the image registered under aName."
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
   128
77
claus
parents:
diff changeset
   129
    |icon nm|
claus
parents:
diff changeset
   130
claus
parents:
diff changeset
   131
    icon := KnownIcons at:aName ifAbsent:[].
claus
parents:
diff changeset
   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
e16145bbe16f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1278
diff changeset
   135
            icon := Smalltalk imageFromFileNamed:nm forClass:self.
179
14271a2e3625 check for imagefile without extension first
ca
parents: 173
diff changeset
   136
            icon isNil ifTrue:[
1291
e16145bbe16f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1278
diff changeset
   137
                icon := Smalltalk imageFromFileNamed:(nm , '.xbm') forClass:self.
179
14271a2e3625 check for imagefile without extension first
ca
parents: 173
diff changeset
   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
e16145bbe16f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1278
diff changeset
   141
            icon := Smalltalk imageFromFileNamed:aName forClass:self.
179
14271a2e3625 check for imagefile without extension first
ca
parents: 173
diff changeset
   142
            icon isNil ifTrue:[
1291
e16145bbe16f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1278
diff changeset
   143
                icon := Smalltalk imageFromFileNamed:(aName , '.xbm') forClass:self.
179
14271a2e3625 check for imagefile without extension first
ca
parents: 173
diff changeset
   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
7189b183ebd6 #on: -> #onDevice:
Claus Gittinger <cg@exept.de>
parents: 1190
diff changeset
   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
claus
parents:
diff changeset
   151
    ].
claus
parents:
diff changeset
   152
    ^ icon
claus
parents:
diff changeset
   153
claus
parents:
diff changeset
   154
    "
claus
parents:
diff changeset
   155
     Icon constantNamed:#file     
claus
parents:
diff changeset
   156
     Icon constantNamed:#debugger     
claus
parents:
diff changeset
   157
     Icon constantNamed:#systembrowser     
84
claus
parents: 77
diff changeset
   158
     Icon constantNamed:#SBrowser     
105
claus
parents: 84
diff changeset
   159
     Icon constantNamed:#SBrowser     
77
claus
parents:
diff changeset
   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
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   165
constantNamed:aName ifAbsentPut: aBlock
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   166
    "if an image for aName is registered, return it;
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   167
    otherwise, register the result from evaluating aBlock
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   168
    (which also could be a value holder) and return it."
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   169
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   170
    |image|
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   171
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   172
    (image := self constantNamed: aName) isNil
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   173
    ifTrue:
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   174
    [
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   175
        self constantNamed: aName put: (image := aBlock value)
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   176
    ].
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   177
    ^image
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   178
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   179
!
03e6a1108f80 image caching support for gui stuff added
tz
parents: 358
diff changeset
   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
91cf6653901e checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1187
diff changeset
   186
    ^ self
1187
a5978013d0ad added #constantNamed:ifAbsentPutImageFromFile:
Claus Gittinger <cg@exept.de>
parents: 1177
diff changeset
   187
        constantNamed:aName
1291
e16145bbe16f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1278
diff changeset
   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
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
   192
constantNamed:aName put:anImage
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
   193
    "register anImage under aName."
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
   194
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
   195
    KnownIcons at:aName put:anImage
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
   196
daaaf4594c9e commentary
Claus Gittinger <cg@exept.de>
parents: 179
diff changeset
   197
    "Modified: 23.4.1996 / 11:40:51 / cg"
77
claus
parents:
diff changeset
   198
! !
claus
parents:
diff changeset
   199
988
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   200
!Icon class methodsFor:'image specs'!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   201
1014
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   202
backwardIcon
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   203
    "This resource specification was automatically generated
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   204
     by the ImageEditor of ST/X."
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   205
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   206
    "Do not manually edit this!! If it is corrupted,
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   207
     the ImageEditor may not be able to read the specification."
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   208
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   209
    "
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   210
     self moveOutButtonIcon inspect
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   211
     ImageEditor openOnClass:self andSelector:#moveOutButtonIcon
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   212
    "
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   213
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   214
    <resource: #image>
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   215
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   216
    ^Icon
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   217
        constantNamed:#'VRMLWorldNavigationPanel moveOutButtonIcon'
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   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]
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   219
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   220
!
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   221
988
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   222
copyIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   223
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   224
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   225
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   226
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   227
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   228
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   229
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   230
     ImageEditor openOnClass:self andSelector:#copyIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   231
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   232
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   233
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   234
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   235
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   236
        constantNamed:#'ToolApplicationModel copyIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   238
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   239
cutIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   240
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   241
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   242
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   243
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   244
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   245
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   246
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   247
     ImageEditor openOnClass:self andSelector:#cutIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   248
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   249
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   250
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   251
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   252
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   253
        constantNamed:#'ToolApplicationModel cutIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   254
        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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   255
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   256
deleteIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   257
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   258
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   259
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   260
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   261
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   262
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   263
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   264
     ImageEditor openOnClass:self andSelector:#deleteIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   265
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   266
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   267
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   268
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   269
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   270
        constantNamed:#'ToolApplicationModel deleteIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   271
        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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   272
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   273
downIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   274
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   275
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   276
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   277
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   278
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   279
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   280
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   281
     ImageEditor openOnClass:self andSelector:#downIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   282
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   283
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   284
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   285
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   286
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   287
        constantNamed:#'ToolApplicationModel downIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   288
        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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   289
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   290
downRightIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   291
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   292
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   293
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   294
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   295
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   296
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   297
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   298
     ImageEditor openOnClass:self andSelector:#downRightIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   299
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   300
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   301
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   302
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   303
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   304
        constantNamed:#'ToolApplicationModel downRightIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   305
        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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   306
1014
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   307
forwardIcon
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   308
    "This resource specification was automatically generated
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   309
     by the ImageEditor of ST/X."
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   310
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   311
    "Do not manually edit this!! If it is corrupted,
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   312
     the ImageEditor may not be able to read the specification."
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   313
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   314
    "
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   315
     self moveInButtonIcon inspect
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   316
     ImageEditor openOnClass:self andSelector:#moveInButtonIcon
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   317
    "
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   318
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   319
    <resource: #image>
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   320
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   321
    ^Icon
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   322
        constantNamed:#'VRMLWorldNavigationPanel moveInButtonIcon'
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   323
        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]
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   324
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   325
!
179501b0bb14 forward + backward icons added
tz
parents: 989
diff changeset
   326
988
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   327
helpIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   328
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   329
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   330
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   331
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   332
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   333
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   334
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   335
     ImageEditor openOnClass:self andSelector:#helpIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   336
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   337
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   338
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   339
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   340
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   341
        constantNamed:#'ToolApplicationModel helpIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   342
        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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   343
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   344
leftDownIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   345
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   346
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   347
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   348
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   349
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   350
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   351
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   352
     ImageEditor openOnClass:self andSelector:#leftDownIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   353
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   354
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   355
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   356
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   357
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   358
        constantNamed:#'ToolApplicationModel leftDownIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   359
        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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   360
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   361
leftIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   362
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   363
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   364
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   365
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   366
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   367
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   368
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   369
     ImageEditor openOnClass:self andSelector:#leftIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   370
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   371
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   372
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   373
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   374
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   375
        constantNamed:#'ToolApplicationModel leftIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   376
        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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   377
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   378
loadIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   379
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   380
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   381
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   382
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   383
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   384
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   385
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   386
     ImageEditor openOnClass:self andSelector:#loadIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   387
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   388
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   389
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   390
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   391
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   392
        constantNamed:#'ToolApplicationModel loadIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   393
        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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   394
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   395
newIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   396
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   397
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   398
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   399
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   400
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   401
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   402
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   403
     ImageEditor openOnClass:self andSelector:#newIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   404
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   405
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   406
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   407
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   408
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   409
        constantNamed:#'ToolApplicationModel newIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   410
        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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   411
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   412
pasteIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   413
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   414
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   415
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   416
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   417
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   418
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   419
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   420
     ImageEditor openOnClass:self andSelector:#pasteIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   421
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   422
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   423
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   424
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   425
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   426
        constantNamed:#'ToolApplicationModel pasteIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   427
        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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   428
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   429
rightIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   430
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   431
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   432
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   433
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   434
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   435
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   436
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   437
     ImageEditor openOnClass:self andSelector:#rightIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   438
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   439
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   440
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   441
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   442
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   443
        constantNamed:#'ToolApplicationModel rightIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   444
        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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   445
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   446
saveIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   447
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   448
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   449
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   450
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   451
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   452
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   453
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   454
     ImageEditor openOnClass:self andSelector:#saveIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   455
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   456
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   457
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   458
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   459
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   460
        constantNamed:#'ToolApplicationModel saveIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   461
        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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   462
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   463
startIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   464
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   465
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   466
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   467
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   468
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   469
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   470
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   471
     ImageEditor openOnClass:self andSelector:#startIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   472
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   473
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   474
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   475
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   476
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   477
        constantNamed:#'ToolApplicationModel startIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   478
        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]!
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   479
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   480
stxIcon
1177
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   481
    |icn|
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   482
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   483
    (icn := self constantNamed:'stxIcon') isNil ifTrue:[
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   484
        OperatingSystem platformName == #win32 ifTrue:[
1291
e16145bbe16f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1278
diff changeset
   485
            icn := Smalltalk imageFromFileNamed:'stx_32x32.xpm' forClass:self.
1177
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   486
        ].
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   487
        icn isNil ifTrue:[
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   488
            icn := self stxIconOld.
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   489
        ].
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   490
        icn notNil ifTrue:[
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   491
            self constantNamed:'stxIcon' put:icn.
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   492
        ]
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   493
    ].
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   494
    ^ icn
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   495
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   496
    "Modified: / 25.5.1999 / 15:42:55 / cg"
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   497
!
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   498
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   499
stxIconOld
988
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   500
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   501
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   502
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   503
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   504
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   505
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   506
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   507
     ImageEditor openOnClass:self andSelector:#stxIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   508
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   509
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   510
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   511
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   512
    ^Icon
1177
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   513
        constantNamed:#'ToolApplicationModel stxIconOld'
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   514
        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]
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   515
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   516
    "Created: / 25.5.1999 / 15:41:19 / cg"
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   517
    "Modified: / 25.5.1999 / 15:43:04 / cg"
732fb35f7239 changed stxIcon
Claus Gittinger <cg@exept.de>
parents: 1014
diff changeset
   518
!
988
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   519
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   520
upIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   521
    "This resource specification was automatically generated
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   522
     by the ImageEditor of ST/X."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   523
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   524
    "Do not manually edit this!! If it is corrupted,
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   525
     the ImageEditor may not be able to read the specification."
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   526
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   527
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   528
     ImageEditor openOnClass:self andSelector:#upIcon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   529
    "
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   530
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   531
    <resource: #image>
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   532
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   533
    ^Icon
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   534
        constantNamed:#'ToolApplicationModel upIcon'
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   535
        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]! !
daebc00918d4 images placed here
tz
parents: 781
diff changeset
   536
780
ce6214bd3f68 release all icons while snap shoting
tz
parents: 777
diff changeset
   537
!Icon class methodsFor:'startup / release'!
ce6214bd3f68 release all icons while snap shoting
tz
parents: 777
diff changeset
   538
1398
409e6d69d32a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   539
flushCachedIcons
409e6d69d32a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   540
    KnownIcons removeAll
780
ce6214bd3f68 release all icons while snap shoting
tz
parents: 777
diff changeset
   541
1398
409e6d69d32a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   542
    "
409e6d69d32a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   543
     Icon flushCachedIcons
409e6d69d32a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   544
    "
409e6d69d32a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   545
!
409e6d69d32a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   546
409e6d69d32a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   547
preSnapshot
409e6d69d32a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   548
    self flushCachedIcons
780
ce6214bd3f68 release all icons while snap shoting
tz
parents: 777
diff changeset
   549
! !
ce6214bd3f68 release all icons while snap shoting
tz
parents: 777
diff changeset
   550
173
6bb37093ea47 nicer message / changed category
Claus Gittinger <cg@exept.de>
parents: 158
diff changeset
   551
!Icon class methodsFor:'documentation'!
6bb37093ea47 nicer message / changed category
Claus Gittinger <cg@exept.de>
parents: 158
diff changeset
   552
6bb37093ea47 nicer message / changed category
Claus Gittinger <cg@exept.de>
parents: 158
diff changeset
   553
version
1398
409e6d69d32a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1291
diff changeset
   554
    ^ '$Header: /cvs/stx/stx/libview2/Icon.st,v 1.27 2000-08-29 13:03:45 cg Exp $'
173
6bb37093ea47 nicer message / changed category
Claus Gittinger <cg@exept.de>
parents: 158
diff changeset
   555
! !
77
claus
parents:
diff changeset
   556
Icon initialize!