[squeak-dev] Re: How to change ActiveWorld extent resp. host window
size programmatically?
Marcel Taeumel
marcel.taeumel at student.hpi.uni-potsdam.de
Tue Feb 3 10:55:00 UTC 2015
Let me sum up the facts:
- There is no implementor of #hostWindowExtent: in the Trunk.
- DisplayScreen >> #depth:width:height:fullscreen: uses primitive 92, which
is not properly supported on all platforms but seems to work under Windows.
- There is a DisplayHostWindow and some HostWindowProxy subclasses in
'Graphics-External-Ffenestri', which seem to provide that feature I am
looking for.
I guess, Bert, you referred to that last point. Yes, this is in the Trunk.
:) Now, I have to find out more about this concept of host windows in
Squeak, which I did not know about.
The following code, as proposed by Tim, works fine for me:
HostWindowProxy new primitiveWindowSize: 1 x: 800 y: 600.
Although, I find this API kind of inconvenient, remembering that my starting
point was to change the #extent of ActiveWorld programmatically. ;)
Thank you!
Best,
Marcel
--
View this message in context: http://forum.world.st/How-to-change-ActiveWorld-extent-resp-host-window-size-programmatically-tp4803109p4803356.html
Sent from the Squeak - Dev mailing list archive at Nabble.com.
More information about the Squeak-dev
mailing list
|