mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-04-21 12:27:27 +03:00
Restrict access to Link::recalcCoordinates()
This method was only called from within the Link class itself.
This commit is contained in:
@@ -37,6 +37,8 @@ Base class that represents a link on screen.
|
|||||||
*/
|
*/
|
||||||
class Link : public Button {
|
class Link : public Button {
|
||||||
private:
|
private:
|
||||||
|
void recalcCoordinates();
|
||||||
|
|
||||||
function_t action;
|
function_t action;
|
||||||
uint iconX, padding;
|
uint iconX, padding;
|
||||||
|
|
||||||
@@ -48,7 +50,6 @@ protected:
|
|||||||
Surface *iconSurface;
|
Surface *iconSurface;
|
||||||
Surface *icon_hover;
|
Surface *icon_hover;
|
||||||
|
|
||||||
void recalcCoordinates();
|
|
||||||
void updateSurfaces();
|
void updateSurfaces();
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|||||||
Reference in New Issue
Block a user