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
|
|
|
|
|
2013-06-20 14:15:53 +08:00
|
|
|
extern Point getAbsolutePosition(const Point &pt, int nType, const Size &containerSize, const char *pPropName);
|
2012-09-17 14:27:17 +08:00
|
|
|
|
2013-06-20 14:15:53 +08:00
|
|
|
extern void setRelativeScale(Node *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__
|