summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2009-03-29 09:49:11 +0000
committeralberth <alberth@openttd.org>2009-03-29 09:49:11 +0000
commit9d2738b9c4c917fef1435276f7963c05fad817de (patch)
tree46a8610446402593770a93a3a51e586061127c7b /src/window_gui.h
parent7a9a5cd139e924b966599e459db2f1fbdbcdf286 (diff)
downloadopenttd-9d2738b9c4c917fef1435276f7963c05fad817de.tar.xz
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 603280298..d35faa441 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -497,11 +497,10 @@ public:
/**
- * Called when the window got resized.
- * @param new_size the new size of the window.
- * @param delta the amount of which the window size changed.
+ * Called after the window got resized.
+ * @param delta The amount of which the window size changed.
*/
- virtual void OnResize(Point new_size, Point delta) {}
+ virtual void OnResize(Point delta) {}
/**
* A dropdown option associated to this window has been selected.