Some color cleanup.

This commit is contained in:
Andreas Kling 2018-10-12 23:02:23 +02:00
commit e16d145cb4
Notes: sideshowbarker 2024-07-19 18:49:38 +09:00
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&)