CCNode+CCBRelativePositioning.h 531 B

1234567891011121314
  1. #ifndef __CCB_CCNODE_RELATIVEPOSITIONING_H__
  2. #define __CCB_CCNODE_RELATIVEPOSITIONING_H__
  3. #include "editor-support/cocosbuilder/CCBReader.h"
  4. namespace cocosbuilder {
  5. extern CC_DLL cocos2d::Vec2 getAbsolutePosition(const cocos2d::Vec2 &pt, CCBReader::PositionType type, const cocos2d::Size &containerSize, const std::string&propName);
  6. extern CC_DLL void setRelativeScale(cocos2d::Node *node, float scaleX, float scaleY, CCBReader::ScaleType type, const std::string& propName);
  7. }
  8. #endif // __CCB_CCNODE_RELATIVEPOSITIONING_H__