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 | 684ec92c19dd9d749d3c60c3ed5e0078a2e08299 (patch) | |
tree | 0c805e369dd82e534d576e98a38f47226c8124c8 /window.h | |
parent | d42ee81f7996f5d62d843e004338903cb9d05cc7 (diff) | |
download | openttd-684ec92c19dd9d749d3c60c3ed5e0078a2e08299.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]; }; |