|
|
|
|
|
|
get { return (ContainerLayer) base.parent; } |
|
|
|
} |
|
|
|
|
|
|
|
public virtual void DisposeCPter() |
|
|
|
public virtual void DisposeCPtr() |
|
|
|
{ |
|
|
|
if(_engineLayer != null) { |
|
|
|
_engineLayer.DisposeCPtr(); |
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
public EngineLayer engineLayer { |
|
|
|
protected EngineLayer engineLayer { |
|
|
|
get { return _engineLayer; } |
|
|
|
set { |
|
|
|
if(_engineLayer != null){ |
|
|
|
|
|
|
this.canvasBounds = canvasBounds; |
|
|
|
} |
|
|
|
|
|
|
|
public override void DisposeCPter() |
|
|
|
public override void DisposeCPtr() |
|
|
|
base.DisposeCPter(); |
|
|
|
base.DisposeCPtr(); |
|
|
|
if(_picture != null){ |
|
|
|
_picture.DisposeCPtr(); |
|
|
|
} |
|
|
|
|
|
|
return addedLayers; |
|
|
|
} |
|
|
|
|
|
|
|
public override void DisposeCPter() { |
|
|
|
base.DisposeCPter(); |
|
|
|
DisposeAllChildren(); |
|
|
|
} |
|
|
|
|
|
|
|
private void DisposeAllChildren(){ |
|
|
|
public override void DisposeCPtr() { |
|
|
|
base.DisposeCPtr(); |
|
|
|
child.DisposeCPter(); |
|
|
|
child.DisposeCPtr(); |
|
|
|
child = next; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
child._nextSibling = null; |
|
|
|
child._previousSibling = null; |
|
|
|
dropChild(child); |
|
|
|
child.DisposeCPter(); |
|
|
|
child.DisposeCPtr(); |
|
|
|
D.assert(!child.attached); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
child._nextSibling = null; |
|
|
|
D.assert(child.attached == attached); |
|
|
|
dropChild(child); |
|
|
|
child.DisposeCPter(); |
|
|
|
child.DisposeCPtr(); |
|
|
|
child = next; |
|
|
|
} |
|
|
|
|
|
|
|