diff options
author | alberth <alberth@openttd.org> | 2009-05-04 18:40:37 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-05-04 18:40:37 +0000 |
commit | efde51e4523b4e74f16b43579d7894ac3387dab0 (patch) | |
tree | c7f131ac0170f75f3d8d8ee075786d6b513708f5 /src/widget_type.h | |
parent | d953f3e4c79cd4bda9297d721e64d8579ece5425 (diff) | |
download | openttd-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.h | 2 |
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 */ |