mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
cc_draw: remove virtual from position setters
This commit is contained in:
@@ -233,14 +233,14 @@ bool CComponentsItem::isAdded()
|
||||
|
||||
void CComponentsItem::setXPos(const int& xpos)
|
||||
{
|
||||
CCDraw::setXPos(xpos);
|
||||
x = xpos;
|
||||
if (cc_parent)
|
||||
cc_xr = cc_parent->getRealXPos() + x;
|
||||
}
|
||||
|
||||
void CComponentsItem::setYPos(const int& ypos)
|
||||
{
|
||||
CCDraw::setYPos(ypos);
|
||||
y = ypos;
|
||||
if (cc_parent)
|
||||
cc_yr = cc_parent->getRealYPos() + y;
|
||||
}
|
||||
|
Reference in New Issue
Block a user