Re: parenting (patch)
- From: Vadim Berezniker <vadim berezniker com>
- To: dia-list gnome org
- Subject: Re: parenting (patch)
- Date: Thu, 03 Jul 2003 12:51:38 -0400
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]