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:
parent
6ef0504a42
commit
bfa9ae809f
8 changed files with 17 additions and 17 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue