[squeak-dev] Re: How to change ActiveWorld extent resp. host window size programmatically?

Marcel Taeumel marcel.taeumel at student.hpi.uni-potsdam.de
Mon Feb 2 09:18:42 UTC 2015


hostwindow.cs <http://forum.world.st/file/n4803123/hostwindow.cs>  

How about this? I chose to implement it in Project. Now this would work:

Project current fullScreenOff; hostWindowExtent: 800 at 600.
self assert: Display extent = (800 at 600).

Project current fullScreenOn.
self assert: Project current hostWindowExtent = (800 at 600).

A class var keeps track of the last extent in case of full-screen. Just like
LastScreenModeSelected does.

Best,
Marcel



--
View this message in context: http://forum.world.st/How-to-change-ActiveWorld-extent-resp-host-window-size-programmatically-tp4803109p4803123.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.


More information about the Squeak-dev mailing list