summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
authordominik <dominik@openttd.org>2004-12-12 17:42:04 +0000
committerdominik <dominik@openttd.org>2004-12-12 17:42:04 +0000
commit6d8a0c52f5e2de255a445f65765b87dea36d662e (patch)
tree887039908b482a414d60dabc6882058855a7407b /misc_gui.c
parent8057dd221482d22b5a5477c982cd0d7ac9be80f9 (diff)
downloadopenttd-6d8a0c52f5e2de255a445f65765b87dea36d662e.tar.xz
(svn r1030) Some toolbar icons are arranged differently:
- Landscaping buttons have to be accessed from the landscaping toolbar - Landscaping toolbar can be opened from all other toolbars - The order of buttons in the docks toolbar now matches the other toolbars - Landscaping toolbar has new keyboard shortcuts
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 824c53a6f..d7aae3b20 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -326,7 +326,7 @@ static const Widget _build_trees_widgets[] = {
static const WindowDesc _build_trees_desc = {
497, 22, 143, 171,
- WC_BUILD_TOOLBAR,0,
+ WC_BUILD_TREES, WC_SCEN_LAND_GEN,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_build_trees_widgets,
BuildTreesWndProc
@@ -355,7 +355,7 @@ static const Widget _build_trees_scen_widgets[] = {
static const WindowDesc _build_trees_scen_desc = {
-1, -1, 143, 184,
- WC_SCEN_BUILD_TREES,0,
+ WC_BUILD_TREES,0,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_build_trees_scen_widgets,
BuildTreesWndProc
@@ -364,7 +364,6 @@ static const WindowDesc _build_trees_scen_desc = {
void ShowBuildTreesToolbar()
{
- DeleteWindowById(WC_BUILD_TOOLBAR, 0);
AllocateWindowDesc(&_build_trees_desc);
}