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

Re: parenting (patch)



Lars Clausen wrote:
> On Fri, 20 Jun 2003, Vadim Berezniker wrote:
>> 
>> I've fixed those now.
>> 
>>> The standard way to specify object specific behaviour is not to
>>> recompile but define properties. See "autoroute" for a recently
>>> added example. [ Search for "autoroute" in the dia sources. ]
>>>
>> 
>> I'll look into that shortly  ...
>> 
>> 

After thinking about this, I can move the children list / parent 
capability attrbiute into individual objects.

As for the 'parent' pointer, should I even bother moving it out of the 
Object struct? After all I cannot think of any object that cannot have a 
parent. Since Object is the 'superclass', an attribute that applies to 
all 'objects' should be inside it.

Should I leave the parent pointer inside Object or move it?




[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