1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 07:17:35 +00:00

Start working on a GUI kernel API.

This commit is contained in:
Andreas Kling 2019-01-13 01:59:38 +01:00
parent becc2c7fa5
commit 8f8c8d1ca3
17 changed files with 150 additions and 11 deletions

View file

@ -43,6 +43,7 @@ void Window::setRect(const Rect& rect)
return;
auto oldRect = m_rect;
m_rect = rect;
dbgprintf("Window::setRect %d,%d %dx%d\n", m_rect.x(), m_rect.y(), m_rect.width(), m_rect.height());
m_backing = GraphicsBitmap::create(m_rect.size());
WindowManager::the().notifyRectChanged(*this, oldRect, m_rect);
}