ColorPalette.st
author matilk
Wed, 13 Sep 2017 09:40:34 +0200
changeset 8174 2704c965b97b
parent 7953 3053a0452a3c
permissions -rw-r--r--
#BUGFIX by Maren class: DeviceGraphicsContext changed: #displayDeviceOpaqueForm:x:y: nil check
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3847
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
7953
3053a0452a3c #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6875
diff changeset
     2
 COPYRIGHT (c) 1997 by Claus Gittinger / eXept Software AG 
3053a0452a3c #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6875
diff changeset
     3
              All Rights Reserved
3847
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
7953
3053a0452a3c #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6875
diff changeset
    12
"{ Package: 'stx:libview' }"
3847
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
7953
3053a0452a3c #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6875
diff changeset
    14
"{ NameSpace: Smalltalk }"
3847
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
Colormap subclass:#ColorPalette
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:''
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
3848
84597432b833 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 3847
diff changeset
    20
	category:'Graphics-Images-Support'
3847
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
!ColorPalette class methodsFor:'documentation'!
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
copyright
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
"
7953
3053a0452a3c #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6875
diff changeset
    27
 COPYRIGHT (c) 1997 by Claus Gittinger / eXept Software AG 
3053a0452a3c #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6875
diff changeset
    28
              All Rights Reserved
3847
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
 This software is furnished under a license and may be used
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 only in accordance with the terms of that license and with the
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 be provided or otherwise made available to, or used by, any
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 other person.  No title to or ownership of the software is
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
 hereby transferred.
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
"
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
!
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
documentation
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
"
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
    ST-80 compatibility class.
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
    This may be required when existing code has to be ported to ST/X;
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
    however, it may not be complete and more protocol may be added in the future.
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
    The code here was created when public domain code (Manchester) had to
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
    be ported to ST/X and missing classes/methods were encountered, and code added
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
    by reasoning 'what the original class could probably do there'.
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    This is currently not used by ST/X itself.
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
    This is an additional goody class; therefore:
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
    THIS SOFTWARE IS PROVIDED BY THE CONTRIBUTOR ``AS IS'' AND
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
    ARE DISCLAIMED.  IN NO EVENT SHALL THE CONTRIBUTOR BE LIABLE
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
    OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
    SUCH DAMAGE.
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
"
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
! !
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
!ColorPalette class methodsFor:'documentation'!
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
version
7953
3053a0452a3c #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6875
diff changeset
    69
    ^ '$Header$'
3847
288ab85676aa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
! !
7953
3053a0452a3c #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 6875
diff changeset
    71