Mercurial > hg > openttd
comparison src/widget.cpp @ 8131:e300ac8001ae draft
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
author | rubidium <rubidium@openttd.org> |
---|---|
date | Tue, 25 Dec 2007 11:26:07 +0000 |
parents | 89722abcfd91 |
children | c45446125bf0 |
comparison
equal
deleted
inserted
replaced
8130:0586823afe39 | 8131:e300ac8001ae |
---|---|
2 | 2 |
3 /** @file widget.cpp */ | 3 /** @file widget.cpp */ |
4 | 4 |
5 #include "stdafx.h" | 5 #include "stdafx.h" |
6 #include "openttd.h" | 6 #include "openttd.h" |
7 #include "functions.h" | |
8 #include "player.h" | 7 #include "player.h" |
9 #include "table/sprites.h" | 8 #include "table/sprites.h" |
10 #include "table/strings.h" | 9 #include "table/strings.h" |
11 #include "viewport.h" | 10 #include "viewport.h" |
12 #include "window_gui.h" | 11 #include "window_gui.h" |
12 #include "window_func.h" | |
13 | |
13 | 14 |
14 static Point HandleScrollbarHittest(const Scrollbar *sb, int top, int bottom) | 15 static Point HandleScrollbarHittest(const Scrollbar *sb, int top, int bottom) |
15 { | 16 { |
16 Point pt; | 17 Point pt; |
17 int height, count, pos, cap; | 18 int height, count, pos, cap; |