mirror of
git://projects.qi-hardware.com/gmenu2x.git
synced 2025-02-17 00:04:43 +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 {
|
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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user