|
Re: [BUG] WorldWindow not correctly drawn.: msg#01354lang.smalltalk.squeak.general
On Thursday 29 August 2002 06:01 pm, Alan Grimes wrote: > When I do: > > ATest _ WorldWindow new openInWorld. > > I get a really messed up system window. > > The class comment which is there (YAY!!!) says it should have a red > bar which changes color when it is given focus. > > It does the exact same thing with my clean control image. > > Does anyone else have the same problem? I'm not sure that that's even used any more. And even if it were, I don't believe that you're using it the way it wants to be used... I think it needs to have an internal World. Take a look at the examples on the class side (but save your image first, because you won't be able to escape the inner world!). And, as you note, its layout is messed up. ProjectViewMorph (inside a SystemWindow) and EmbeddedWorldBorder seem to be used currently. You can see how these operate by creating a new Morphic Project and then returning to the previous project, where you should see (depending on your Preferences) a little SystemWindow with a thumbnail of the world you just left. This thumbnail is a ProjectViewMorph. If you click-and-hold the red button over the thumbnail (perhaps moving the mouse a tiny bit after a while), a menu will come up eventually. Choose "ENTER ACTIVE" and you'll see the world-in-world stuff that's currently used (an EmbeddedWorldBorder with a scaled view of the world inside it). What are you trying to do with the WorldWindow? -- Ned Konz http://bike-nomad.com GPG key ID: BEEA7EFE
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [BUG] WorldWindow not correctly drawn., Bob Arning |
|---|---|
| Next by Date: | Re: Debugger for Windows VM, Anthony Hannan |
| Previous by Thread: | [BUG] WorldWindow not correctly drawn., Alan Grimes |
| Next by Thread: | Building Squeak VM Under Mac OS X 10.2 (Jaguar), Andrew C. Greenberg |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |