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

Tobias Pape Das.Linux at gmx.de
Mon Feb 2 07:33:56 UTC 2015


Hi,

On 02.02.2015, at 07:54, Marcel Taeumel <marcel.taeumel at student.hpi.uni-potsdam.de> wrote:

> Hi!
> 
> Is there a way to change a world's extent from within Smalltalk? This does
> not work:
> 
> ActiveWorld extent: 500 at 500.
> 
> Is there a primitive to modify the host window size? If no, could we add
> one? :)
> 
> Scenario: If I make screencasts, I want to use common resolutions and make
> my capturing tool record a window's contents. It is quite tricky to achieve
> pixel-wise accuracy (offset + size).
> 

To my knowledge, we do not have a way to change the host window in-image.
On Lukas Renggli's version of Builder-CI, however, I found a C-tool that
patches the image to have the desired dimensions.
 Hacky, I know, but it works.

Best
	-Tobias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: build-resize.c
Type: application/octet-stream
Size: 932 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20150202/8418bd33/build-resize.obj


More information about the Squeak-dev mailing list