diff options
author | frosch <frosch@openttd.org> | 2009-09-13 17:37:47 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2009-09-13 17:37:47 +0000 |
commit | 734edc178db2d134923ed887b17242bbce55c802 (patch) | |
tree | 281fe56953557f05c066121821967366632a7edd /src/window.cpp | |
parent | 53cc397607222c9c1a8b56c545c5050dbc306b41 (diff) | |
download | openttd-734edc178db2d134923ed887b17242bbce55c802.tar.xz |
(svn r17525) -Cleanup: Remove SetWindowDirty(), it is completely covered by other functions already.
Diffstat (limited to 'src/window.cpp')
-rw-r--r-- | src/window.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/window.cpp b/src/window.cpp index 70fee8754..222dd04d1 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -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() { |