summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-12-29 17:07:41 +0000
committerDarkvater <darkvater@openttd.org>2006-12-29 17:07:41 +0000
commit49eb2a91ab7f23cd27c90c507c11c99d9941e803 (patch)
tree0c805e369dd82e534d576e98a38f47226c8124c8 /window.h
parent664f1d1fa084ed7616049c49a73a5e302c65c441 (diff)
downloadopenttd-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/window.h b/window.h
index a4756d6cc..80304e189 100644
--- a/window.h
+++ b/window.h
@@ -335,6 +335,7 @@ struct Window {
uint32 desc_flags;
WindowMessage message;
+ Window *parent;
byte custom[WINDOW_CUSTOM_SIZE];
};