2012-09-17 14:27:17 +08:00
|
|
|
#ifndef __CCB_CCNODE_RELATIVEPOSITIONING_H__
|
|
|
|
#define __CCB_CCNODE_RELATIVEPOSITIONING_H__
|
|
|
|
|
|
|
|
#include "cocos2d.h"
|
|
|
|
#include "ExtensionMacros.h"
|
|
|
|
|
|
|
|
NS_CC_EXT_BEGIN
|
|
|
|
|
2012-09-24 11:08:10 +08:00
|
|
|
extern CCPoint getAbsolutePosition(const CCPoint &pt, int nType, const CCSize &containerSize, const char *pPropName);
|
2012-09-17 14:27:17 +08:00
|
|
|
|
2012-09-24 11:08:10 +08:00
|
|
|
extern void setRelativeScale(CCNode *pNode, float fScaleX, float fScaleY, int nType, const char* pPropName);
|
2012-09-17 14:27:17 +08:00
|
|
|
|
|
|
|
NS_CC_EXT_END
|
|
|
|
|
|
|
|
#endif // __CCB_CCNODE_RELATIVEPOSITIONING_H__
|