mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-22 05:59:10 +00:00
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
This commit is contained in:
@@ -171,12 +171,12 @@ static const Widget _build_trees_widgets[] = {
|
||||
{ WIDGETS_END},
|
||||
};
|
||||
|
||||
static const WindowDesc _build_trees_desc = {
|
||||
static const WindowDesc _build_trees_desc(
|
||||
WDP_AUTO, WDP_AUTO, 143, 184, 143, 184,
|
||||
WC_BUILD_TREES, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION,
|
||||
_build_trees_widgets,
|
||||
};
|
||||
_build_trees_widgets
|
||||
);
|
||||
|
||||
void ShowBuildTreesToolbar()
|
||||
{
|
||||
|
Reference in New Issue
Block a user