summaryrefslogtreecommitdiff
path: root/src/widget_type.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-05-04 18:40:37 +0000
committeralberth <alberth@openttd.org>2009-05-04 18:40:37 +0000
commitefde51e4523b4e74f16b43579d7894ac3387dab0 (patch)
treec7f131ac0170f75f3d8d8ee075786d6b513708f5 /src/widget_type.h
parentd953f3e4c79cd4bda9297d721e64d8579ece5425 (diff)
downloadopenttd-efde51e4523b4e74f16b43579d7894ac3387dab0.tar.xz
(svn r16226) -Codechange: Separating generation of a widget array from WindowDesc to the InitializeWidgetArrayFromNestedWidgets function.
Diffstat (limited to 'src/widget_type.h')
-rw-r--r--src/widget_type.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/widget_type.h b/src/widget_type.h
index 1e4b657a1..af15e2bef 100644
--- a/src/widget_type.h
+++ b/src/widget_type.h
@@ -659,4 +659,6 @@ static inline NWidgetPart NWidgetFunction(NWidgetFunctionType *func_ptr)
NWidgetContainer *MakeNWidgets(const NWidgetPart *parts, int count);
+const Widget *InitializeWidgetArrayFromNestedWidgets(const NWidgetPart *parts, int parts_length, const Widget *orig_wid, Widget **wid_cache);
+
#endif /* WIDGET_TYPE_H */