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:
@@ -23,8 +23,7 @@ public:
|
||||
|
||||
bool handleTS();
|
||||
|
||||
void paint(Surface *s);
|
||||
void paint() { paint(gmenu2x->s); }
|
||||
void paint(Surface& s);
|
||||
|
||||
private:
|
||||
void recalcRects();
|
||||
|
||||
Reference in New Issue
Block a user