1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2025-04-21 12:27:27 +03:00

Don't pass around naked Surface pointers when drawing

Use references instead.
This commit is contained in:
Maarten ter Huurne
2014-08-10 04:26:59 +02:00
parent 20c5ec4eb6
commit aff5f53f7d
34 changed files with 255 additions and 220 deletions

View File

@@ -23,8 +23,7 @@ public:
bool handleTS();
void paint(Surface *s);
void paint() { paint(gmenu2x->s); }
void paint(Surface& s);
private:
void recalcRects();