summaryrefslogtreecommitdiff
path: root/src/widget.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-25 11:26:07 +0000
committerrubidium <rubidium@openttd.org>2007-12-25 11:26:07 +0000
commit81bf9f8503c52974c232252a20d1b1528be66d58 (patch)
tree54a33aa10dd79668da9f46e61e427ace39f5d37f /src/widget.cpp
parent00c9d3ef20c83df43118a9ace5b8dd8eca26a126 (diff)
downloadopenttd-81bf9f8503c52974c232252a20d1b1528be66d58.tar.xz
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
Diffstat (limited to 'src/widget.cpp')
-rw-r--r--src/widget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/widget.cpp b/src/widget.cpp
index 2d7c9ad2c..6e3db2595 100644
--- a/src/widget.cpp
+++ b/src/widget.cpp
@@ -4,12 +4,13 @@
#include "stdafx.h"
#include "openttd.h"
-#include "functions.h"
#include "player.h"
#include "table/sprites.h"
#include "table/strings.h"
#include "viewport.h"
#include "window_gui.h"
+#include "window_func.h"
+
static Point HandleScrollbarHittest(const Scrollbar *sb, int top, int bottom)
{