diff options
author | Sam Atkins <atkinssj@serenityos.org> | 2022-09-28 12:27:19 +0100 |
---|---|---|
committer | Sam Atkins <atkinssj@gmail.com> | 2022-10-10 16:16:01 +0100 |
commit | bfa9ae809f28d3480858c391928b05a44f432f3e (patch) | |
tree | 1706c769f51a289706adbbc1cf9d9bb692ef85d7 /Userland/Games/Spider | |
parent | 6ef0504a42c4122c28731762fdbc97dd7bfb6862 (diff) | |
download | serenity-bfa9ae809f28d3480858c391928b05a44f432f3e.zip |
LibCards+Games: Rename "draw" methods to "paint" for clarity
"Draw" is already a card-game term so using it for graphics was
confusing me a lot!
Diffstat (limited to 'Userland/Games/Spider')
-rw-r--r-- | Userland/Games/Spider/Game.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Games/Spider/Game.cpp b/Userland/Games/Spider/Game.cpp index af08e0da92..cd8f5a1582 100644 --- a/Userland/Games/Spider/Game.cpp +++ b/Userland/Games/Spider/Game.cpp @@ -201,12 +201,12 @@ void Game::paint_event(GUI::PaintEvent& event) } for (auto& stack : stacks()) { - stack.draw(painter, background_color); + stack.paint(painter, background_color); } if (!m_focused_cards.is_empty()) { for (auto& focused_card : m_focused_cards) { - focused_card.draw(painter); + focused_card.paint(painter); focused_card.save_old_position(); } } |