Etoys: Morphic-bf.89.mcz

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

Etoys: Morphic-bf.89.mcz

commits-2
Bert Freudenberg uploaded a new version of Morphic to project Etoys:
http://source.squeak.org/etoys/Morphic-bf.89.mcz

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

Name: Morphic-bf.89
Author: bf
Time: 22 March 2012, 9:04:08 pm
UUID: 090a92bf-5a82-484f-92c9-044049a60a5b
Ancestors: Morphic-kfr.88

revert removing an inst var from PasteUpMorph

=============== Diff against Morphic-kfr.88 ===============

Item was changed:
  BorderedMorph subclass: #PasteUpMorph
+ instanceVariableNames: 'presenter model cursor padding backgroundMorph turtleTrailsForm turtlePen lastTurtlePositions isPartsBin autoLineLayout indicateCursor resizeToFit wantsMouseOverHalos worldState griddingOn'
- instanceVariableNames: 'presenter model cursor padding backgroundMorph turtleTrailsForm turtlePen lastTurtlePositions isPartsBin indicateCursor resizeToFit wantsMouseOverHalos worldState griddingOn'
  classVariableNames: 'DisableDeferredUpdates MinCycleLapse StillAlive WindowEventHandler'
  poolDictionaries: ''
  category: 'Morphic-Worlds'!
 
  !PasteUpMorph commentStamp: '<historical>' prior: 0!
  A morph whose submorphs comprise a paste-up of rectangular subparts which "show through".  Anything called a 'Playfield' is a PasteUpMorph.
 
  Facilities commonly needed on pages of graphical presentations and on simulation playfields, such as the painting of new objects, turtle trails, gradient fills, background paintings, parts-bin behavior, collision-detection, etc., are (or will be) provided.
 
  A World, the entire Smalltalk screen, is a PasteUpMorph.  A World responds true to isWorld.  Morph subclasses that have specialized menus (BookMorph) build them in the message addBookMenuItemsTo:hand:.  A PasteUpMorph that is a world, builds its menu in HandMorph buildWorldMenu.
 
  presenter A Presenter in charge of stopButton stepButton and goButton,
  mouseOverHalosEnabled soundsEnabled fenceEnabled coloredTilesEnabled.
  model <not used>
  cursor ??
  padding ??
  backgroundMorph A Form that covers the background.
  turtleTrailsForm Moving submorphs may leave trails on this form.
  turtlePen Draws the trails.
  lastTurtlePositions A Dictionary of (aPlayer -> aPoint) so turtle trails can be drawn
  only once each step cycle.  The point is the start of the current stroke.
  isPartsBin If true, every object dragged out is copied.
  autoLineLayout ??
  indicateCursor ??
  resizeToFit ??
  wantsMouseOverHalos If true, simply moving the cursor over a submorph brings up its halo.
  worldState If I am also a World, keeps the hands, damageRecorder, stepList etc.
  griddingOn If true, submorphs are on a grid
 
  !

Item was changed:
  ----- Method: PasteUpMorph>>convertAlignment (in category 'layout') -----
  convertAlignment
  self clipSubmorphs: true.
+ self layoutPolicy: nil.
+ self layoutInset: 0; cellInset: 0.
+ self vResizing: #rigid.
+ !
- (self autoLineLayout == true) ifTrue:[
- self layoutPolicy: TableLayout new.
- self layoutInset: 8; cellInset: 4.
- self listDirection: #leftToRight; wrapDirection: #topToBottom.
- self minHeight: self height.
- ] ifFalse:[
- self layoutPolicy: nil.
- self layoutInset: 0; cellInset: 0.
- ].
- (resizeToFit == true) ifTrue:[
- self vResizing: #shrinkWrap.
- ] ifFalse:[
- self vResizing: #rigid.
- ].!

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