equal
deleted
inserted
replaced
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 |