Sorry forgot to add the code. Here it is. 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 SADTsheet.I tried to use the diamond.c from the flowchart as a reference but I can't getit 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=aeb71aca5761bcd510296893720f12b77afc4e48HTH, 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