1
0
mirror of git://projects.qi-hardware.com/gmenu2x.git synced 2024-11-26 03:22:48 +02:00

Restrict access to Link::recalcCoordinates()

This method was only called from within the Link class itself.
This commit is contained in:
Maarten ter Huurne 2013-07-31 19:32:47 +02:00
parent dd55b7290b
commit a7b31669bb

View File

@ -37,6 +37,8 @@ Base class that represents a link on screen.
*/
class Link : public Button {
private:
void recalcCoordinates();
function_t action;
uint iconX, padding;
@ -48,7 +50,6 @@ protected:
Surface *iconSurface;
Surface *icon_hover;
void recalcCoordinates();
void updateSurfaces();
public: