Re: @ Tom Harding - enhance misc:tree



Useful - thanks; appears tractable.

Am I right in thinking that dynamic shape objects are compiled along with the rest of the source code (I'm deducing that the runtime code behind misc/tree is in /usr/lib/dia/misc_objects.so), or can they be added retrospectively to an existing installation, in the same way that other shapes are added?
JS
On 24/01/13 20:20, Hans Breuer wrote:
At 24.01.2013 02:37, Jeremy S wrote:
Hi,

(my first post here: I _like_ Dia... a lot!)

I'm looking to use the dynamic 'tree' shape/object in a plumbing schematic but
would welcome a bit more control over its properties. At the moment the only
configurable property is the line colour, and I'd like to set (at least) the
line width - so I've been reading through your C code (tree.c) and trying to see
if I can spot where I would need to add some code.

I'm not too hot at C, but am prepared to give it a go - before I start, I was
wondering if would you be able to make an estimate of whether it's a relatively
small bit of work (<30 lines of code)?

Good guess for the line width property and a single shape. See http://git.gnome.org/browse/dia/commit/?id=9456d85b57fb413bd54904eba22f70bd73d76893 for an example.
adding configurable line-width for UML elements.

Any pointers welcome...

HTH,
    Hans

-------- Hans "at" Breuer "dot" Org -----------
Tell me what you need, and I'll tell you how to
get along without it.                -- Dilbert
_______________________________________________
dia-list mailing list
dia-list gnome org
https://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]