ImageEditor.st
changeset 2790 2c90a15a0011
parent 2771 244f8e53399b
child 2791 7d01ac3a20e7
equal deleted inserted replaced
2789:4f5e12eb7525 2790:2c90a15a0011
  5283 
  5283 
  5284     aColor isNil ifTrue:[
  5284     aColor isNil ifTrue:[
  5285         idx := nil.
  5285         idx := nil.
  5286     ] ifFalse:[
  5286     ] ifFalse:[
  5287         aColor == Color noColor ifTrue:[
  5287         aColor == Color noColor ifTrue:[
  5288             img mask notNil ifTrue:[
  5288             ((img := self image) notNil and:[img mask notNil]) ifTrue:[
  5289                 idx := 1.
  5289                 idx := 1.
  5290             ]
  5290             ]
  5291         ] ifFalse:[
  5291         ] ifFalse:[
  5292             (img := self image) notNil ifTrue:[
  5292             (img := self image) notNil ifTrue:[
  5293                 (cMap := self listOfColors) notNil ifTrue:[
  5293                 (cMap := self listOfColors) notNil ifTrue:[
  5306                 ].
  5306                 ].
  5307             ].
  5307             ].
  5308         ].
  5308         ].
  5309     ].
  5309     ].
  5310     self selectionOfColor value:idx.
  5310     self selectionOfColor value:idx.
       
  5311 
       
  5312     "Modified: / 02-07-2010 / 11:46:25 / cg"
  5311 !
  5313 !
  5312 
  5314 
  5313 selectedColorIndexOrNil
  5315 selectedColorIndexOrNil
  5314     |img clrIndex|
  5316     |img clrIndex|
  5315 
  5317