summaryrefslogtreecommitdiff
path: root/new/parentplan
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2015-04-16 20:33:28 -0400
committerPietro Gagliardi <[email protected]>2015-04-16 20:33:28 -0400
commite34c561ed5bedeb180437ec165882b98d70d38c1 (patch)
treed095e5db16d7a23e883526c8c1d3c524639c97cf /new/parentplan
parentde9d72299fb89a8b6cdc8963cd6b6ae708a81e80 (diff)
Split the rewrite into a new repository.
Diffstat (limited to 'new/parentplan')
-rw-r--r--new/parentplan57
1 files changed, 0 insertions, 57 deletions
diff --git a/new/parentplan b/new/parentplan
deleted file mode 100644
index 83c581e..0000000
--- a/new/parentplan
+++ /dev/null
@@ -1,57 +0,0 @@
-current situation
-
-let's say the control hierarchy is
-w window
- p parent
-c stack
- d stack
- e button
- f button
- g button
-h button
-i entry
-
-w = NewWindow()
- p = NewParent(w.Handle)
-w.SetChild(c)
- p.SetChild(c)
- c.SetParent(p)
- d.SetParent(p)
- e.SetParent(p)
- f.SetParent(p)
- g.SetParent(p)
- p.Update()
- c.Resize()
-c.Add(h)
- h.SetParent(p)
- p.Update()
- c.Resize()
-d.Remove(1)
- 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()
-
-TODO
-- rename these methods
-- p.DeferUpdate()/p.EndDeferUpdate()