void sRect::ScalePosRes(void) { float x = CCGetWorkspaceWidth()/(float)640; float y = CCGetWorkspaceHeight()/(float)480; ScalePos(x, y); }
void MRECT::ScalePosRes(void) { float x = MGetWorkspaceWidth()/(float)640; float y = MGetWorkspaceHeight()/(float)480; ScalePos(x, y); }
void MRECT::ScalePosRes() { float x = MGetWorkspaceWidth() / 640.f; float y = MGetWorkspaceHeight() / 480.f; ScalePos(x, y); }