mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:17:44 +00:00
Window contents move along with the window!
This commit is contained in:
parent
64127e0637
commit
6f6f9bd84d
10 changed files with 48 additions and 7 deletions
|
@ -105,3 +105,9 @@ Widget::HitTestResult Widget::hitTest(int x, int y)
|
|||
return { this, x, y };
|
||||
}
|
||||
|
||||
void Widget::setWindow(Window* window)
|
||||
{
|
||||
if (m_window == window)
|
||||
return;
|
||||
m_window = window;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue