summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-05-18 12:40:38 +0000
committerrubidium <rubidium@openttd.org>2008-05-18 12:40:38 +0000
commitfc4393dcfee86962549736b429f69cc551ea1ab3 (patch)
tree714f6bb8fc38d8b835bffc7a3eaa83e7e6e08e5a /src/window.cpp
parenta4260474410a86019f2ab80a329141afd7db79ce (diff)
downloadopenttd-fc4393dcfee86962549736b429f69cc551ea1ab3.tar.xz
(svn r13160) -Codechange: prepare GUIPlaceProcDragXY for the removal of WindowEvent.
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 5d791d807..5e6a2f1b9 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -178,7 +178,7 @@ void Window::OnPlaceObjectAbort()
}
-void Window::OnPlaceDrag(ViewportPlaceMethod select_method, byte select_proc, Point pt)
+void Window::OnPlaceDrag(ViewportPlaceMethod select_method, ViewportDragDropSelectionProcess select_proc, Point pt)
{
WindowEvent e;
e.event = WE_PLACE_DRAG;
@@ -188,7 +188,7 @@ void Window::OnPlaceDrag(ViewportPlaceMethod select_method, byte select_proc, Po
this->HandleWindowEvent(&e);
}
-void Window::OnPlaceMouseUp(ViewportPlaceMethod select_method, byte select_proc, Point pt, TileIndex start_tile, TileIndex end_tile)
+void Window::OnPlaceMouseUp(ViewportPlaceMethod select_method, ViewportDragDropSelectionProcess select_proc, Point pt, TileIndex start_tile, TileIndex end_tile)
{
WindowEvent e;
e.event = WE_PLACE_MOUSEUP;