1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 12:47:35 +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

@ -106,9 +106,9 @@ public:
void save_old_position();
void draw(GUI::Painter&) const;
void paint(GUI::Painter&) const;
void clear(GUI::Painter&, Color const& background_color) const;
void clear_and_draw(GUI::Painter&, Color const& background_color);
void clear_and_paint(GUI::Painter& painter, Color const& background_color);
private:
Card(Suit, Rank);