mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 22:17:44 +00:00
LibGfx+GameOfLife: Remove Gfx::make_rgb() and its one user
This commit is contained in:
parent
fd57ecfdcf
commit
5c4bb03926
2 changed files with 1 additions and 6 deletions
|
@ -139,7 +139,7 @@ void BoardWidget::paint_event(GUI::PaintEvent& event)
|
|||
|
||||
bool on = m_board->cell(row, column);
|
||||
if (on) {
|
||||
fill_color = Color::from_rgb(Gfx::make_rgb(220, 220, 80));
|
||||
fill_color = Color::from_rgb(0xdcdc50);
|
||||
} else {
|
||||
fill_color = Color::MidGray;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue