1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-24 03:55:06 +00:00

Some color cleanup.

This commit is contained in:
Andreas Kling 2018-10-12 23:02:23 +02:00
parent aceedaf957
commit e16d145cb4
9 changed files with 27 additions and 22 deletions

View file

@ -22,8 +22,8 @@ void ClockWidget::onPaint(PaintEvent&)
sprintf(timeBuf, "%02u:%02u:%02u ", tm.tm_hour, tm.tm_min, tm.tm_sec);
Painter painter(*this);
painter.fillRect(rect(), Color(127, 127, 127));
painter.drawText(rect(), timeBuf, Painter::TextAlignment::Center, Color(0,0,0));
painter.fillRect(rect(), Color::MidGray);
painter.drawText(rect(), timeBuf, Painter::TextAlignment::Center, Color::Black);
}
void ClockWidget::onTimer(TimerEvent&)