Color.st
changeset 3816 dbd03479da4e
parent 3757 d6b9e17dcc45
child 3833 4537841edc0f
equal deleted inserted replaced
3815:33d515f539b2 3816:dbd03479da4e
   503 initialize
   503 initialize
   504     "setup tracker of known colors and initialize classvars with
   504     "setup tracker of known colors and initialize classvars with
   505      heavily used colors"
   505      heavily used colors"
   506 
   506 
   507     ColorErrorSignal isNil ifTrue:[
   507     ColorErrorSignal isNil ifTrue:[
   508         ColorErrorSignal := ErrorSignal newSignalMayProceed:true.
   508         ColorErrorSignal := Error newSignalMayProceed:true.
   509         ColorErrorSignal nameClass:self message:#colorErrorSignal.
   509         ColorErrorSignal nameClass:self message:#colorErrorSignal.
   510         ColorErrorSignal notifierString:'color error'.
   510         ColorErrorSignal notifierString:'color error'.
   511 
   511 
   512         ColorAllocationFailSignal := ColorErrorSignal newSignalMayProceed:true.
   512         ColorAllocationFailSignal := ColorErrorSignal newSignalMayProceed:true.
   513         ColorAllocationFailSignal nameClass:self message:#colorAllocationFailSignal.
   513         ColorAllocationFailSignal nameClass:self message:#colorAllocationFailSignal.
  5176 ! !
  5176 ! !
  5177 
  5177 
  5178 !Color class methodsFor:'documentation'!
  5178 !Color class methodsFor:'documentation'!
  5179 
  5179 
  5180 version
  5180 version
  5181     ^ '$Header: /cvs/stx/stx/libview/Color.st,v 1.173 2002-10-29 17:00:55 stefan Exp $'
  5181     ^ '$Header: /cvs/stx/stx/libview/Color.st,v 1.174 2003-03-02 20:40:18 stefan Exp $'
  5182 ! !
  5182 ! !
  5183 
  5183 
  5184 Color initialize!
  5184 Color initialize!