simplify Clear() in Window and its derivatives

it removes argument responsible for immediate refreshing.
since after all calls that were refreshing screen there was
call to Refresh() anyway, this switch doesn't make much sense.
This commit is contained in:
Andrzej Rybczak
2009-11-13 15:59:18 +01:00
parent b83adc01b9
commit 495ec25a0a
17 changed files with 53 additions and 62 deletions

View File

@@ -102,10 +102,9 @@ namespace NCurses
virtual void Resize(size_t new_width, size_t new_height);
/// Cleares the content of scrollpad
/// @param clear_screen indicates whether window has to be cleared imediately or not
/// @see Window::Clear()
///
virtual void Clear(bool clear_screen = 1);
virtual void Clear();
/// Sets starting position to the beginning
///