1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 09:37:34 +00:00

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!
This commit is contained in:
Sam Atkins 2022-09-28 12:27:19 +01:00 committed by Sam Atkins
parent 6ef0504a42
commit bfa9ae809f
8 changed files with 17 additions and 17 deletions

View file

@ -52,7 +52,7 @@ public:
bool is_allowed_to_push(Card const&, size_t stack_size = 1, MovementRule movement_rule = MovementRule::Alternating) const;
void add_all_grabbed_cards(Gfx::IntPoint const& click_location, NonnullRefPtrVector<Card>& grabbed, MovementRule movement_rule = MovementRule::Alternating);
void draw(GUI::Painter&, Gfx::Color const& background_color);
void paint(GUI::Painter&, Gfx::Color const& background_color);
void clear();
private: