Hello Inkscape developers.
I recently started looking at how to add support for numerical input of node coordinates when editing a path, and it seems it will be a bit trickier than I initially though.
My first question is how would you want this feature to work? There are two approaches that I can see:
* Inputs in node editing tool bar - Values are updated while dragging a node? - Values are updated when a node is released after dragging? * Inputs in a dialog - Dialog is shown when double clicking a node? - Dialog is shown by pressing a button in the tool bar?
After mentioning this on IRC, it seems the first approach is the favored one. So a couple of questions regarding this approach:
1) What's the best way to make the node editing tool bar aware of what goes on in nodepath.cpp (node selected, moved, N of selected nodes et.c.). Can I fire off signals and the tool bar will see them? The approach that the select tool bar uses to get notified of object modifications does not really seem to work for this (though I'm not sure).
2) Is it really important that the input values are updated _while_ dragging a node (like with object dragging), and not when dragging stops? (Latter seems easier to implement).
Any advice and pointers from people more familiar with this part of the Inkscape code is appreciated, since this is my first stab at hacking Inkscape and I might be poking at the wrong places.
Best regards, Aron Stansvik
PS. ACSpike on IRC suggested that bbyak is probably the man I'm after. You there bbyak? :) DS.