Etoys: Etoys-kfr.146.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Etoys: Etoys-kfr.146.mcz

commits-2
Karl Ramberg uploaded a new version of Etoys to project Etoys:
http://source.squeak.org/etoys/Etoys-kfr.146.mcz

==================== Summary ====================

Name: Etoys-kfr.146
Author: kfr
Time: 5 December 2012, 12:10:41 am
UUID: 42e8ed29-c89e-2442-a200-e64f2a63a0ad
Ancestors: Etoys-kfr.145

More fixing for filters per Berts very sound suggestions

=============== Diff against Etoys-kfr.145 ===============

Item was changed:
  ----- Method: Player>>getFilterValue: (in category 'sketch filters') -----
  getFilterValue: aFilter
+ self costume renderedMorph isSketchMorph ifFalse:[^0].
+ self costume renderedMorph filters
- self costume filters
  do: [:i | (i includes: aFilter)
  ifTrue: [^i second]].
  ^0!

Item was added:
+ ----- Method: Player>>getFishEye (in category 'sketch filters') -----
+ getFishEye
+ ^ self getFilterValue: #fishEye:form:!

Item was changed:
  ----- Method: Player>>setBlur: (in category 'sketch filters') -----
  setBlur: aNumber
+ self costume renderedMorph isSketchMorph ifFalse:[^nil].
  self sendMessageToCostume: #filtersAdd: with: { #blur:form: . aNumber}!

Item was changed:
  ----- Method: Player>>setBrightnessShift: (in category 'sketch filters') -----
  setBrightnessShift: aNumber
+ self costume renderedMorph isSketchMorph ifFalse:[^nil].
  self sendMessageToCostume: #filtersAdd: with: { #brightnessShift:form: . aNumber}!

Item was changed:
  ----- Method: Player>>setFishEye: (in category 'sketch filters') -----
  setFishEye: aNumber
+ self costume renderedMorph isSketchMorph ifFalse:[^nil].
  self sendMessageToCostume: #filtersAdd: with: { #fishEye:form: . aNumber}!

Item was changed:
  ----- Method: Player>>setHueShift: (in category 'sketch filters') -----
  setHueShift: aNumber
+ self costume renderedMorph isSketchMorph ifFalse:[^nil].
  self sendMessageToCostume: #filtersAdd: with: {#hueShift:form:. aNumber}!

Item was changed:
  ----- Method: Player>>setSaturationShift: (in category 'sketch filters') -----
  setSaturationShift: aNumber
+ self costume renderedMorph isSketchMorph ifFalse:[^nil].
  self sendMessageToCostume: #filtersAdd: with: { #saturationShift:form: . aNumber}!

Item was changed:
  ----- Method: Player>>setWhirl: (in category 'sketch filters') -----
  setWhirl: aNumber
+ self costume renderedMorph isSketchMorph ifFalse:[^nil].
  self sendMessageToCostume: #filtersAdd: with: { #whirl:form: . aNumber}!

_______________________________________________
etoys-dev mailing list
[hidden email]
http://lists.squeakland.org/mailman/listinfo/etoys-dev