summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorDarkvater <darkvater@openttd.org>2006-11-15 19:35:52 +0000
committerDarkvater <darkvater@openttd.org>2006-11-15 19:35:52 +0000
commit3a03b70319d432b76695d84b4342d1f441ea08b1 (patch)
treea33f8b2226bf03932b173095e369e476546d58ad /window.h
parent4a986e43d4c6e91fae4404d2c92125e6e8fa6cc2 (diff)
downloadopenttd-3a03b70319d432b76695d84b4342d1f441ea08b1.tar.xz
(svn r7153) -Fix [FS#279]: Some keyboard events possibly lost under high CPU load, handle
keyboard input in place instead of global variables magic. (KUDr)
Diffstat (limited to 'window.h')
-rw-r--r--window.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/window.h b/window.h
index a110f3547..bf85dcff4 100644
--- a/window.h
+++ b/window.h
@@ -801,6 +801,7 @@ void UnInitWindowSystem(void);
void ResetWindowSystem(void);
int GetMenuItemIndex(const Window *w, int x, int y);
void InputLoop(void);
+void HandleKeypress(uint32 key);
void UpdateWindows(void);
void InvalidateWidget(const Window *w, byte widget_index);
void InvalidateThisWindowData(Window *w);