diff options
author | Jonathan G Rennison <j.g.rennison@gmail.com> | 2019-11-04 18:10:09 +0000 |
---|---|---|
committer | Charles Pigott <charlespigott@googlemail.com> | 2019-11-10 17:58:42 +0000 |
commit | 1dba06656d5dda3f8efc6a3dc2a8596428e17df5 (patch) | |
tree | 7381ea7bc20ea3b68096dd8452ee6347922dca7f /src/window_func.h | |
parent | 81f159434d9d5421ec188dc7844b6d82dc6aa3e3 (diff) | |
download | openttd-1dba06656d5dda3f8efc6a3dc2a8596428e17df5.tar.xz |
Codechange: Add utility function for whether the focused window is a console
Diffstat (limited to 'src/window_func.h')
-rw-r--r-- | src/window_func.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window_func.h b/src/window_func.h index 45e2d71ec..7fca0d9c1 100644 --- a/src/window_func.h +++ b/src/window_func.h @@ -55,6 +55,7 @@ void DeleteWindowById(WindowClass cls, WindowNumber number, bool force = true); void DeleteWindowByClass(WindowClass cls); bool EditBoxInGlobalFocus(); +bool FocusedWindowIsConsole(); Point GetCaretPosition(); #endif /* WINDOW_FUNC_H */ |