summaryrefslogtreecommitdiff
path: root/src/window.h
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-12-08 02:55:47 +0000
committerbelugas <belugas@openttd.org>2007-12-08 02:55:47 +0000
commitb23f824f1848186dd37ee7616a1df58b439b5315 (patch)
tree157f21bac564334a96cdb18299c8489c9e96c4d7 /src/window.h
parent04f070035788e704f6d9e0182afbe461f259ee4b (diff)
downloadopenttd-b23f824f1848186dd37ee7616a1df58b439b5315.tar.xz
(svn r11595) -Codechange: add a new member to Window struct, based on its function counterpart HandleButtonClick.
Diffstat (limited to 'src/window.h')
-rw-r--r--src/window.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window.h b/src/window.h
index 137d99804..f2b910cea 100644
--- a/src/window.h
+++ b/src/window.h
@@ -279,6 +279,8 @@ struct Window {
Window *parent;
byte custom[WINDOW_CUSTOM_SIZE];
+ void HandleButtonClick(byte widget);
+
void SetWidgetDisabledState(byte widget_index, bool disab_stat);
void DisableWidget(byte widget_index);
void EnableWidget(byte widget_index);