1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 10:37:45 +00:00

Very hacky support for dragging a window around.

This commit is contained in:
Andreas Kling 2018-10-12 02:24:05 +02:00
parent 22721e6729
commit 64127e0637
7 changed files with 80 additions and 14 deletions

View file

@ -49,7 +49,7 @@ void Widget::event(Event& event)
void Widget::onPaint(PaintEvent& event)
{
printf("Widget::onPaint :)\n");
//printf("Widget::onPaint :)\n");
for (auto* ch : children()) {
auto* child = (Widget*)ch;
child->onPaint(event);