Advertisement

Gui window storing!

Started by May 10, 2001 05:44 PM
2 comments, last by Xanphen 23 years, 9 months ago
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
- 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
Advertisement
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
use a standard n-ary tree, each child should also contain a tree containing its children.

This topic is closed to new replies.

Advertisement