diff options
author | frosch <frosch@openttd.org> | 2013-06-15 15:31:22 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-06-15 15:31:22 +0000 |
commit | fef30983e643943df24a7090a7175cfa66f3ba15 (patch) | |
tree | 5129b4c530168788d3a4ebec180d3c910c37b942 /src/window_type.h | |
parent | ee4e68bd5e4882397bc023040a2977047d22ccb7 (diff) | |
download | openttd-fef30983e643943df24a7090a7175cfa66f3ba15.tar.xz |
(svn r25414) -Codechange: Move handling of global hotkeys to HotkeyList.
Diffstat (limited to 'src/window_type.h')
-rw-r--r-- | src/window_type.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window_type.h b/src/window_type.h index 29fe15dc0..9727cf9f1 100644 --- a/src/window_type.h +++ b/src/window_type.h @@ -691,4 +691,10 @@ struct Window; /** Number to differentiate different windows of the same class */ typedef int32 WindowNumber; +/** State of handling an event. */ +enum EventState { + ES_HANDLED, ///< The passed event is handled. + ES_NOT_HANDLED, ///< The passed event is not handled. +}; + #endif /* WINDOW_TYPE_H */ |