summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-08-14 21:27:08 +0000
committeralberth <alberth@openttd.org>2009-08-14 21:27:08 +0000
commite6a1da11a377bdd28e530695ec0fb5e4957e1923 (patch)
tree218ab80594ed407934dcc87ee681a1f54d6cb3f1 /src/window_gui.h
parentfe74c526d88f4bcea7e5666a454aad1eb1284b7b (diff)
downloadopenttd-e6a1da11a377bdd28e530695ec0fb5e4957e1923.tar.xz
(svn r17175) -Codechange: Only auto-raise push buttons.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 83f8d1495..d87669061 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -502,7 +502,7 @@ public:
void HandleButtonClick(byte widget);
const Widget *GetWidgetOfType(WidgetType widget_type) const;
- void RaiseButtons();
+ void RaiseButtons(bool autoraise = false);
void CDECL SetWidgetsDisabledState(bool disab_stat, int widgets, ...);
void CDECL SetWidgetsHiddenState(bool hidden_stat, int widgets, ...);
void CDECL SetWidgetsLoweredState(bool lowered_stat, int widgets, ...);