summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-05-26 19:25:01 +0000
committerfrosch <frosch@openttd.org>2013-05-26 19:25:01 +0000
commit8157a8afd814cb24aaaa4c725817c864e0c583c6 (patch)
treef81c823727cb75370437179afd5ba452055f6512 /src/window.cpp
parent8c4714ad9099308691059f0a7a3cd6bbd33ce538 (diff)
downloadopenttd-8157a8afd814cb24aaaa4c725817c864e0c583c6.tar.xz
(svn r25290) -Add: Assign string names to notable windows.
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 8e6a05028..035050bcb 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -73,7 +73,7 @@ bool _mouse_hovering; ///< The mouse is hovering over the same point.
SpecialMouseMode _special_mouse_mode; ///< Mode of the mouse.
/** Window description constructor. */
-WindowDesc::WindowDesc(WindowPosition def_pos, int16 def_width, int16 def_height,
+WindowDesc::WindowDesc(WindowPosition def_pos, const char *ini_key, int16 def_width, int16 def_height,
WindowClass window_class, WindowClass parent_class, uint32 flags,
const NWidgetPart *nwid_parts, int16 nwid_length) :
default_pos(def_pos),
@@ -81,6 +81,7 @@ WindowDesc::WindowDesc(WindowPosition def_pos, int16 def_width, int16 def_height
default_height(def_height),
cls(window_class),
parent_cls(parent_class),
+ ini_key(ini_key),
flags(flags),
nwid_parts(nwid_parts),
nwid_length(nwid_length)