mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 03:55:06 +00:00
Some color cleanup.
This commit is contained in:
parent
aceedaf957
commit
e16d145cb4
9 changed files with 27 additions and 22 deletions
|
@ -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&)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue