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
commit429521a7d1f549ba3f9a287885c42f400f5e960f (patch)
tree54a33aa10dd79668da9f46e61e427ace39f5d37f /src/widget.cpp
parentbf98e25e43c3f6efe207c3dde1732d44c34ac285 (diff)
downloadopenttd-429521a7d1f549ba3f9a287885c42f400f5e960f.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)
{