summaryrefslogtreecommitdiff
path: root/new/parentplan
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-14 09:41:52 -0400
committerPietro Gagliardi <[email protected]>2015-04-14 09:41:52 -0400
commiteac8341a4ff87882f8bf6375d2c2915510b908a5 (patch)
tree45c232810cbeb5c25ba6be7445011e808257152e /new/parentplan
parent652ba57a680e39938dd414ddcefac40bd26a28cb (diff)
More parent planning and related API changes. I now have a better handle over what I want after last night: p.SetChild() is only called by w.SetChild() and the various uiTab and uiGroup methods; everything else should call Control.SetParent(). Some renaming is needed.
Diffstat (limited to 'new/parentplan')
-rw-r--r--new/parentplan20
1 files changed, 17 insertions, 3 deletions
diff --git a/new/parentplan b/new/parentplan
index 80f6eb9..9f817b5 100644
--- a/new/parentplan
+++ b/new/parentplan
@@ -27,13 +27,27 @@ c.Add(h)
p.Update()
c.Resize()
d.Remove(1)
- f.RemoveParent()
+ f.SetParent(NULL)
p.Update()
c.Resize()
g.Hide()
p.Update()
c.Resize()
w.SetChild(i)
- ?????????????
+ p.SetChild(i)
+ c.SetParent(NULL)
+ d.SetParent(NULL)
+ ...
+ i.SetParent(p)
+ ...
+ p.Update()
+ i.Resize()
+w.SetChild(NULL)
+ p.SetChild(NULL)
+ i.SetParent(NULL)
+ p.Update()
+w.SetChild(i)
+ (again)
w.Destroy()
- ?????????????
+ p.Destroy()
+ i.Destroy()