The Trunk: Morphic-mt.1197.mcz

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

The Trunk: Morphic-mt.1197.mcz

commits-2
Marcel Taeumel uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-mt.1197.mcz

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

Name: Morphic-mt.1197
Author: mt
Time: 21 July 2016, 11:48:28.509126 am
UUID: 48cf334c-0bf3-7846-b93a-b074b3ff764c
Ancestors: Morphic-mt.1196

Since grips and splitters are at the level of bordered morphs, support fast-reframing at the level of bordered morphs, too.

=============== Diff against Morphic-mt.1196 ===============

Item was added:
+ ----- Method: BorderedMorph>>doFastWindowReframe: (in category 'resize handling') -----
+ doFastWindowReframe: ptName
+
+ | newBounds |
+ "For fast display, only higlight the rectangle during loop"
+ newBounds := self bounds newRectButtonPressedDo: [:f |
+ f
+ withSideOrCorner: ptName
+ setToPoint: (self pointFromWorld: Sensor cursorPoint)
+ minExtent: self minimumExtent].
+ self bounds: newBounds.
+ ^newBounds.!

Item was added:
+ ----- Method: BorderedMorph>>fastFramingOn (in category 'resize handling') -----
+ fastFramingOn
+
+ ^ Preferences fastDragWindowForMorphic!

Item was removed:
- ----- Method: SystemWindow>>doFastWindowReframe: (in category 'resize/collapse') -----
- doFastWindowReframe: ptName
-
- | newBounds |
- "For fast display, only higlight the rectangle during loop"
- newBounds := self bounds newRectButtonPressedDo: [:f |
- f
- withSideOrCorner: ptName
- setToPoint: (self pointFromWorld: Sensor cursorPoint)
- minExtent: self minimumExtent].
- self bounds: newBounds.
- ^newBounds.!