mirror of https://github.com/axmolengine/axmol.git
[ci skip][AUTO]: updating luabinding & jsbinding automatically
This commit is contained in:
parent
4dff2c90e4
commit
09cbc2145d
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -485,6 +485,68 @@ bool js_cocos2dx_Follow_isBoundarySet(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_Follow_create(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_Follow_create(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_Follow_Follow(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_Follow_Follow(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
|
||||||
|
extern JSClass *jsb_cocos2d_Image_class;
|
||||||
|
extern JSObject *jsb_cocos2d_Image_prototype;
|
||||||
|
|
||||||
|
bool js_cocos2dx_Image_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
void js_cocos2dx_Image_finalize(JSContext *cx, JSObject *obj);
|
||||||
|
void js_register_cocos2dx_Image(JSContext *cx, JS::HandleObject global);
|
||||||
|
void register_all_cocos2dx(JSContext* cx, JS::HandleObject obj);
|
||||||
|
bool js_cocos2dx_Image_hasPremultipliedAlpha(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_getDataLen(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_saveToFile(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_hasAlpha(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_isCompressed(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_getHeight(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_initWithImageFile(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_getWidth(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_getBitPerPixel(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_getFileType(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_getNumberOfMipmaps(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_getRenderFormat(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_getData(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_getMipmaps(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_initWithRawData(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_setPVRImagesHavePremultipliedAlpha(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_Image_Image(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
|
||||||
|
extern JSClass *jsb_cocos2d_GLProgramState_class;
|
||||||
|
extern JSObject *jsb_cocos2d_GLProgramState_prototype;
|
||||||
|
|
||||||
|
bool js_cocos2dx_GLProgramState_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
void js_cocos2dx_GLProgramState_finalize(JSContext *cx, JSObject *obj);
|
||||||
|
void js_register_cocos2dx_GLProgramState(JSContext *cx, JS::HandleObject global);
|
||||||
|
void register_all_cocos2dx(JSContext* cx, JS::HandleObject obj);
|
||||||
|
bool js_cocos2dx_GLProgramState_setUniformCallback(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_getVertexAttribsFlags(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_applyAutoBinding(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_setUniformVec2(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_setUniformVec3(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_setVertexAttribCallback(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_apply(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_getNodeBinding(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_applyGLProgram(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_setNodeBinding(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_setUniformInt(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_setParameterAutoBinding(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_setUniformVec2v(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_getUniformCount(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_applyAttributes(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_clone(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_setGLProgram(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_setUniformFloatv(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_getGLProgram(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_setUniformTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_applyUniforms(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_setUniformFloat(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_setUniformMat4(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_setUniformVec3v(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_getVertexAttribCount(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_create(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_getOrCreateWithGLProgramName(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_getOrCreateWithGLProgram(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_GLProgramState_getOrCreateWithShaders(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
|
||||||
extern JSClass *jsb_cocos2d_SpriteFrame_class;
|
extern JSClass *jsb_cocos2d_SpriteFrame_class;
|
||||||
extern JSObject *jsb_cocos2d_SpriteFrame_prototype;
|
extern JSObject *jsb_cocos2d_SpriteFrame_prototype;
|
||||||
|
|
||||||
|
@ -492,25 +554,25 @@ bool js_cocos2dx_SpriteFrame_constructor(JSContext *cx, uint32_t argc, jsval *vp
|
||||||
void js_cocos2dx_SpriteFrame_finalize(JSContext *cx, JSObject *obj);
|
void js_cocos2dx_SpriteFrame_finalize(JSContext *cx, JSObject *obj);
|
||||||
void js_register_cocos2dx_SpriteFrame(JSContext *cx, JS::HandleObject global);
|
void js_register_cocos2dx_SpriteFrame(JSContext *cx, JS::HandleObject global);
|
||||||
void register_all_cocos2dx(JSContext* cx, JS::HandleObject obj);
|
void register_all_cocos2dx(JSContext* cx, JS::HandleObject obj);
|
||||||
bool js_cocos2dx_SpriteFrame_clone(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_SpriteFrame_setRotated(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_SpriteFrame_setTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_SpriteFrame_setTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_SpriteFrame_getOffset(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_SpriteFrame_setRectInPixels(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_SpriteFrame_getTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_SpriteFrame_getTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_SpriteFrame_getRect(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_SpriteFrame_setOffsetInPixels(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_SpriteFrame_setOffsetInPixels(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_SpriteFrame_getRectInPixels(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_SpriteFrame_setOriginalSize(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_SpriteFrame_getOriginalSizeInPixels(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_SpriteFrame_getOriginalSizeInPixels(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_SpriteFrame_setOriginalSizeInPixels(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_SpriteFrame_setOriginalSize(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_SpriteFrame_setRectInPixels(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_SpriteFrame_getRect(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_SpriteFrame_setOffset(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_SpriteFrame_setOffset(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_SpriteFrame_initWithTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_SpriteFrame_isRotated(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_SpriteFrame_initWithTextureFilename(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_SpriteFrame_initWithTextureFilename(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_SpriteFrame_setRect(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_SpriteFrame_setRect(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_SpriteFrame_getOffsetInPixels(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_SpriteFrame_initWithTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_SpriteFrame_getOriginalSize(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_SpriteFrame_getOriginalSize(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_SpriteFrame_clone(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_SpriteFrame_getRectInPixels(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_SpriteFrame_isRotated(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_SpriteFrame_setRotated(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_SpriteFrame_getOffset(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_SpriteFrame_setOriginalSizeInPixels(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
bool js_cocos2dx_SpriteFrame_getOffsetInPixels(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_SpriteFrame_create(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_SpriteFrame_create(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_SpriteFrame_createWithTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_SpriteFrame_createWithTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_SpriteFrame_SpriteFrame(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_SpriteFrame_SpriteFrame(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
@ -2073,43 +2135,6 @@ void register_all_cocos2dx(JSContext* cx, JS::HandleObject obj);
|
||||||
bool js_cocos2dx_ActionTween_initWithDuration(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_ActionTween_initWithDuration(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_ActionTween_create(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_ActionTween_create(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
|
||||||
extern JSClass *jsb_cocos2d_GLProgramState_class;
|
|
||||||
extern JSObject *jsb_cocos2d_GLProgramState_prototype;
|
|
||||||
|
|
||||||
bool js_cocos2dx_GLProgramState_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
void js_cocos2dx_GLProgramState_finalize(JSContext *cx, JSObject *obj);
|
|
||||||
void js_register_cocos2dx_GLProgramState(JSContext *cx, JS::HandleObject global);
|
|
||||||
void register_all_cocos2dx(JSContext* cx, JS::HandleObject obj);
|
|
||||||
bool js_cocos2dx_GLProgramState_setUniformCallback(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_getVertexAttribsFlags(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_applyAutoBinding(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_setUniformVec2(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_setUniformVec3(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_setVertexAttribCallback(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_apply(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_getNodeBinding(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_applyGLProgram(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_setNodeBinding(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_setUniformInt(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_setParameterAutoBinding(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_setUniformVec2v(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_getUniformCount(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_applyAttributes(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_clone(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_setGLProgram(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_setUniformFloatv(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_getGLProgram(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_setUniformTexture(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_applyUniforms(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_setUniformFloat(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_setUniformMat4(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_setUniformVec3v(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_getVertexAttribCount(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_create(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_getOrCreateWithGLProgramName(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_getOrCreateWithGLProgram(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_GLProgramState_getOrCreateWithShaders(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
|
|
||||||
extern JSClass *jsb_cocos2d_AtlasNode_class;
|
extern JSClass *jsb_cocos2d_AtlasNode_class;
|
||||||
extern JSObject *jsb_cocos2d_AtlasNode_prototype;
|
extern JSObject *jsb_cocos2d_AtlasNode_prototype;
|
||||||
|
|
||||||
|
@ -2886,31 +2911,6 @@ bool js_cocos2dx_ProtectedNode_removeAllProtectedChildren(JSContext *cx, uint32_
|
||||||
bool js_cocos2dx_ProtectedNode_create(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_ProtectedNode_create(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
bool js_cocos2dx_ProtectedNode_ProtectedNode(JSContext *cx, uint32_t argc, jsval *vp);
|
bool js_cocos2dx_ProtectedNode_ProtectedNode(JSContext *cx, uint32_t argc, jsval *vp);
|
||||||
|
|
||||||
extern JSClass *jsb_cocos2d_Image_class;
|
|
||||||
extern JSObject *jsb_cocos2d_Image_prototype;
|
|
||||||
|
|
||||||
bool js_cocos2dx_Image_constructor(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
void js_cocos2dx_Image_finalize(JSContext *cx, JSObject *obj);
|
|
||||||
void js_register_cocos2dx_Image(JSContext *cx, JS::HandleObject global);
|
|
||||||
void register_all_cocos2dx(JSContext* cx, JS::HandleObject obj);
|
|
||||||
bool js_cocos2dx_Image_hasPremultipliedAlpha(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_getDataLen(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_saveToFile(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_hasAlpha(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_isCompressed(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_getHeight(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_initWithImageFile(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_getWidth(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_getBitPerPixel(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_getFileType(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_getNumberOfMipmaps(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_getRenderFormat(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_getData(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_getMipmaps(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_initWithRawData(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_setPVRImagesHavePremultipliedAlpha(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
bool js_cocos2dx_Image_Image(JSContext *cx, uint32_t argc, jsval *vp);
|
|
||||||
|
|
||||||
extern JSClass *jsb_cocos2d_Sprite_class;
|
extern JSClass *jsb_cocos2d_Sprite_class;
|
||||||
extern JSObject *jsb_cocos2d_Sprite_prototype;
|
extern JSObject *jsb_cocos2d_Sprite_prototype;
|
||||||
|
|
||||||
|
|
|
@ -4,20 +4,6 @@
|
||||||
-- @extend Ref
|
-- @extend Ref
|
||||||
-- @parent_module cc
|
-- @parent_module cc
|
||||||
|
|
||||||
--------------------------------
|
|
||||||
--
|
|
||||||
-- @function [parent=#SpriteFrame] clone
|
|
||||||
-- @param self
|
|
||||||
-- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame)
|
|
||||||
|
|
||||||
--------------------------------
|
|
||||||
-- Set rotated of the sprite frame.<br>
|
|
||||||
-- param rotated Rotated the sprite frame if true.
|
|
||||||
-- @function [parent=#SpriteFrame] setRotated
|
|
||||||
-- @param self
|
|
||||||
-- @param #bool rotated
|
|
||||||
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
-- Set texture of the frame, the texture is retained.<br>
|
-- Set texture of the frame, the texture is retained.<br>
|
||||||
-- param pobTexture The texture of the sprite frame.
|
-- param pobTexture The texture of the sprite frame.
|
||||||
|
@ -26,21 +12,6 @@
|
||||||
-- @param #cc.Texture2D pobTexture
|
-- @param #cc.Texture2D pobTexture
|
||||||
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
||||||
|
|
||||||
--------------------------------
|
|
||||||
-- Get offset of the frame.<br>
|
|
||||||
-- return The offset of the sprite frame.
|
|
||||||
-- @function [parent=#SpriteFrame] getOffset
|
|
||||||
-- @param self
|
|
||||||
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
|
||||||
|
|
||||||
--------------------------------
|
|
||||||
-- Set rect of the sprite frame.<br>
|
|
||||||
-- param rectInPixels The rect of the sprite frame, in pixels.
|
|
||||||
-- @function [parent=#SpriteFrame] setRectInPixels
|
|
||||||
-- @param self
|
|
||||||
-- @param #rect_table rectInPixels
|
|
||||||
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
-- Get texture of the frame.<br>
|
-- Get texture of the frame.<br>
|
||||||
-- return The texture of the sprite frame.
|
-- return The texture of the sprite frame.
|
||||||
|
@ -48,13 +19,6 @@
|
||||||
-- @param self
|
-- @param self
|
||||||
-- @return Texture2D#Texture2D ret (return value: cc.Texture2D)
|
-- @return Texture2D#Texture2D ret (return value: cc.Texture2D)
|
||||||
|
|
||||||
--------------------------------
|
|
||||||
-- Get rect of the frame.<br>
|
|
||||||
-- return The rect of the sprite frame.
|
|
||||||
-- @function [parent=#SpriteFrame] getRect
|
|
||||||
-- @param self
|
|
||||||
-- @return rect_table#rect_table ret (return value: rect_table)
|
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
-- Set offset of the frame.<br>
|
-- Set offset of the frame.<br>
|
||||||
-- param offsetInPixels The offset of the sprite frame, in pixels.
|
-- param offsetInPixels The offset of the sprite frame, in pixels.
|
||||||
|
@ -63,21 +27,6 @@
|
||||||
-- @param #vec2_table offsetInPixels
|
-- @param #vec2_table offsetInPixels
|
||||||
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
||||||
|
|
||||||
--------------------------------
|
|
||||||
-- Get rect of the sprite frame.<br>
|
|
||||||
-- return The rect of the sprite frame, in pixels.
|
|
||||||
-- @function [parent=#SpriteFrame] getRectInPixels
|
|
||||||
-- @param self
|
|
||||||
-- @return rect_table#rect_table ret (return value: rect_table)
|
|
||||||
|
|
||||||
--------------------------------
|
|
||||||
-- Set original size of the trimmed image.<br>
|
|
||||||
-- param sizeInPixels The original size of the trimmed image.
|
|
||||||
-- @function [parent=#SpriteFrame] setOriginalSize
|
|
||||||
-- @param self
|
|
||||||
-- @param #size_table sizeInPixels
|
|
||||||
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
-- Get original size of the trimmed image.<br>
|
-- Get original size of the trimmed image.<br>
|
||||||
-- return The original size of the trimmed image, in pixels.
|
-- return The original size of the trimmed image, in pixels.
|
||||||
|
@ -87,12 +36,27 @@
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
-- Set original size of the trimmed image.<br>
|
-- Set original size of the trimmed image.<br>
|
||||||
-- param sizeInPixels The original size of the trimmed image, in pixels.
|
-- param sizeInPixels The original size of the trimmed image.
|
||||||
-- @function [parent=#SpriteFrame] setOriginalSizeInPixels
|
-- @function [parent=#SpriteFrame] setOriginalSize
|
||||||
-- @param self
|
-- @param self
|
||||||
-- @param #size_table sizeInPixels
|
-- @param #size_table sizeInPixels
|
||||||
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
||||||
|
|
||||||
|
--------------------------------
|
||||||
|
-- Set rect of the sprite frame.<br>
|
||||||
|
-- param rectInPixels The rect of the sprite frame, in pixels.
|
||||||
|
-- @function [parent=#SpriteFrame] setRectInPixels
|
||||||
|
-- @param self
|
||||||
|
-- @param #rect_table rectInPixels
|
||||||
|
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
||||||
|
|
||||||
|
--------------------------------
|
||||||
|
-- Get rect of the frame.<br>
|
||||||
|
-- return The rect of the sprite frame.
|
||||||
|
-- @function [parent=#SpriteFrame] getRect
|
||||||
|
-- @param self
|
||||||
|
-- @return rect_table#rect_table ret (return value: rect_table)
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
-- Set offset of the frame.<br>
|
-- Set offset of the frame.<br>
|
||||||
-- param offsets The offset of the sprite frame.
|
-- param offsets The offset of the sprite frame.
|
||||||
|
@ -101,25 +65,6 @@
|
||||||
-- @param #vec2_table offsets
|
-- @param #vec2_table offsets
|
||||||
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
||||||
|
|
||||||
--------------------------------
|
|
||||||
-- @overload self, cc.Texture2D, rect_table, bool, vec2_table, size_table
|
|
||||||
-- @overload self, cc.Texture2D, rect_table
|
|
||||||
-- @function [parent=#SpriteFrame] initWithTexture
|
|
||||||
-- @param self
|
|
||||||
-- @param #cc.Texture2D pobTexture
|
|
||||||
-- @param #rect_table rect
|
|
||||||
-- @param #bool rotated
|
|
||||||
-- @param #vec2_table offset
|
|
||||||
-- @param #size_table originalSize
|
|
||||||
-- @return bool#bool ret (return value: bool)
|
|
||||||
|
|
||||||
--------------------------------
|
|
||||||
-- Is the sprite frame rotated or not.<br>
|
|
||||||
-- return Is rotated if true.
|
|
||||||
-- @function [parent=#SpriteFrame] isRotated
|
|
||||||
-- @param self
|
|
||||||
-- @return bool#bool ret (return value: bool)
|
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
-- @overload self, string, rect_table, bool, vec2_table, size_table
|
-- @overload self, string, rect_table, bool, vec2_table, size_table
|
||||||
-- @overload self, string, rect_table
|
-- @overload self, string, rect_table
|
||||||
|
@ -141,12 +86,17 @@
|
||||||
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
-- Get offset of the frame.<br>
|
-- @overload self, cc.Texture2D, rect_table, bool, vec2_table, size_table
|
||||||
-- return The offset of the sprite frame, in pixels.
|
-- @overload self, cc.Texture2D, rect_table
|
||||||
-- @function [parent=#SpriteFrame] getOffsetInPixels
|
-- @function [parent=#SpriteFrame] initWithTexture
|
||||||
-- @param self
|
-- @param self
|
||||||
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
-- @param #cc.Texture2D pobTexture
|
||||||
|
-- @param #rect_table rect
|
||||||
|
-- @param #bool rotated
|
||||||
|
-- @param #vec2_table offset
|
||||||
|
-- @param #size_table originalSize
|
||||||
|
-- @return bool#bool ret (return value: bool)
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
-- Get original size of the trimmed image.<br>
|
-- Get original size of the trimmed image.<br>
|
||||||
-- return The original size of the trimmed image.
|
-- return The original size of the trimmed image.
|
||||||
|
@ -154,6 +104,56 @@
|
||||||
-- @param self
|
-- @param self
|
||||||
-- @return size_table#size_table ret (return value: size_table)
|
-- @return size_table#size_table ret (return value: size_table)
|
||||||
|
|
||||||
|
--------------------------------
|
||||||
|
--
|
||||||
|
-- @function [parent=#SpriteFrame] clone
|
||||||
|
-- @param self
|
||||||
|
-- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame)
|
||||||
|
|
||||||
|
--------------------------------
|
||||||
|
-- Get rect of the sprite frame.<br>
|
||||||
|
-- return The rect of the sprite frame, in pixels.
|
||||||
|
-- @function [parent=#SpriteFrame] getRectInPixels
|
||||||
|
-- @param self
|
||||||
|
-- @return rect_table#rect_table ret (return value: rect_table)
|
||||||
|
|
||||||
|
--------------------------------
|
||||||
|
-- Is the sprite frame rotated or not.<br>
|
||||||
|
-- return Is rotated if true.
|
||||||
|
-- @function [parent=#SpriteFrame] isRotated
|
||||||
|
-- @param self
|
||||||
|
-- @return bool#bool ret (return value: bool)
|
||||||
|
|
||||||
|
--------------------------------
|
||||||
|
-- Set rotated of the sprite frame.<br>
|
||||||
|
-- param rotated Rotated the sprite frame if true.
|
||||||
|
-- @function [parent=#SpriteFrame] setRotated
|
||||||
|
-- @param self
|
||||||
|
-- @param #bool rotated
|
||||||
|
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
||||||
|
|
||||||
|
--------------------------------
|
||||||
|
-- Get offset of the frame.<br>
|
||||||
|
-- return The offset of the sprite frame.
|
||||||
|
-- @function [parent=#SpriteFrame] getOffset
|
||||||
|
-- @param self
|
||||||
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
||||||
|
|
||||||
|
--------------------------------
|
||||||
|
-- Set original size of the trimmed image.<br>
|
||||||
|
-- param sizeInPixels The original size of the trimmed image, in pixels.
|
||||||
|
-- @function [parent=#SpriteFrame] setOriginalSizeInPixels
|
||||||
|
-- @param self
|
||||||
|
-- @param #size_table sizeInPixels
|
||||||
|
-- @return SpriteFrame#SpriteFrame self (return value: cc.SpriteFrame)
|
||||||
|
|
||||||
|
--------------------------------
|
||||||
|
-- Get offset of the frame.<br>
|
||||||
|
-- return The offset of the sprite frame, in pixels.
|
||||||
|
-- @function [parent=#SpriteFrame] getOffsetInPixels
|
||||||
|
-- @param self
|
||||||
|
-- @return vec2_table#vec2_table ret (return value: vec2_table)
|
||||||
|
|
||||||
--------------------------------
|
--------------------------------
|
||||||
-- @overload self, string, rect_table, bool, vec2_table, size_table
|
-- @overload self, string, rect_table, bool, vec2_table, size_table
|
||||||
-- @overload self, string, rect_table
|
-- @overload self, string, rect_table
|
||||||
|
|
|
@ -96,6 +96,26 @@
|
||||||
-- @field [parent=#cc] Follow#Follow Follow preloaded module
|
-- @field [parent=#cc] Follow#Follow Follow preloaded module
|
||||||
|
|
||||||
|
|
||||||
|
--------------------------------------------------------
|
||||||
|
-- the cc Image
|
||||||
|
-- @field [parent=#cc] Image#Image Image preloaded module
|
||||||
|
|
||||||
|
|
||||||
|
--------------------------------------------------------
|
||||||
|
-- the cc GLProgramState
|
||||||
|
-- @field [parent=#cc] GLProgramState#GLProgramState GLProgramState preloaded module
|
||||||
|
|
||||||
|
|
||||||
|
--------------------------------------------------------
|
||||||
|
-- the cc PolygonInfo
|
||||||
|
-- @field [parent=#cc] PolygonInfo#PolygonInfo PolygonInfo preloaded module
|
||||||
|
|
||||||
|
|
||||||
|
--------------------------------------------------------
|
||||||
|
-- the cc AutoPolygon
|
||||||
|
-- @field [parent=#cc] AutoPolygon#AutoPolygon AutoPolygon preloaded module
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------
|
--------------------------------------------------------
|
||||||
-- the cc SpriteFrame
|
-- the cc SpriteFrame
|
||||||
-- @field [parent=#cc] SpriteFrame#SpriteFrame SpriteFrame preloaded module
|
-- @field [parent=#cc] SpriteFrame#SpriteFrame SpriteFrame preloaded module
|
||||||
|
@ -746,11 +766,6 @@
|
||||||
-- @field [parent=#cc] ActionTween#ActionTween ActionTween preloaded module
|
-- @field [parent=#cc] ActionTween#ActionTween ActionTween preloaded module
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------
|
|
||||||
-- the cc GLProgramState
|
|
||||||
-- @field [parent=#cc] GLProgramState#GLProgramState GLProgramState preloaded module
|
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------
|
--------------------------------------------------------
|
||||||
-- the cc AtlasNode
|
-- the cc AtlasNode
|
||||||
-- @field [parent=#cc] AtlasNode#AtlasNode AtlasNode preloaded module
|
-- @field [parent=#cc] AtlasNode#AtlasNode AtlasNode preloaded module
|
||||||
|
@ -936,21 +951,6 @@
|
||||||
-- @field [parent=#cc] ProtectedNode#ProtectedNode ProtectedNode preloaded module
|
-- @field [parent=#cc] ProtectedNode#ProtectedNode ProtectedNode preloaded module
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------
|
|
||||||
-- the cc Image
|
|
||||||
-- @field [parent=#cc] Image#Image Image preloaded module
|
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------
|
|
||||||
-- the cc PolygonInfo
|
|
||||||
-- @field [parent=#cc] PolygonInfo#PolygonInfo PolygonInfo preloaded module
|
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------
|
|
||||||
-- the cc AutoPolygon
|
|
||||||
-- @field [parent=#cc] AutoPolygon#AutoPolygon AutoPolygon preloaded module
|
|
||||||
|
|
||||||
|
|
||||||
--------------------------------------------------------
|
--------------------------------------------------------
|
||||||
-- the cc Sprite
|
-- the cc Sprite
|
||||||
-- @field [parent=#cc] Sprite#Sprite Sprite preloaded module
|
-- @field [parent=#cc] Sprite#Sprite Sprite preloaded module
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue