mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
Everywhere: Run clang-format
This commit is contained in:
parent
0376c127f6
commit
086969277e
1665 changed files with 8479 additions and 8479 deletions
|
@ -148,7 +148,7 @@ void Card::draw(GUI::Painter& painter) const
|
|||
painter.blit(position(), m_upside_down ? *s_background : *m_front, m_front->rect());
|
||||
}
|
||||
|
||||
void Card::clear(GUI::Painter& painter, const Color& background_color) const
|
||||
void Card::clear(GUI::Painter& painter, Color const& background_color) const
|
||||
{
|
||||
painter.fill_rect({ old_position(), { width, height } }, background_color);
|
||||
}
|
||||
|
@ -159,7 +159,7 @@ void Card::save_old_position()
|
|||
m_old_position_valid = true;
|
||||
}
|
||||
|
||||
void Card::clear_and_draw(GUI::Painter& painter, const Color& background_color)
|
||||
void Card::clear_and_draw(GUI::Painter& painter, Color const& background_color)
|
||||
{
|
||||
if (is_old_position_valid())
|
||||
clear(painter, background_color);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue