mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2024-11-26 04:01:53 +02:00
Restrict access to Link::recalcCoordinates()
This method was only called from within the Link class itself.
This commit is contained in:
parent
dd55b7290b
commit
a7b31669bb
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user