Etoys Inbox: Sugar-kfr.16.mcz

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

Etoys Inbox: Sugar-kfr.16.mcz

commits-2
A new version of Sugar was added to project Etoys Inbox:
http://source.squeak.org/etoysinbox/Sugar-kfr.16.mcz

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

Name: Sugar-kfr.16
Author: kfr
Time: 19 February 2012, 2:20:34 pm
UUID: 9c795239-3652-994f-9acc-7f003faad79d
Ancestors: Sugar-kfr.14

icon

=============== Diff against Sugar-kfr.14 ===============

Item was changed:
  ----- Method: SugarLibrary class>>newDefault (in category 'singleton management') -----
  newDefault
  "Answer a new instance of SugarLibrary."
 
  | i |
  i := SugarLibrary new.
  i iconAt: 'new' put: self newIcon.
  i iconAt: 'prev' put: self prevIcon.
  i iconAt: 'next' put: self nextIcon.
  i iconAt: 'save' put: self saveIcon.
  i iconAt: 'open' put: self openIcon.
  i iconAt: 'keep' put: self keepIcon.
  i iconAt: 'choose' put: self chooseIcon.
  i iconAt: 'paint' put: self paintIcon.
  i iconAt: 'language' put: self languageIcon.
  i iconAt: 'undo' put: self undoIcon.
  i iconAt: 'close' put: self closeIcon.
  i iconAt: 'share' put: self shareIcon.
  i iconAt: 'miniShare' put: self miniShareIcon.
  i iconAt: 'supplies' put: self suppliesIcon.
  i iconAt: 'stop' put: self stopIcon.
+ i iconAt: 'sound' put: self soundIcon.
  i iconAt: 'zoom' put: self zoomIcon.
  i iconAt: 'help' put: self helpIcon.
  i iconAt: 'miniPrivate' put: self miniPrivateIcon.
  i iconAt: 'private' put: self privateIcon.
  i iconAt: 'hideNavBar' put: self hideNavBarIcon.
  i iconAt: 'showNavBar' put: self showNavBarIcon.
 
  i iconAt: 'newProject' put: (i iconAt: 'new').
  i iconAt: 'previousProject' put: (i iconAt: 'prev').
  i iconAt: 'nextProject' put: (i iconAt: 'next').
  i iconAt: 'publishProject' put: (i iconAt: 'save').
  i iconAt: 'findAProjectSimple' put: (i iconAt: 'open').
  i iconAt: 'keepProject' put: (i iconAt: 'keep').
  i iconAt: 'chooseObject' put: (i iconAt: 'choose').
  i iconAt: 'doNewPainting' put: (i iconAt: 'paint').
  i iconAt: 'chooseLanguage' put: (i iconAt: 'language').
  i iconAt: 'undoOrRedoLastCommand' put: (i iconAt: 'undo').
  i iconAt: 'toggleSupplies' put: (i iconAt: 'supplies').
  i iconAt: 'quitSqueak' put: (i iconAt: 'close').
  i iconAt: 'shareThisWorld' put: (i iconAt: 'share').
  i iconAt: 'shareMenu' put: (i iconAt: 'private').
  i iconAt: 'chooseScreenSetting' put: (i iconAt: 'zoom').
  i iconAt: 'stopSqueak' put: (i iconAt: 'stop').
+ i iconAt: 'soundVolume' put: (i iconAt: 'sound').
  i iconAt: 'toggleHelp' put: (i iconAt: 'help').
 
  i iconAt: 'missingIcon' put: (i iconAt: 'private').
 
  ^  i
  !

Item was added:
+ ----- Method: SugarLibrary class>>soundIcon (in category 'icons') -----
+ soundIcon
+
+ ^ Form extent: 50@50 depth: 32 bits: (Base64MimeConverter mimeDecodeToBytes:  '6cQH4QAAAMLwAAAAC+EAAADwAAAATv8AAAAb/wkJCf9dXV3/jo6O/4+Pj/94eHj/Hh4eXv8A
+ AAAK8AAAAEr/AAAAC/8nJyf/n5+fEv+vr68L/62trf9WVlZa/wAAAArwAAAARv8AAAAL/xcX
+ F/+hoaEK/6+vrwv/sLCw/7GxsQ7/r6+vB/9DQ0NW/wAAAArwAAAARv8AAAAH/42NjQr/r6+v
+ E//CwsL/9fX1//39/f/V1dUK/6+vrwv/rKys/yAgIFL/AAAACvAAAABC/wAAAAf/Ly8vCv+v
+ r68L/7u7u//6+voN/wf/09PTCv+vr68H/3x8fFL/AAAACvAAAABC/wAAAAf/gYGBCv+vr68H
+ /+Xl5RH/C//9/f3/ubm5Cv+vr68H/yoqKk7/AAAACvAAAAA+/wAAAAf/LS0tCv+vr68L/7m5
+ uf/+/v4V/wf/4uLiCv+vr68H/2xsbE7/AAAACvAAAAA6/wAAAAv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AK8AAAAEr/AAAAC/8vLy//paWlEv+vr68L/66urv9cXFxa/wAA
+ AArwAAAATv8AAAAb/w4ODv9oaGj/mJiY/5qamv+BgYH/JCQkXv8AAAAK8AAAAML/AAAAC/AA
+ AADoAAAAwvgAAAAH6AAAAA==' readStream) contents!

Item was changed:
  ----- Method: SugarNavigatorBar>>buttonSound (in category 'buttons creation') -----
  buttonSound
  "Answer an new instance of a 'Sound' button."
 
+ ^ shareButton := self makeButton: 'sound'
- ^ shareButton := self makeButton: 'Sound'
  balloonText: 'Adjust the sound volume' translated
+ for: #soundVolume!
- for: #soundControl!

Item was removed:
- ----- Method: SugarNavigatorBar>>soundControl (in category 'buttons creation') -----
- soundControl
- |  bar slider |
- bar := SimpleSliderMorph new.
- bar position: ActiveHand position.
- bar borderColor: Color black; borderWidth: 2.
- bar width:25.
- bar adjustToValue: SoundPlayer soundVolume first."array with stereo values. pick first"
- bar descending: true.
- bar beSticky.
- slider := bar submorphs first.
- slider  borderWidth: 0; color: Color black .
-
- slider  on: #mouseUp send: #value to: [
- self setSoundVolume: bar value.
- bar delete].
- slider  on: #mouseMove send: #value to: [
- bar scrollAbsolute: ActiveHand lastEvent.
- self setSoundVolume: bar value. self beep].
- ^bar openInWorld!

Item was added:
+ ----- Method: SugarNavigatorBar>>soundVolume (in category 'buttons creation') -----
+ soundVolume
+ |  bar slider |
+ bar := SimpleSliderMorph new.
+ bar position: ActiveHand position.
+ bar borderColor: Color black; borderWidth: 2.
+ bar width:25.
+ bar adjustToValue: SoundPlayer soundVolume first."array with stereo values. pick first"
+ bar descending: true.
+ bar beSticky.
+ slider := bar submorphs first.
+ slider  borderWidth: 0; color: Color black .
+
+ slider  on: #mouseUp send: #value to: [
+ self setSoundVolume: bar value.
+ bar delete].
+ slider  on: #mouseMove send: #value to: [
+ bar scrollAbsolute: ActiveHand lastEvent.
+ self setSoundVolume: bar value. self beep].
+ ^bar openInWorld!

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