The Trunk: ToolBuilder-Morphic-mt.144.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-Morphic-mt.144.mcz

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

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

Name: ToolBuilder-Morphic-mt.144
Author: mt
Time: 3 May 2015, 3:15:54.123 pm
UUID: cf322845-a61b-874c-9dc5-872dd0377db1
Ancestors: ToolBuilder-Morphic-mt.143

Adds spacers to morphic toolbuilder.

=============== Diff against ToolBuilder-Morphic-mt.143 ===============

Item was added:
+ ----- Method: MorphicToolBuilder>>buildPluggableSpacer: (in category 'widgets required') -----
+ buildPluggableSpacer: spec
+
+ | widget |
+ widget := self spacerClass new.
+ self register: widget id: spec name.
+
+ widget borderWidth: 0.
+ widget color: spec color.
+ widget extent: spec extent.
+
+ self buildHelpFor: widget spec: spec.
+
+ self setFrame: spec frame in: widget.
+ self setLayoutHintsFor: widget spec: spec.
+
+ parent ifNotNil:[self add: widget to: parent].
+ ^widget!

Item was added:
+ ----- Method: MorphicToolBuilder>>spacerClass (in category 'widget classes') -----
+ spacerClass
+
+ ^ Morph!