summaryrefslogtreecommitdiff
path: root/road_gui.c
diff options
context:
space:
mode:
authordarkvater <darkvater@openttd.org>2004-12-23 11:36:22 +0000
committerdarkvater <darkvater@openttd.org>2004-12-23 11:36:22 +0000
commit8b4288f9cd03d4b194a5a11b597276d5e2438452 (patch)
tree5747b4fdf9cbb5ca82dba310146e228e61950a3f /road_gui.c
parentcdcb96305f0dedc99c5dd2e06039eaf234ca0f0c (diff)
downloadopenttd-8b4288f9cd03d4b194a5a11b597276d5e2438452.tar.xz
(svn r1243) -Fix: Scenario road-building toolbar also stickified. Thx for the notice teeone
Diffstat (limited to 'road_gui.c')
-rw-r--r--road_gui.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/road_gui.c b/road_gui.c
index ccf6c3310..ef43bf060 100644
--- a/road_gui.c
+++ b/road_gui.c
@@ -310,7 +310,8 @@ void ShowBuildRoadToolbar()
static const Widget _build_road_scen_widgets[] = {
{ WWT_TEXTBTN, 7, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW},
-{ WWT_CAPTION, 7, 11, 173, 0, 13, STR_1802_ROAD_CONSTRUCTION, STR_018C_WINDOW_TITLE_DRAG_THIS},
+{ WWT_CAPTION, 7, 11, 161, 0, 13, STR_1802_ROAD_CONSTRUCTION, STR_018C_WINDOW_TITLE_DRAG_THIS},
+{ WWT_STICKYBOX, 7, 162, 173, 0, 13, 0x0, STR_STICKY_BUTTON},
{ WWT_IMGBTN, 7, 0, 21, 14, 35, 0x51D, STR_180B_BUILD_ROAD_SECTION},
{ WWT_IMGBTN, 7, 22, 43, 14, 35, 0x51E, STR_180B_BUILD_ROAD_SECTION},
@@ -328,7 +329,7 @@ static const Widget _build_road_scen_widgets[] = {
static const WindowDesc _build_road_scen_desc = {
-1, -1, 174, 36,
WC_SCEN_BUILD_ROAD,0,
- WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
+ WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
_build_road_scen_widgets,
BuildRoadToolbWndProc
};