[squeak-dev] Host window resizing (was: [Vm-dev] Re: Too many full GCs in Cog/Spur ... while just drawing GUI ...)

Bert Freudenberg bert at freudenbergs.de
Thu Apr 7 13:39:30 UTC 2016


(moving from vm-dev)

On 07.04.2016, at 13:45, marcel.taeumel <Marcel.Taeumel at hpi.de> wrote:
> 
> DisplayScreen depth: 32 width: 1024 height: 768 fullscreen: false.

This does nothing except on Windows I believe.

I was pretty certain that at some point we added these methods from Etoys:

	DisplayScreen class>>hostWindowSize:
	DisplayScreen class>>hostWindowTitle:

(which are used to set the proper out-of-the box image size, and to display a document title)

... but I can’t find them in Trunk. Am I misremembering?

Anyway, the primitive works:

nil with: 1 with: 1024 with: 768 executeMethod: HostWindowProxy>>#primitiveWindowSize:x:y:

How about we remove DisplayScreen's depth:width:height:fullscreen: and add these instead? Alternatively, we could implement it using the hostwindow and fullscreen primitives, but since there are no senders anyway (ad it never worked on all platforms)  I’d say we can deprecate it.

- Bert -



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4207 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160407/7fad1d9f/smime.bin


More information about the Squeak-dev mailing list