Car and Steering wheel demo and Squeak-DEMOS
Tim Rowledge
rowledge at interval.com
Fri Aug 27 16:14:28 UTC 1999
> Is there any way to make squeak recognize a change in the window size,
> without restarting? It's a bit discouraging that Squeak doesn't
> automatically register the window change and adjust the display bounds
> accordingly. (I'm on a Mac, if that matters.)
Yes,
use 'restore display' from the screen menu,
or 'ScheduledControllers restore' and do it,
_or_ use the OS event-feeding stuff I published ages ago that used catching
the window size-change as a demo event. It makes the system do the
'ScheduledControllers restore'as a response to the event.
http://sumeru.stanford.EDU/tim/pooters/SqFiles/deltas/ and look for sq23Events.
zip . Cthulu alone knows what details would be needed in the Mac window.c file
to trigger it, but you should get the idea from the sources.
tim
--
Strange OpCodes: DUL: Delete Utility Library
Tim Rowledge: rowledge at interval.com (w) +1 (650) 842-6110 (w)
tim at sumeru.stanford.edu (h) <http://sumeru.stanford.edu/tim>
More information about the Squeak-dev
mailing list
|