A new version of Morphic was added to project The Inbox:
http://source.squeak.org/inbox/Morphic-cbr.432.mcz ==================== Summary ==================== Name: Morphic-cbr.432 Author: cbr Time: 1 May 2010, 2:01:50.598 am UUID: ab7b8fc1-19c5-457d-bf5f-9b479647db46 Ancestors: Morphic-mha.431 Added a menu item to Projects in TheWorldMainDockingBar. I was going to add it to the Extras menu, but when I went to actually implement it, I learned that fullscreen is accomplished (at least, when done via the World menu,) by sending a message to the current project. Depends on Project>>toggleFullScreen, which was added in System-cbr.324. =============== Diff against Morphic-mha.431 =============== Item was added: + ----- Method: TheWorldMainDockingBar>>toggleFullScreenMenuItemOn: (in category 'submenu - projects') ----- + toggleFullScreenMenuItemOn: menu + + menu addItem: [ :item | + item + contents: 'Toggle Full Screen' translated; + help: 'Switch back and forth from full screen mode' translated; + icon: MenuIcons smallFullScreenIcon; + target: Project current; + selector: #toggleFullScreen ]! Item was changed: ----- Method: TheWorldMainDockingBar>>projectsMenuOn: (in category 'construction') ----- projectsMenuOn: aDockingBar aDockingBar addItem: [ :item | item contents: 'Projects' translated; addSubMenu: [ :menu | self newProjectMenuItemOn: menu; saveProjectMenuItemOn: menu; loadProjectMenuItemOn: menu; previousProjectMenuItemOn: menu; + jumpToProjectMenuItemOn: menu; + toggleFullScreenMenuItemOn: menu ] ] - jumpToProjectMenuItemOn: menu ] ] ! |
I could be persuaded to move this to the Extras menu, which is what I was going to do in the first place, until I realized that fullscreen behavior is delegated through through the current project.
On Sat, May 1, 2010 at 2:02 AM, <[hidden email]> wrote: A new version of Morphic was added to project The Inbox: -- Casey Ransberger |
Free forum by Nabble | Edit this page |