summaryrefslogtreecommitdiff
path: root/src/settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings.cpp')
-rw-r--r--src/settings.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/settings.cpp b/src/settings.cpp
index a50c240c0..ae3e13c78 100644
--- a/src/settings.cpp
+++ b/src/settings.cpp
@@ -680,6 +680,18 @@ static bool RedrawScreen(int32 p1)
}
/**
+ * Reinitalise all windows, i.e. construct their windows
+ * from the begin. For example to show a particular button
+ * that was previously hidden.
+ * @param p1 ignored
+ */
+static bool ReinitWindows(int32 p1)
+{
+ ReInitAllWindows();
+ return true;
+}
+
+/**
* Redraw the smallmap after a colour scheme change.
* @param p1 Callback parameter.
* @return Always true.