The Trunk: ToolBuilder-MVC-mt.46.mcz

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

The Trunk: ToolBuilder-MVC-mt.46.mcz

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

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

Name: ToolBuilder-MVC-mt.46
Author: mt
Time: 9 May 2016, 1:47:41.745729 pm
UUID: 2a10f65b-2be6-df4a-a334-843a48e32628
Ancestors: ToolBuilder-MVC-mt.45

Update according to the projects refactoring in System-mt.827

=============== Diff against ToolBuilder-MVC-mt.45 ===============

Item was removed:
- ----- Method: MVCUIManager>>newDisplayDepthNoRestore: (in category 'display') -----
- newDisplayDepthNoRestore: pixelSize
- "Change depths.  Check if there is enough space!!  , di"
- | area need |
- pixelSize = Display depth ifTrue: [^ self  "no change"].
- pixelSize abs < Display depth ifFalse:
- ["Make sure there is enough space"
- area := Display boundingBox area. "pixels"
- ScheduledControllers scheduledWindowControllers do:
- [:aController | area := area + aController view windowBox area].
- need := (area * (pixelSize abs - Display depth) // 8)  "new bytes needed"
- + Smalltalk lowSpaceThreshold.
- (Smalltalk garbageCollectMost <= need
- and: [Smalltalk garbageCollect <= need])
- ifTrue: [self error: 'Insufficient free space']].
- Display setExtent: Display extent depth: pixelSize.
- ScheduledControllers updateGray.
- DisplayScreen startUp!

Item was removed:
- ----- Method: MVCUIManager>>restoreDisplay (in category 'display') -----
- restoreDisplay
- "Restore the bits on Display"
- Project current ifNotNil:[:p| p invalidate; restore].!

Item was removed:
- ----- Method: MVCUIManager>>restoreDisplayAfter: (in category 'display') -----
- restoreDisplayAfter: aBlock
- "Evaluate the block, wait for a mouse click, and then restore the screen."
-
- aBlock value.
- Sensor waitButton.
- self restoreDisplay!