1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:47:45 +00:00

More hacking on Widgets.

This commit is contained in:
Andreas Kling 2018-10-11 01:48:09 +02:00
parent aee66e0119
commit f337616741
15 changed files with 135 additions and 19 deletions

View file

@ -14,7 +14,7 @@ void RootWidget::onPaint(PaintEvent& event)
{
printf("RootWidget::onPaint\n");
Painter painter(*this);
painter.fillRect(Rect(0, 0, 800, 600), Color(0x80, 0x80, 0x80));
painter.fillRect(Rect(0, 0, 800, 600), Color(0x40, 0x40, 0x40));
Widget::onPaint(event);
}