Hello,I have asked this before but somehow the discussion came to an end. So I'll try again.
I'm trying to add a line style (Dashed) attribute to the box.c shape of the SADT sheet.
I tried to use the diamond.c from the flowchart as a reference but I can't get it to work.
If I double-click on the shape I can't select the line style attribute.Hans, I have looked at the examples you have given me but I can't find the error I'm making.
I like to extent my knowledge up to a point I can contribute to Dia. So any help is greatly appreciated.
I added the code I tried. In all the code I have check I never come across the PROP_FLAG_VISIBLE. Thanks for your help. Regards, Robert On 30/08/11 20:27, Hans Breuer wrote:
At 29.08.2011 17:17, myken wrote:Hello, I'm trying to add a line style (Dashed) attribute to the box.c shape of the SADT sheet. I tried to use the diamond.c from the flowchart as a reference but I can't get it to work. If I double-click on the shape I can't select the line style attribute. As I understand the structure of Dia I only need to change the box.c file, right?Yes.As you see from the picture attached, I managed to add a source identified attribute to the properties menu but I can't make the line style attribute appear.Without the code /a patch) it is hard to guess. Maybe you are missing the PROP_FLAG_VISIBLE?Any hint's ? Thanks a lot. Regards Robert.Look at some change which works (not linestyle but color, though): http://git.gnome.org/browse/dia/commit/?id=aeb71aca5761bcd510296893720f12b77afc4e48 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 http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia
Attachment:
mybox.c
Description: Text Data