CProgressBar: add own position methodes

NOTE: not required in branch pu/fb-setmode, remove this after merge!
This commit is contained in:
2017-04-25 09:55:51 +02:00
parent 8e3390687c
commit cffab5f8f9

View File

@@ -157,6 +157,9 @@ class CProgressBar : public CComponentsItem
//set gradient (overides g_settings.theme.progressbar_gradient) //set gradient (overides g_settings.theme.progressbar_gradient)
void setGradient(int &gradient) { pb_gradient = &gradient; } void setGradient(int &gradient) { pb_gradient = &gradient; }
void setXPos(const int& xpos){CCDraw::setXPos(xpos);}
void setYPos(const int& ypos){CCDraw::setYPos(ypos);}
}; };
#endif /* __CC_PROGRESSBAR_H__ */ #endif /* __CC_PROGRESSBAR_H__ */