Multiple OS Windows for Squeak?
marcel at metaobject.com
Mon Apr 19 22:12:03 UTC 2004
On 17 Apr 2004, at 21:33, Andreas Raab wrote:
> Bah... why bother? Wanna know how I think about this? Display should
> be an alias to whatever the host "display system" represents, (for
> the X-server on Linux) and when you draw to display you get something
> looking like here:
> *Then* you create a window on that display and associate whatever kind
> drawing surface you want with it (or use the native graphics
> What you need to do this is a pretty small interface across the
> with the only "fast path" being the ability to throw bits to the
> surface (e.g., what we do today already).
Well, what would be really nice is to have this at the Canvas level.
Way back when I added Postscript output, I couldn't resist creating a
variant of the PostscriptCanvas that drew to the screen via DPS. It
was beautiful, if a bit slow at that early stage. The only thing that
was really problematic was Text, because Canvas actually falls back on
BitBlt to draw text. I eventually did get it to draw using platform
fonts, but that didn't match the expected metrics and therefore
selection and the cursor were off.
More information about the Squeak-dev