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

extending dia with new symbols



Hi,

I have got some questions concerning extending dia with new sheets.
I am pretty new to the dia code (since yesterday :-) ). I am also new to 
Gnome/gtk programming in general, so if any of my questions are not 
appropriate for this list, please say so.

situation: I want to try to add symbols for ConcurTaskTree to dia.

problems I have (hope these are not too stupid problems):
*The ConcurtaksTree notation also involves special connections between objects
(like UML associations, aggregation,...). Should I add the new sheet to the
sheets directory or to the objects directory, or both? 
I did both: in the sheets dir I put an XML file with the description of the 
possible symbols. These are included in the list of possible symbols (this 
works). I am trying to write the related source code in the objects directory.

*Now if i click on one of the symbols, and try to put this on the canvas, a 
weird looking computer symbol is drawn instead. So I added a ConcurTaskTree
dir in the objects directory, put in the source code for one symbol, adapted 
the Makefile.am (reran automake etc) and tried that.  I based the source code 
on the network/disc.c. I still keep getting this computer symbol instead of 
the "usertask symbol" I wanted to create.

*Is it possible not to draw the objects "in the source code"; with arc and 
draw_line etc, but use a pixmap instead? (if this just invloves reading 
something like gtk canvas api, I will do that)

*Is there a newsserver for this mailing list, or is it just limited to 
emails?

Regards,
Kris
-- 
Kris Luyten
Expertisecentrum Digitale Media - Limburgs Universitair Centrum
Wetenschapspark 2 
3590 Diepenbeek 
Belgium 
email: kris.luyten@luc.ac.be
http://lumumba.luc.ac.be/kris



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK