cc_draw.cpp/h: move position members into cpp file

clean up
This commit is contained in:
2018-12-07 21:41:19 +01:00
parent d9e66f4142
commit c7f8392ef6
2 changed files with 34 additions and 14 deletions

View File

@@ -194,15 +194,15 @@ class CCDraw : public COSDFader, public CComponentsSignals, public CCTypes
///return screen x-position of component
///Note: position of bound components (items) means position related within parent form, not for screen!
///to get the real screen position, use getRealXPos(), to find in CComponentsItem sub classes
int getXPos(){return x;};
int getXPos();
///return screen y-position of component
///Note: position of bound components (items) means position related within parent form, not for screen!
///to get the real screen position, use getRealYPos(), to find in CComponentsItem sub classes
int getYPos(){return y;}
int getYPos();
///return height of component
int getHeight(){return height;}
int getHeight();
///return width of component
int getWidth(){return width;}
int getWidth();
///return/set (pass through) width and height of component
void getSize(int* w, int* h){*w=width; *h=height;}