On 26 Jan, Lars Clausen wrote:
>
> Just a few things I thought of...
>
> The extra (unused) slots in ObjectOps aren't really necessary, since any
> change to object.h will force a recompile of everything that uses it.
Yes, but it is more of a binary-compatibility feature. When Dia is a
bit more stable people might create their own separately distributed
objects. These will then be backwards (binary) compatible if object
methods are just added (not changed) and a NULL for method is accepted
as default.
> The way boxes and circles are created seems counter-intuitive. One problem
> that they are dragged up-and-left, which is an odd direction for us
> westerners who normally write down-and-left. A worse problem is that if
> you drag a box, none of the corners remain where you clicked initially.
> The lines are ok, having one endpoint where you click.
I'm aware of the box and circle creation ugliness. It was added more
like a hack.
> I've made some code for arrows one the standard line, and it vorks like a
> charm. Had to add another selection menu in widgets.c, though. Will take
> only a matter of minutes to add to the other lines, too.
Nice. Did you create a widget with a pull-down menu with images of all
arrow-types in lib/arrow.h?
/ Alex