logo       

Re: Starting the clock...: msg#01379

lang.smalltalk.squeak.general

Subject: Re: Starting the clock...

On Friday 30 August 2002 12:28 pm, Alan Grimes wrote:
> I need a pixel-mapped view-plane that can be viewed on the sceen
> and inspected by a set of processing classes to be developed at
> some point in the future.

But you have one already.

It's "Display bits"; you can get Forms from (copies of) parts of it by
using
Form fromDisplay: rect

Try this, for instance:
(Form fromDisplay: (0@0 corner: 300@300)) openAsMorph

If you need to display things on top of it, you can use a SketchMorph
or ImageMorph (or subclass that ignores mouse events); just make sure
its morphicLayerNumber is high enough to stay on top.

If you need to display things under it, you can use a SketchMorph or
ImageMorph (or subclass that ignores mouse events).

--
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise