[wxPython-users] wx.lib.ogl used for Wine rack designer
Christopher Barker
Chris.Barker at noaa.gov
Fri Jul 21 09:26:23 PDT 2006
Werner F. Bruhin wrote:
> Frankly I am not sure if it has anything which is not also there in
> FloatCanvas. I want with it as the ogl demo was close to what I needed,
> different shapes, which one could select and move around. This made it
> much easier for me as all this "lower level" stuff just confuses the
> hell out of me :-) .
Thanks for the input: I think what you've got is that OGl has a built
way to use the Mouse to manipulate objects. FloatCanvas has all the
tools you need to create a way to manipulate the objects, but it's not
built in -- you need to write a bit of low-level code.
This is for a few reasons:
-- I think different uses can need very different types of
manipulations, and I'm trying to make FloatCanvas be a with which to
build a wide variety of things.
-- I haven't yet figured out out to cleanly factor the manipulation
code. It's hard to keep it from being a jumbled mess that needs to know
the details of all sorts of different objects. Also each DrawObject is
going to need a fair bit of custom code to accommodate how it can be
manipulated.
-- Here's the big one: I just haven't had the time to put into it! All
the above being true, a set of simple default behaviors for the primary
objects that can be customized for individual needs would be great.
> if I can not figure this out
> I might have to look into FloatCanvas again.
Let me know, I would like it to be able to support the kind of app
you're building.
> BTW, thanks for your hints and help at the time.
You're quite welcome.
-Chris
--
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chris.Barker at noaa.gov
More information about the wxpython-users
mailing list