diff options
author | Darkvater <darkvater@openttd.org> | 2006-12-29 17:07:41 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-12-29 17:07:41 +0000 |
commit | 49eb2a91ab7f23cd27c90c507c11c99d9941e803 (patch) | |
tree | 0c805e369dd82e534d576e98a38f47226c8124c8 /window.h | |
parent | 664f1d1fa084ed7616049c49a73a5e302c65c441 (diff) | |
download | openttd-49eb2a91ab7f23cd27c90c507c11c99d9941e803.tar.xz |
(svn r7618) -Feature: Add support for a parent<>child relationship in Window terms. A child
is a window whose parent pointer is non-null. Deleting the parent cascades deleting
the children as well; children first.
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -335,6 +335,7 @@ struct Window { uint32 desc_flags; WindowMessage message; + Window *parent; byte custom[WINDOW_CUSTOM_SIZE]; }; |