mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-28 08:59:09 +00:00
(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already.
This commit is contained in:
@@ -591,16 +591,6 @@ void Window::SetDirty() const
|
||||
SetDirtyBlocks(this->left, this->top, this->left + this->width, this->top + this->height);
|
||||
}
|
||||
|
||||
/**
|
||||
* Mark entire window as dirty (in need of re-paint)
|
||||
* @param w Window to redraw
|
||||
* @ingroup dirty
|
||||
*/
|
||||
void SetWindowDirty(const Window *w)
|
||||
{
|
||||
if (w != NULL) w->SetDirty();
|
||||
}
|
||||
|
||||
/** Re-initialize a window. */
|
||||
void Window::ReInit()
|
||||
{
|
||||
|
Reference in New Issue
Block a user