(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback

This commit is contained in:
alberth
2009-03-29 09:49:11 +00:00
parent 5298b5ef68
commit bbd546b792
23 changed files with 39 additions and 49 deletions

View File

@@ -1003,7 +1003,7 @@ struct DepotWindow : Window {
_cursor.vehchain = false;
}
virtual void OnResize(Point new_size, Point delta)
virtual void OnResize(Point delta)
{
this->vscroll.cap += delta.y / (int)this->resize.step_height;
this->hscroll.cap += delta.x / (int)this->resize.step_width;