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

Tobias Pape Das.Linux at gmx.de
Thu Apr 7 14:55:30 UTC 2016


On 07.04.2016, at 15:39, Bert Freudenberg <bert at freudenbergs.de> wrote:

> (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:
> 

Or just

HostWindowProxy new primitiveWindowSize: 1 x: 1024 y: 768.

> 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: signature.asc
Type: application/pgp-signature
Size: 1656 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20160407/e6b17643/signature.pgp


More information about the Squeak-dev mailing list