The Trunk: Morphic-pre.1448.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-pre.1448.mcz

commits-2
Patrick Rein uploaded a new version of Morphic to project The Trunk:
http://source.squeak.org/trunk/Morphic-pre.1448.mcz

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

Name: Morphic-pre.1448
Author: pre
Time: 8 June 2018, 4:41:41.427586 pm
UUID: c9f1f8aa-aba3-9e4a-9f6b-afae872a2a4c
Ancestors: Morphic-kfr.1447

Adds an entry to the morph export menu to allow for easy export of postscript files. As the postscript rendering is part of MorphicExtras, I added a guard.

=============== Diff against Morphic-kfr.1447 ===============

Item was changed:
  ----- Method: Morph>>addExportMenuItems:hand: (in category 'menus') -----
  addExportMenuItems: aMenu hand: aHandMorph
  "Add export items to the menu"
 
  aMenu ifNotNil:
  [ | aSubMenu |
  aSubMenu := MenuMorph new defaultTarget: self.
  aSubMenu add: 'BMP file' translated action: #exportAsBMP.
  aSubMenu add: 'GIF file' translated action: #exportAsGIF.
  aSubMenu add: 'JPEG file' translated action: #exportAsJPEG.
  aSubMenu add: 'PNG file' translated action: #exportAsPNG.
+ (self respondsTo: #exportAsEPS) ifTrue: [
+ aSubMenu add: 'EPS file' translated action: #exportAsEPS].
  aMenu add: 'export...' translated subMenu: aSubMenu]
  !