mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:08:13 +00:00
Make it possible to invalidate only a portion of a window.
Use this in Terminal to only invalidate rows where anything changed.
This commit is contained in:
parent
9d7da26b4e
commit
dff70021ab
15 changed files with 91 additions and 15 deletions
|
@ -75,7 +75,7 @@ void WSWindow::event(WSEvent& event)
|
|||
gui_event.key.character = static_cast<KeyEvent&>(event).text()[0];
|
||||
break;
|
||||
case WSEvent::WM_Invalidate:
|
||||
WSWindowManager::the().invalidate(*this);
|
||||
WSWindowManager::the().invalidate(*this, event.rect());
|
||||
return;
|
||||
case WSEvent::WindowActivated:
|
||||
gui_event.type = GUI_Event::Type::WindowActivated;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue