simplify Window::Clear()

This commit is contained in:
unK
2008-09-13 22:07:15 +02:00
parent c54de64176
commit 8bdda428bb

View File

@@ -225,9 +225,7 @@ void Window::Refresh(bool stub)
void Window::Clear(bool stub)
{
for (int i = 0; i < GetHeight(); i++)
mvwhline(itsWindow, i, 0, 32, GetWidth());
wrefresh(itsWindow);
werase(itsWindow);
}
void Window::Hide(char x) const