1234567891011121314 |
- #ifndef __RED_CCNODE_RELATIVEPOSITIONING_H__
- #define __RED_CCNODE_RELATIVEPOSITIONING_H__
- #include "REDReader.h"
- namespace redream {
- extern CC_DLL cocos2d::Vec2 getAbsolutePosition(const cocos2d::Vec2 &pt, REDReader::PositionType type, const cocos2d::Size &containerSize, const std::string&propName);
- extern CC_DLL void setRelativeScale(cocos2d::Node *node, float scaleX, float scaleY, REDReader::ScaleType type, const std::string& propName);
- }
- #endif // __RED_CCNODE_RELATIVEPOSITIONING_H__
|