diff options
author | darkvater <darkvater@openttd.org> | 2004-12-15 23:33:04 +0000 |
---|---|---|
committer | darkvater <darkvater@openttd.org> | 2004-12-15 23:33:04 +0000 |
commit | 83981e40b594af221abf78eab41aa41182003b52 (patch) | |
tree | 74df7f1875fe162b316df2d10c6bb505e11cea71 /main_gui.c | |
parent | ec94450aef385beb279e5b158389767611112f40 (diff) | |
download | openttd-83981e40b594af221abf78eab41aa41182003b52.tar.xz |
(svn r1121) -Feature: Added sticky windows feature. A small pin allows the user to set the window as undeletable and can only be closed by hand. As an example the viewport window has been stickied (thanks to Neko-San)
-To use the feature add WDF_STICKY_BUTTON to the widget description and update all widget-ID's since sticky button will be widget 2.
Diffstat (limited to 'main_gui.c')
-rw-r--r-- | main_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main_gui.c b/main_gui.c index 3bc7349a5..97e516c05 100644 --- a/main_gui.c +++ b/main_gui.c @@ -888,7 +888,7 @@ bool DoZoomInOutWindow(int how, Window *w) break; case WC_EXTRA_VIEW_PORT: wt = FindWindowById(WC_EXTRA_VIEW_PORT, w->window_number); - button = 4; + button = 5; break; } |