summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2004-12-04 17:54:56 +0000
committertruelight <truelight@openttd.org>2004-12-04 17:54:56 +0000
commitb8f6d41418982163965dd5beb0b39dbdce1fbe8f (patch)
tree68d3e795694a875138c369707ed74b5b4b022d49 /window.h
parent0434287ef826a4ed72cd8528a52a86ae8b70a948 (diff)
downloadopenttd-b8f6d41418982163965dd5beb0b39dbdce1fbe8f.tar.xz
(svn r942) -Merged branch/network back into the trunk
Diffstat (limited to 'window.h')
-rw-r--r--window.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/window.h b/window.h
index 92665b38f..ee955ddf9 100644
--- a/window.h
+++ b/window.h
@@ -55,6 +55,12 @@ union WindowEvent {
struct {
byte event;
+ Point pt;
+ int widget;
+ } mouseover;
+
+ struct {
+ byte event;
bool cont; // continue the search? (default true)
byte ascii; // 8-bit ASCII-value of the key
uint16 keycode;// untranslated key (including shift-state)
@@ -303,6 +309,8 @@ enum WindowEvents {
WE_RCLICK = 17,
WE_KEYPRESS = 18,
WE_CREATE = 19,
+ WE_MOUSEOVER = 20,
+ WE_ON_EDIT_TEXT_CANCEL = 21,
};