Gui window storing!
Hi I''m designing my own Gui , I''m woundering what best way to store the window and there child
1. in a tree
-child of the child ...
-child of desktop
desktop - ...
-child of desktop
2. or store each window child in a linklist in that window owner
here an example
class window
{
...
...
Linklist Child; <- put evrey child in there
};
with 1 it would be easy to handle the Z order of the window
I need some advise on this one!
resizable array?
Magmai Kai Holmlor
- The disgruntled & disillusioned
Magmai Kai Holmlor
- The disgruntled & disillusioned
- The trade-off between price and quality does not exist in Japan. Rather, the idea that high quality brings on cost reduction is widely accepted.-- Tajima & Matsubara
Linklist are like resizable array
but i need to know if it''s best to store window child in the window
or in a separate tree
but i need to know if it''s best to store window child in the window
or in a separate tree
May 11, 2001 01:38 AM
use a standard n-ary tree, each child should also contain a tree containing its children.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement