I've now added having a dialog with defaults pop up at double-click of a
tool widget, and changed the properties popup to be only one per
objecttype, not per object (saves not only the dialogs, but also 4 bytes
per object).  This is only implemented for Line yet, as I want to hear if
the style is ok.  It is trivial to add to the other objects

I've (as I said) added polyline, with an object menu to add and delete
points.  It has a few bugs, like that corners stick out of the bounding box
and connections get confused when new handles are added[1].  Oh, and it
doesn't save properly yet.

Being the lazy bastard I am, I've just tar'ed it all up in
<URL:http://shasta.cs.uiuc.edu/~lrclause/Dia_lrclause.tar.gz> (also because
I don't have a proper copy to diff against).
Next thing I'd like to do is add arrows.

-Lars

[1] About handles:  The Object has an array of handles, but we can't depend
on the order they are in, so things like Zigzagline use a separate array
and copy back and forth.  The only reason while we can't depend on the
order seems to be the way add_handle works.  Wouldn't it save both time and
space to change add_handle to just insert the handle in a specific place
instead?


-- 
Lars R. Clausen ([EMAIL PROTECTED])
A *real* smart bomb would call in sick, perhaps move to another country,
changing its name in the process, open a beach bar maybe and live out its
days in safe anonymity.                          -- Barry O'Neill in rhod

Reply via email to