A bit more: > I wish I had one! I spent a little while working on a simple drawing > program as a demo, but didn't quite finish it -- I've enclosed what I > have -- it is a bit broken now, but maybe you can get some ideas. I > actually haven't had time to work on it in a while.
What I envisioned with this was that there would be a "select" mode, that would allow you to select an object by clicking on it. Once an object was selected, it would somehow set the GUIMode on the canvas to "Edit This Kind of Object" mode. That way, each object would define a GUI Mode to edit itself. With mixins and subclassing they would share a lot of code, but strictly speaking each object would only need to know about itself, and the Canvas wouldn't care, any editable object would behave the same. HTH, -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected] _______________________________________________ FloatCanvas mailing list [email protected] http://paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas
