src/widget.cpp
changeset 8602 9e75e594a068
parent 8578 55218950ce2d
child 8617 931e0970d509
equal deleted inserted replaced
8601:6b2ddb5baade 8602:9e75e594a068
     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;