Skip to content

Commit d5a67db

Browse files
committed
CCSpriteFrame bindings
1 parent 189bca9 commit d5a67db

1 file changed

Lines changed: 17 additions & 5 deletions

File tree

bindings/2.2074/Cocos2d.bro

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4886,19 +4886,31 @@ class cocos2d::CCSpriteFrame : cocos2d::CCObject {
48864886
bool initWithTextureFilename(char const*, cocos2d::CCRect const&, bool, cocos2d::CCPoint const&, cocos2d::CCSize const&) = imac 0x3445a0, m1 0x2d9a18, ios 0x24d2dc;
48874887

48884888
cocos2d::CCPoint const& getOffset() = m1 0x2d9f70, imac 0x344c50, ios 0x24d5e4;
4889-
cocos2d::CCPoint const& getOffsetInPixels();
4889+
cocos2d::CCPoint const& getOffsetInPixels() = m1 0x2d9fe4, imac 0x344cf0, ios 0x24d5ec;
48904890
cocos2d::CCSize const& getOriginalSize();
48914891
cocos2d::CCSize const& getOriginalSizeInPixels();
48924892
cocos2d::CCRect const& getRect();
48934893
cocos2d::CCRect const& getRectInPixels();
48944894
cocos2d::CCTexture2D* getTexture() = imac 0x344d90, m1 0x2da058, ios 0x24d5f4;
48954895

4896-
void setOffset(cocos2d::CCPoint const&) = imac 0x344c60, m1 0x2d9f78;
4897-
void setOffsetInPixels(cocos2d::CCPoint const&) = imac 0x344d00, m1 0x2d9fec;
4896+
void setOffset(cocos2d::CCPoint const&) = imac 0x344c60, m1 0x2d9f78, ios inline {
4897+
m_obOffset = p0;
4898+
m_obOffsetInPixels = CC_POINT_POINTS_TO_PIXELS(m_obOffset);
4899+
}
4900+
void setOffsetInPixels(cocos2d::CCPoint const&) = imac 0x344d00, m1 0x2d9fec, ios inline {
4901+
m_obOffsetInPixels = p0;
4902+
m_obOffset = CC_POINT_PIXELS_TO_POINTS(m_obOffsetInPixels);
4903+
}
48984904
void setOriginalSize(cocos2d::CCSize const&);
48994905
void setOriginalSizeInPixels(cocos2d::CCSize const&);
4900-
void setRect(cocos2d::CCRect const&) = imac 0x344a90, m1 0x2d9e34;
4901-
void setRectInPixels(cocos2d::CCRect const&) = imac 0x344b70, m1 0x2d9ed0;
4906+
void setRect(cocos2d::CCRect const&) = imac 0x344a90, m1 0x2d9e34, ios inline {
4907+
m_obRect = p0;
4908+
m_obRectInPixels = CC_RECT_POINTS_TO_PIXELS(m_obRect);
4909+
}
4910+
void setRectInPixels(cocos2d::CCRect const&) = imac 0x344b70, m1 0x2d9ed0, ios inline {
4911+
m_obRectInPixels = p0;
4912+
m_obRect = CC_RECT_PIXELS_TO_POINTS(p0);
4913+
}
49024914
void setRotated(bool);
49034915
void setTexture(cocos2d::CCTexture2D*) = imac 0x344a50, m1 0x2d9df0, ios 0x24d5a0;
49044916

0 commit comments

Comments
 (0)