diff options
author | rubidium <rubidium@openttd.org> | 2009-02-09 02:33:10 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-09 02:33:10 +0000 |
commit | c7f3daacbf57e8213550f5bca3226565cbafe5e3 (patch) | |
tree | aa639d9f07d77989dca1ce7b2cf1a57a95a43c69 /src/window_gui.h | |
parent | 7df760b9c349d8caa4d3e39400ab8b8e9695941b (diff) | |
download | openttd-c7f3daacbf57e8213550f5bca3226565cbafe5e3.tar.xz |
(svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index 7f7b3aad1..b072cec2e 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -150,9 +150,9 @@ public: Scrollbar vscroll2; ///< Second vertical scroll bar ResizeInfo resize; ///< Resize information - byte caption_color; ///< Background color of the window caption, contains CompanyID + Owner owner; ///< The owner of the content shown in this window. Company colour is acquired from this variable. - ViewportData *viewport; ///< Pointer to viewport data, if present + ViewportData *viewport;///< Pointer to viewport data, if present Widget *widget; ///< Widgets of the window uint widget_count; ///< Number of widgets of the window uint32 desc_flags; ///< Window/widgets default flags setting, @see WindowDefaultFlag |