summaryrefslogtreecommitdiff
path: root/src/window_func.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-11-07 17:24:04 +0000
committeralberth <alberth@openttd.org>2009-11-07 17:24:04 +0000
commit0bc03c25f48b6abce53cb43d71b31334d3f5bf35 (patch)
tree3a2fb874963ceb2b4499ed863b014b7692a124e0 /src/window_func.h
parentb500170ac2e286b1fe5a6c8529f1f963cd05ecdf (diff)
downloadopenttd-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.h3
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();