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:
parent
22721e6729
commit
64127e0637
7 changed files with 80 additions and 14 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue