mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 05:27:46 +00:00
The WindowManager can now react to mouse events on the window title bar.
This commit is contained in:
parent
5d125e40d9
commit
22721e6729
4 changed files with 56 additions and 25 deletions
|
@ -16,7 +16,6 @@ void RootWidget::onPaint(PaintEvent& event)
|
|||
//printf("RootWidget::onPaint\n");
|
||||
Painter painter(*this);
|
||||
painter.fillRect(Rect(0, 0, 800, 600), Color(0x40, 0x40, 0x40));
|
||||
WindowManager::the().paintWindowFrames();
|
||||
Widget::onPaint(event);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue