Re: Adding shapes to dia



Dear Robert,

Is there a detailed tutorial on how to add sheets/shapes to dia?

there is a tutorial, however it is not yet ready for publication.
Nevertheless, it might be of help to you even in its current state.
If you are interested, I can send you a copy.

This is my problem:
I like to add/change a sheet to the dia core.
So I copied the SADT.sheet.in to mySADT.sheet.in and the SADT sub-dir to
mySADT. 
Changed the file names "box.c" to "mybox.c"
Changed the references to the SADT shapes into mySADT shapes (mySADT -
fbox).
Changed the library reference (libmysadt_objects.la)
Changed the objects/Makefile.am
Changed the sheets/Makefile.am
Added "objects/mySADT/makefile to AC_OUTPUT in configure.in

Now if I run ./autogen.sh, ./configure and make all is fine (no errors).
If I start Dia (./app/run_dia.sh ) Dia runs as expected. I can even see
me sheet (mySADT) BUT there are no shapes visible. I can not select
anything.

Verify that the name in the mySADT.sheet.in (object name="XY") is the
same as in your mybox.c (ELEMENT_NAME="XY") and that the object file for
your shape is build.

Regards,

Thimo Langbehn

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil



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