I have made a few more checkins to do with the property code. First of all, I added some code to help write property set/get routines using a table of offsets for properties. Also, now object.h and element.h provide some macros so you can add the obj_pos, obj_bb, elem_corner, elem_width and elem_height properties to objects easily. I have also added the routines to help with load/save of objects using the properties interface. Using the flowchart box example, it looks like it has been cut down from a bit under 1100 lines down to about 850, or a 20% reduction in lines of code. The flowchart box uses some properties that can't be set with the offsets helpers (the Text part). For objects where all the properties can be set with the offsets helper, the reduction in lines of code would be even greater. What remains is code for the defaults dialog and code for drawing/manipulating the object. James. -- Email: [EMAIL PROTECTED] WWW: http://www.daa.com.au/~james/
