On Tue, 19 Oct 2010, Max Leske wrote:
We can't... I wrote a script (Lukas rewrote it in C) which is active on his
build server and replaces the relevant bits in the image after the build
process.
Check it out at github:
http://github.com/renggli/builder/blob/master/tools/build-resize.c
We were using the following bash script for this:
$ cat resize-squeak.sh
#!/bin/bash
if [ $# -ne 3 ]
then
echo "Usage: `basename $0` <image> <width> <height>"
exit 1
fi
echo -ne \\x$(printf "%02X" $[$3%256])\\x$(printf "%02X" $[$3/256])\\x$(printf "%02X"
$[$2%256])\\x$(printf "%02X" $[$2/256]) | dd of="$1" obs=1 seek=24 conv=block,notrunc cbs=4
But we patched our VMs, so nowadays we do it from the image. :)
Levente
Cheers,
Max
On 19.10.2010, at 20:35, Stéphane Ducasse wrote:
I'm not sure that we can do that from the system and if this is not something
that can only set up by the OS.
Stef
Hello,
I try to understand how I can change the size of the Pharo window.
I tried this: Display setExtent: 1...@700 depth: 32; beDisplay.
That seems to work ... but only a few milliseconds. After this delay, the
window returns back to its previous size.
Any suggestions? :)
Adrien.
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project