On Tue, 6 Apr 2004, John Cliff wrote:
The mini-inkscape option had occured to me, but was too big a task for the first iteration imo.
Yeah, I was of the same mind, especially given how much underlying hookup work had to be done. I didn't want to put a lot of time into the UI until the basic functionality was working.
My intended approach was a "convert selection to marker" button in the UI to take a selection and make a marker out of it (basically c/p it to the defs, and set some extra attributes)
Ah, that's not a bad idea. I think rejon's idea of doing it with drag and drop may be the right way to go; I don't feel like we have a better idea than how Illustrator does it, so it'd probably be wise to do it that way.
That coupled with a means of selecting from a drop down containing of all the markers in the current doc and the default markers shipped with inkscape (doc ones working, defualts still todo, was thinking of creating a markers.svg in share, and extracting from that, need to add previews to drop down tho.) the defaults bit shouldnt be too hard, its a cross between the gradient c/p and the icons.svg code.
Originally when I started working on the markers I was going to implement the UI as a dropdown, but I ran into trouble in that I didn't find a standard dropdown widget that would allow graphics as the selection items. I thought the stroke-style dropdown would be a good model, but it turns out the graphics for it are hard coded into libart for some reason and difficult to override. We may have other options via GtkMM, etc. but even so I'm thinking that if we could do a widget like the one in rejon's screenshot, where all the markers are shown in little boxes, that might be best. I don't know - perhaps we need to research a bit more into what standard widgets are available to us?
Bryce