[squeak-dev] Re: knowing World extent before redraw.
Andreas Raab
andreas.raab at gmx.de
Fri Mar 7 18:02:33 UTC 2008
Herbert König wrote:
> AR> Try:
>
> AR> DisplayScreen depth: Display depth width: 800 height: 600 fullscreen:
> AR> false
>
> oh dear me, knowing that would have saved me loads of time :-))
> I will look through Display and DisplayScreen for other useful things.
>
> I believe, when I want to change the window frame (no frame, no close
> button..) will be when I will have to resort to a plugin anyway.
In which case the answer is similarly simple if you remember the write a
primitive that returns the "outer window size". E.g.,
delta := DisplayScreen outerWindowSize "outer window size"
- DisplayScreen actualScreenSize. "client area"
DisplayScreen outerWindowSize: myExtent + delta.
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|