diff options
author | Peter Nelson <peter1138@openttd.org> | 2018-05-20 09:58:36 +0100 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-01-11 11:56:21 +0000 |
commit | 806e7d25dddcc8b0e9c3f372ed956c63c6508381 (patch) | |
tree | d79d90933423d8cafef1420cd200bc506a138713 /src/smallmap_gui.h | |
parent | 59fe4f28c8f0bf47e7af40095dc6fba145188930 (diff) | |
download | openttd-806e7d25dddcc8b0e9c3f372ed956c63c6508381.tar.xz |
Change: Use GUITimer class instead of bare int/uints.
Diffstat (limited to 'src/smallmap_gui.h')
-rw-r--r-- | src/smallmap_gui.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/smallmap_gui.h b/src/smallmap_gui.h index 60b39b7a3..486f2a652 100644 --- a/src/smallmap_gui.h +++ b/src/smallmap_gui.h @@ -19,6 +19,7 @@ #include "blitter/factory.hpp" #include "linkgraph/linkgraph_gui.h" #include "widgets/smallmap_widget.h" +#include "guitimer_func.h" /* set up the cargos to be displayed in the smallmap's route legend */ void BuildLinkStatsLegend(); @@ -79,7 +80,7 @@ protected: int32 subscroll; ///< Number of pixels (0..3) between the right end of the base tile and the pixel at the top-left corner of the smallmap display. int zoom; ///< Zoom level. Bigger number means more zoom-out (further away). - int refresh; ///< Refresh timer, in millseconds. + GUITimer refresh; ///< Refresh timer. LinkGraphOverlay *overlay; static void BreakIndustryChainLink(); |