mirror of https://github.com/axmolengine/axmol.git
15 lines
491 B
C++
15 lines
491 B
C++
#ifndef __CCB_CCNODE_RELATIVEPOSITIONING_H__
|
|
#define __CCB_CCNODE_RELATIVEPOSITIONING_H__
|
|
|
|
#include "CCBReader.h"
|
|
|
|
namespace cocosbuilder {
|
|
|
|
extern cocos2d::Point getAbsolutePosition(const cocos2d::Point &pt, CCBReader::PositionType type, const cocos2d::Size &containerSize, const std::string&propName);
|
|
|
|
extern void setRelativeScale(cocos2d::Node *node, float scaleX, float scaleY, CCBReader::ScaleType type, const std::string& propName);
|
|
|
|
}
|
|
|
|
#endif // __CCB_CCNODE_RELATIVEPOSITIONING_H__
|