summaryrefslogtreecommitdiff
path: root/src/viewport.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-19 09:24:03 +0000
committerrubidium <rubidium@openttd.org>2008-05-19 09:24:03 +0000
commit8560c8f16f353fd319ce8ff08d587a6c15246220 (patch)
treef7050c647a5d643fea9eb8b9c90d71393901622d /src/viewport.cpp
parent03f1292332655301dcdd1b8da353025059af6509 (diff)
downloadopenttd-8560c8f16f353fd319ce8ff08d587a6c15246220.tar.xz
(svn r13182) -Doc: add documentation to mostly rail_gui related functions. Patch by Alberth.
Diffstat (limited to 'src/viewport.cpp')
-rw-r--r--src/viewport.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/viewport.cpp b/src/viewport.cpp
index 2a78983a9..030bdff17 100644
--- a/src/viewport.cpp
+++ b/src/viewport.cpp
@@ -2661,7 +2661,10 @@ calc_heightdiff_single_direction:;
_thd.selend.y = y;
}
-/** while dragging */
+/**
+ * Handle the mouse while dragging for placement/resizing.
+ * @return Boolean whether search for a handler should continue
+ */
bool VpHandlePlaceSizingDrag()
{
if (_special_mouse_mode != WSM_SIZING) return true;