summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-05-26 19:27:22 +0000
committerfrosch <frosch@openttd.org>2013-05-26 19:27:22 +0000
commit23ba42b66ccf915230cab163cdeca19db6e95f76 (patch)
treeeea2f6daffe6fc9283487ed3736dde80ebc87825 /src/window_gui.h
parent8157a8afd814cb24aaaa4c725817c864e0c583c6 (diff)
downloadopenttd-23ba42b66ccf915230cab163cdeca19db6e95f76.tar.xz
(svn r25291) -Add: WindowDesc ability to load and store information in a config file.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 59df38052..918c3374a 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -180,6 +180,9 @@ struct WindowDesc : ZeroedMemoryAllocator {
uint32 flags; ///< Flags. @see WindowDefaultFlag
const NWidgetPart *nwid_parts; ///< Nested widget parts describing the window.
int16 nwid_length; ///< Length of the #nwid_parts array.
+
+ static void LoadFromConfig();
+ static void SaveToConfig();
};
/**