diff options
author | alberth <alberth@openttd.org> | 2009-12-21 16:16:40 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-12-21 16:16:40 +0000 |
commit | f55c3312b3a343362548234a7bcf712ec7f15285 (patch) | |
tree | 26e349e112d9d77e79b7e7a27b4ceafe60c5c794 /src/widget_type.h | |
parent | cc40883ad8dbaf03b68cb332ff1b50a6732939fe (diff) | |
download | openttd-f55c3312b3a343362548234a7bcf712ec7f15285.tar.xz |
(svn r18587) -Codechange: Insert a shade selection widget in the widget tree when the window starts with a title bar with a shade box.
Diffstat (limited to 'src/widget_type.h')
-rw-r--r-- | src/widget_type.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widget_type.h b/src/widget_type.h index b6bbbbabb..f54381e61 100644 --- a/src/widget_type.h +++ b/src/widget_type.h @@ -781,6 +781,7 @@ static inline NWidgetPart NWidgetFunction(NWidgetFunctionType *func_ptr) return part; } -NWidgetContainer *MakeNWidgets(const NWidgetPart *parts, int count, int *biggest_index, NWidgetContainer *container = NULL); +NWidgetContainer *MakeNWidgets(const NWidgetPart *parts, int count, int *biggest_index, NWidgetContainer *container); +NWidgetContainer *MakeWindowNWidgetTree(const NWidgetPart *parts, int count, int *biggest_index, NWidgetStacked **shade_select); #endif /* WIDGET_TYPE_H */ |