diff options
author | alberth <alberth@openttd.org> | 2009-11-07 17:24:04 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-11-07 17:24:04 +0000 |
commit | 0bc03c25f48b6abce53cb43d71b31334d3f5bf35 (patch) | |
tree | 3a2fb874963ceb2b4499ed863b014b7692a124e0 /src/window_func.h | |
parent | b500170ac2e286b1fe5a6c8529f1f963cd05ecdf (diff) | |
download | openttd-0bc03c25f48b6abce53cb43d71b31334d3f5bf35.tar.xz |
(svn r17997) -Codechange: Introduce functions for querying top and bottom of the main view.
Diffstat (limited to 'src/window_func.h')
-rw-r--r-- | src/window_func.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/window_func.h b/src/window_func.h index feadd7a18..4d21c4192 100644 --- a/src/window_func.h +++ b/src/window_func.h @@ -21,6 +21,9 @@ void ChangeWindowOwner(Owner old_owner, Owner new_owner); void ResizeWindow(Window *w, int x, int y); int PositionMainToolbar(Window *w); +int GetMainViewTop(); +int GetMainViewBottom(); + void InitWindowSystem(); void UnInitWindowSystem(); void ResetWindowSystem(); |