simplify Window::Clear()
This commit is contained in:
@@ -225,9 +225,7 @@ void Window::Refresh(bool stub)
|
|||||||
|
|
||||||
void Window::Clear(bool stub)
|
void Window::Clear(bool stub)
|
||||||
{
|
{
|
||||||
for (int i = 0; i < GetHeight(); i++)
|
werase(itsWindow);
|
||||||
mvwhline(itsWindow, i, 0, 32, GetWidth());
|
|
||||||
wrefresh(itsWindow);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Window::Hide(char x) const
|
void Window::Hide(char x) const
|
||||||
|
|||||||
Reference in New Issue
Block a user