Difference between revisions of "Creating a new SPObject"

From Inkscape Wiki
Jump to navigation Jump to search
(remove spam)
 
Line 2: Line 2:


Add your object name to the list in sp-object-repr.cpp's repr_name_entries, and add the new .h file to the include list at the top.  This will let your new SPObject have it's functions get called when a Repr appears in the tree.
Add your object name to the list in sp-object-repr.cpp's repr_name_entries, and add the new .h file to the include list at the top.  This will let your new SPObject have it's functions get called when a Repr appears in the tree.
[http://menhealths.tblog.com]
[http://viagracialis.t35.com]
[http://cheapviagra.lxhost.com]
[http://viagra.subs.ru]
[http://viagraeffects.maclenet.com]
[http://onlineviagra.drive.to]

Revision as of 12:34, 15 September 2005

Copy sp-skeleton.cpp and sp-skeleton.h to your files, and rename everything from /skeleton/i to your name.

Add your object name to the list in sp-object-repr.cpp's repr_name_entries, and add the new .h file to the include list at the top. This will let your new SPObject have it's functions get called when a Repr appears in the tree.


[1] [2] [3] [4] [5] [6]