equal
deleted
inserted
replaced
6 #include "openttd.h" |
6 #include "openttd.h" |
7 #include "functions.h" |
7 #include "functions.h" |
8 #include "player.h" |
8 #include "player.h" |
9 #include "table/sprites.h" |
9 #include "table/sprites.h" |
10 #include "table/strings.h" |
10 #include "table/strings.h" |
11 #include "window.h" |
|
12 #include "gfx.h" |
11 #include "gfx.h" |
13 #include "viewport.h" |
12 #include "viewport.h" |
|
13 #include "window_gui.h" |
14 |
14 |
15 static Point HandleScrollbarHittest(const Scrollbar *sb, int top, int bottom) |
15 static Point HandleScrollbarHittest(const Scrollbar *sb, int top, int bottom) |
16 { |
16 { |
17 Point pt; |
17 Point pt; |
18 int height, count, pos, cap; |
18 int height, count, pos, cap; |