CProgressBar: add own position methodes

NOTE: not required in branch pu/fb-setmode, remove this after merge!


Origin commit data
------------------
Branch: ni/coolstream
Commit: cffab5f8f9
Author: Thilo Graf <dbt@novatux.de>
Date: 2017-04-25 (Tue, 25 Apr 2017)



------------------
This commit was generated by Migit
This commit is contained in:
2017-04-25 09:55:51 +02:00
parent 5b9d1ba1f6
commit a3875a8f51

View File

@@ -157,6 +157,9 @@ class CProgressBar : public CComponentsItem
//set gradient (overides g_settings.theme.progressbar_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__ */