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
commit684ec92c19dd9d749d3c60c3ed5e0078a2e08299 (patch)
tree0c805e369dd82e534d576e98a38f47226c8124c8 /window.h
parentd42ee81f7996f5d62d843e004338903cb9d05cc7 (diff)
downloadopenttd-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.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];
};