CComponents: rename and move real position attributes

These attributes are better placed in the basic class.
This commit is contained in:
2013-05-31 21:00:51 +02:00
parent d3d0bff7ac
commit 3c5f4867fb
3 changed files with 17 additions and 16 deletions

View File

@@ -58,6 +58,8 @@ void CComponents::initVarBasic()
{
x = saved_screen.x = 0;
y = saved_screen.y = 0;
cc_xr = x;
cc_yr = y;
height = saved_screen.dy = CC_HEIGHT_MIN;
width = saved_screen.dx = CC_WIDTH_MIN;