Merge pull request #14481 from CocosRobot/update_lua_bindings_1448443401

[ci skip][AUTO]: updating luabinding & jsbinding automatically
This commit is contained in:
zilongshanren 2015-11-25 17:29:52 +08:00
commit 4ce328212b
14 changed files with 2812 additions and 958 deletions

View File

@ -1024,6 +1024,16 @@ getClippingType : function (
return 0;
},
/**
* @method getRenderFile
* @return {cc.ResouceData}
*/
getRenderFile : function (
)
{
return cc.ResouceData;
},
/**
* @method isLoopFocus
* @return {bool}
@ -1348,6 +1358,14 @@ float
{
},
/**
* @method resetPressedRender
*/
resetPressedRender : function (
)
{
},
/**
* @method setScale9Enabled
* @param {bool} arg0
@ -1358,6 +1376,14 @@ bool
{
},
/**
* @method resetDisabledRender
*/
resetDisabledRender : function (
)
{
},
/**
* @method getTitleRenderer
* @return {cc.Label}
@ -1378,6 +1404,16 @@ getRendererClicked : function (
return ccui.Scale9Sprite;
},
/**
* @method getDisabledFile
* @return {cc.ResouceData}
*/
getDisabledFile : function (
)
{
return cc.ResouceData;
},
/**
* @method getZoomScale
* @return {float}
@ -1408,6 +1444,24 @@ color3b
{
},
/**
* @method getNormalFile
* @return {cc.ResouceData}
*/
getNormalFile : function (
)
{
return cc.ResouceData;
},
/**
* @method resetNormalRender
*/
resetNormalRender : function (
)
{
},
/**
* @method getRendererDisabled
* @return {ccui.Scale9Sprite}
@ -1590,6 +1644,16 @@ rect
{
},
/**
* @method getPressedFile
* @return {cc.ResouceData}
*/
getPressedFile : function (
)
{
return cc.ResouceData;
},
/**
* @method getTitleFontSize
* @return {float}
@ -1694,6 +1758,26 @@ Button : function (
*/
ccui.AbstractCheckButton = {
/**
* @method getBackDisabledFile
* @return {cc.ResouceData}
*/
getBackDisabledFile : function (
)
{
return cc.ResouceData;
},
/**
* @method getCrossDisabeldFile
* @return {cc.ResouceData}
*/
getCrossDisabeldFile : function (
)
{
return cc.ResouceData;
},
/**
* @method loadTextureBackGroundSelected
* @param {String} arg0
@ -1718,6 +1802,16 @@ texturerestype
{
},
/**
* @method getCrossNormalFile
* @return {cc.ResouceData}
*/
getCrossNormalFile : function (
)
{
return cc.ResouceData;
},
/**
* @method setSelected
* @param {bool} arg0
@ -1728,6 +1822,16 @@ bool
{
},
/**
* @method getBackPressedFile
* @return {cc.ResouceData}
*/
getBackPressedFile : function (
)
{
return cc.ResouceData;
},
/**
* @method getRendererFrontCrossDisabled
* @return {cc.Sprite}
@ -1802,6 +1906,16 @@ texturerestype
return false;
},
/**
* @method getBackNormalFile
* @return {cc.ResouceData}
*/
getBackNormalFile : function (
)
{
return cc.ResouceData;
},
/**
* @method loadTextures
* @param {String} arg0
@ -2171,6 +2285,16 @@ rect
{
},
/**
* @method getRenderFile
* @return {cc.ResouceData}
*/
getRenderFile : function (
)
{
return cc.ResouceData;
},
/**
* @method getCapInsets
* @return {rect_object}
@ -2549,6 +2673,16 @@ str
{
},
/**
* @method getRenderFile
* @return {cc.ResouceData}
*/
getRenderFile : function (
)
{
return cc.ResouceData;
},
/**
* @method setProperty
* @param {String} arg0
@ -2653,6 +2787,16 @@ direction
{
},
/**
* @method getRenderFile
* @return {cc.ResouceData}
*/
getRenderFile : function (
)
{
return cc.ResouceData;
},
/**
* @method setScale9Enabled
* @param {bool} arg0
@ -3645,16 +3789,6 @@ ListView : function (
*/
ccui.Slider = {
/**
* @method setMaxPercent
* @param {int} arg0
*/
setMaxPercent : function (
int
)
{
},
/**
* @method setPercent
* @param {int} arg0
@ -3665,18 +3799,6 @@ int
{
},
/**
* @method loadSlidBallTextureDisabled
* @param {String} arg0
* @param {ccui.Widget::TextureResType} arg1
*/
loadSlidBallTextureDisabled : function (
str,
texturerestype
)
{
},
/**
* @method getMaxPercent
* @return {int}
@ -3699,18 +3821,6 @@ texturerestype
{
},
/**
* @method loadBarTexture
* @param {String} arg0
* @param {ccui.Widget::TextureResType} arg1
*/
loadBarTexture : function (
str,
texturerestype
)
{
},
/**
* @method loadProgressBarTexture
* @param {String} arg0
@ -3724,39 +3834,13 @@ texturerestype
},
/**
* @method loadSlidBallTextures
* @param {String} arg0
* @param {String} arg1
* @param {String} arg2
* @param {ccui.Widget::TextureResType} arg3
* @method getBallNormalFile
* @return {cc.ResouceData}
*/
loadSlidBallTextures : function (
str,
str,
str,
texturerestype
)
{
},
/**
* @method setCapInsetProgressBarRebderer
* @param {rect_object} arg0
*/
setCapInsetProgressBarRebderer : function (
rect
)
{
},
/**
* @method setCapInsetsBarRenderer
* @param {rect_object} arg0
*/
setCapInsetsBarRenderer : function (
rect
getBallNormalFile : function (
)
{
return cc.ResouceData;
},
/**
@ -3780,23 +3864,13 @@ bool
},
/**
* @method setZoomScale
* @param {float} arg0
* @method getBallPressedFile
* @return {cc.ResouceData}
*/
setZoomScale : function (
float
)
{
},
/**
* @method setCapInsets
* @param {rect_object} arg0
*/
setCapInsets : function (
rect
getBallPressedFile : function (
)
{
return cc.ResouceData;
},
/**
@ -3809,6 +3883,64 @@ getZoomScale : function (
return 0;
},
/**
* @method loadSlidBallTextures
* @param {String} arg0
* @param {String} arg1
* @param {String} arg2
* @param {ccui.Widget::TextureResType} arg3
*/
loadSlidBallTextures : function (
str,
str,
str,
texturerestype
)
{
},
/**
* @method setMaxPercent
* @param {int} arg0
*/
setMaxPercent : function (
int
)
{
},
/**
* @method loadBarTexture
* @param {String} arg0
* @param {ccui.Widget::TextureResType} arg1
*/
loadBarTexture : function (
str,
texturerestype
)
{
},
/**
* @method getProgressBarFile
* @return {cc.ResouceData}
*/
getProgressBarFile : function (
)
{
return cc.ResouceData;
},
/**
* @method getCapInsetsBarRenderer
* @return {rect_object}
*/
getCapInsetsBarRenderer : function (
)
{
return cc.Rect;
},
/**
* @method loadSlidBallTexturePressed
* @param {String} arg0
@ -3821,6 +3953,16 @@ texturerestype
{
},
/**
* @method getBackFile
* @return {cc.ResouceData}
*/
getBackFile : function (
)
{
return cc.ResouceData;
},
/**
* @method isScale9Enabled
* @return {bool}
@ -3832,13 +3974,33 @@ isScale9Enabled : function (
},
/**
* @method getCapInsetsBarRenderer
* @return {rect_object}
* @method setCapInsetProgressBarRebderer
* @param {rect_object} arg0
*/
getCapInsetsBarRenderer : function (
setCapInsetProgressBarRebderer : function (
rect
)
{
return cc.Rect;
},
/**
* @method setCapInsetsBarRenderer
* @param {rect_object} arg0
*/
setCapInsetsBarRenderer : function (
rect
)
{
},
/**
* @method getBallDisabeldFile
* @return {cc.ResouceData}
*/
getBallDisabeldFile : function (
)
{
return cc.ResouceData;
},
/**
@ -3851,6 +4013,38 @@ getPercent : function (
return 0;
},
/**
* @method setCapInsets
* @param {rect_object} arg0
*/
setCapInsets : function (
rect
)
{
},
/**
* @method loadSlidBallTextureDisabled
* @param {String} arg0
* @param {ccui.Widget::TextureResType} arg1
*/
loadSlidBallTextureDisabled : function (
str,
texturerestype
)
{
},
/**
* @method setZoomScale
* @param {float} arg0
*/
setZoomScale : function (
float
)
{
},
/**
* @method create
* @param {String} str
@ -4625,16 +4819,6 @@ TextField : function (
*/
ccui.TextBMFont = {
/**
* @method setFntFile
* @param {String} arg0
*/
setFntFile : function (
str
)
{
},
/**
* @method getStringLength
* @return {long}
@ -4645,6 +4829,16 @@ getStringLength : function (
return 0;
},
/**
* @method getString
* @return {String}
*/
getString : function (
)
{
return ;
},
/**
* @method setString
* @param {String} arg0
@ -4656,13 +4850,23 @@ str
},
/**
* @method getString
* @return {String}
* @method getRenderFile
* @return {cc.ResouceData}
*/
getString : function (
getRenderFile : function (
)
{
return cc.ResouceData;
},
/**
* @method setFntFile
* @param {String} arg0
*/
setFntFile : function (
str
)
{
return ;
},
/**
@ -5682,6 +5886,14 @@ isScale9Enabled : function (
return false;
},
/**
* @method resetRender
*/
resetRender : function (
)
{
},
/**
* @method getRenderingType
* @return {ccui.Scale9Sprite::RenderingType}

File diff suppressed because it is too large Load Diff

View File

@ -141,6 +141,7 @@ bool js_cocos2dx_ui_Layout_setLoopFocus(JSContext *cx, uint32_t argc, jsval *vp)
bool js_cocos2dx_ui_Layout_setBackGroundImageColor(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Layout_getBackGroundColorVector(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Layout_getClippingType(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Layout_getRenderFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Layout_isLoopFocus(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Layout_removeBackGroundImage(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Layout_getBackGroundColorOpacity(JSContext *cx, uint32_t argc, jsval *vp);
@ -181,12 +182,17 @@ void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_ui_Button_getNormalTextureSize(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_getTitleText(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_setTitleFontSize(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_resetPressedRender(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_resetDisabledRender(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_getTitleRenderer(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_getRendererClicked(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_getDisabledFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_getZoomScale(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_getCapInsetsDisabledRenderer(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_setTitleColor(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_getNormalFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_resetNormalRender(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_getRendererDisabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_setCapInsetsDisabledRenderer(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
@ -203,6 +209,7 @@ bool js_cocos2dx_ui_Button_loadTextures(JSContext *cx, uint32_t argc, jsval *vp)
bool js_cocos2dx_ui_Button_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_loadTextureNormal(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_setCapInsetsPressedRenderer(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_getPressedFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_getTitleFontSize(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_getRendererNormal(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Button_getTitleFontName(JSContext *cx, uint32_t argc, jsval *vp);
@ -220,15 +227,20 @@ bool js_cocos2dx_ui_AbstractCheckButton_constructor(JSContext *cx, uint32_t argc
void js_cocos2dx_ui_AbstractCheckButton_finalize(JSContext *cx, JSObject *obj);
void js_register_cocos2dx_ui_AbstractCheckButton(JSContext *cx, JS::HandleObject global);
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_ui_AbstractCheckButton_getBackDisabledFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_getCrossDisabeldFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_loadTextureBackGroundSelected(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_loadTextureBackGroundDisabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_getCrossNormalFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_setSelected(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_getBackPressedFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_getRendererFrontCrossDisabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_getRendererBackground(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_loadTextureFrontCross(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_getRendererBackgroundDisabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_isSelected(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_init(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_getBackNormalFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_loadTextures(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_getZoomScale(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_AbstractCheckButton_getRendererFrontCross(JSContext *cx, uint32_t argc, jsval *vp);
@ -291,6 +303,7 @@ bool js_cocos2dx_ui_ImageView_init(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_ImageView_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_ImageView_setTextureRect(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_ImageView_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_ImageView_getRenderFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_ImageView_getCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_ImageView_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_ImageView_create(JSContext *cx, uint32_t argc, jsval *vp);
@ -342,6 +355,7 @@ void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_ui_TextAtlas_getStringLength(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextAtlas_getString(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextAtlas_setString(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextAtlas_getRenderFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextAtlas_setProperty(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextAtlas_adaptRenderers(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextAtlas_create(JSContext *cx, uint32_t argc, jsval *vp);
@ -358,6 +372,7 @@ void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_ui_LoadingBar_setPercent(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_LoadingBar_loadTexture(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_LoadingBar_setDirection(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_LoadingBar_getRenderFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_LoadingBar_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_LoadingBar_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_LoadingBar_getDirection(JSContext *cx, uint32_t argc, jsval *vp);
@ -476,25 +491,30 @@ bool js_cocos2dx_ui_Slider_constructor(JSContext *cx, uint32_t argc, jsval *vp);
void js_cocos2dx_ui_Slider_finalize(JSContext *cx, JSObject *obj);
void js_register_cocos2dx_ui_Slider(JSContext *cx, JS::HandleObject global);
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_ui_Slider_setMaxPercent(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_setPercent(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_loadSlidBallTextureDisabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_getMaxPercent(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_loadSlidBallTextureNormal(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_loadBarTexture(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_loadProgressBarTexture(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_loadSlidBallTextures(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_setCapInsetProgressBarRebderer(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_setCapInsetsBarRenderer(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_getBallNormalFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_getCapInsetsProgressBarRebderer(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_setScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_setZoomScale(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_getBallPressedFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_getZoomScale(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_loadSlidBallTexturePressed(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_loadSlidBallTextures(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_setMaxPercent(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_loadBarTexture(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_getProgressBarFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_getCapInsetsBarRenderer(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_loadSlidBallTexturePressed(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_getBackFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_setCapInsetProgressBarRebderer(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_setCapInsetsBarRenderer(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_getBallDisabeldFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_getPercent(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_setCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_loadSlidBallTextureDisabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_setZoomScale(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_create(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_createInstance(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Slider_Slider(JSContext *cx, uint32_t argc, jsval *vp);
@ -592,10 +612,11 @@ bool js_cocos2dx_ui_TextBMFont_constructor(JSContext *cx, uint32_t argc, jsval *
void js_cocos2dx_ui_TextBMFont_finalize(JSContext *cx, JSObject *obj);
void js_register_cocos2dx_ui_TextBMFont(JSContext *cx, JS::HandleObject global);
void register_all_cocos2dx_ui(JSContext* cx, JS::HandleObject obj);
bool js_cocos2dx_ui_TextBMFont_setFntFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextBMFont_getStringLength(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextBMFont_setString(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextBMFont_getString(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextBMFont_setString(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextBMFont_getRenderFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextBMFont_setFntFile(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextBMFont_create(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextBMFont_createInstance(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_TextBMFont_TextBMFont(JSContext *cx, uint32_t argc, jsval *vp);
@ -766,6 +787,7 @@ bool js_cocos2dx_ui_Scale9Sprite_getBlendFunc(JSContext *cx, uint32_t argc, jsva
bool js_cocos2dx_ui_Scale9Sprite_getInsetBottom(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Scale9Sprite_getCapInsets(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Scale9Sprite_isScale9Enabled(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Scale9Sprite_resetRender(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Scale9Sprite_getRenderingType(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Scale9Sprite_getInsetRight(JSContext *cx, uint32_t argc, jsval *vp);
bool js_cocos2dx_ui_Scale9Sprite_getOriginalSize(JSContext *cx, uint32_t argc, jsval *vp);

View File

@ -4,6 +4,18 @@
-- @extend Widget
-- @parent_module ccui
--------------------------------
--
-- @function [parent=#AbstractCheckButton] getBackDisabledFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
--
-- @function [parent=#AbstractCheckButton] getCrossDisabeldFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- Load background selected state texture for check button.<br>
-- param backGroundSelected The background selected state image name.<br>
@ -24,6 +36,12 @@
-- @param #int texType
-- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton)
--------------------------------
--
-- @function [parent=#AbstractCheckButton] getCrossNormalFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- Change CheckBox state.<br>
-- Set to true will cause the CheckBox's state to "selected", false otherwise.<br>
@ -33,6 +51,12 @@
-- @param #bool selected
-- @return AbstractCheckButton#AbstractCheckButton self (return value: ccui.AbstractCheckButton)
--------------------------------
--
-- @function [parent=#AbstractCheckButton] getBackPressedFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- brief Return the sprite instance of front cross when disabled<br>
-- return the sprite instance of front cross when disabled
@ -83,6 +107,12 @@
-- @param #int texType
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#AbstractCheckButton] getBackNormalFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- Load all textures for initializing a check button.<br>
-- param background The background image name.<br>

View File

@ -25,6 +25,12 @@
-- @param #float size
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
--
-- @function [parent=#Button] resetPressedRender
-- @param self
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Enable scale9 renderer.<br>
-- param enable Set to true will use scale9 renderer, false otherwise.
@ -33,6 +39,12 @@
-- @param #bool enable
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
--
-- @function [parent=#Button] resetDisabledRender
-- @param self
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- Return the inner title renderer of Button.<br>
-- return The button title.<br>
@ -49,6 +61,12 @@
-- @param self
-- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite)
--------------------------------
--
-- @function [parent=#Button] getDisabledFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- brief Return a zoom scale<br>
-- return the zoom scale in float<br>
@ -72,6 +90,18 @@
-- @param #color3b_table color
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
--
-- @function [parent=#Button] getNormalFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
--
-- @function [parent=#Button] resetNormalRender
-- @param self
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
-- brief Return the nine-patch sprite of disabled state<br>
-- return the nine-patch sprite of disabled state<br>
@ -213,6 +243,12 @@
-- @param #rect_table capInsets
-- @return Button#Button self (return value: ccui.Button)
--------------------------------
--
-- @function [parent=#Button] getPressedFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- Query the font size of button title<br>
-- return font size in float.

View File

@ -47,6 +47,12 @@
-- @param #rect_table capInsets
-- @return ImageView#ImageView self (return value: ccui.ImageView)
--------------------------------
--
-- @function [parent=#ImageView] getRenderFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- Get ImageView's capInsets size.<br>
-- return Query capInsets size in Rect<br>

View File

@ -60,6 +60,12 @@
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
--
-- @function [parent=#Layout] getRenderFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- return If focus loop is enabled, then it will return true, otherwise it returns false. The default value is false.
-- @function [parent=#Layout] isLoopFocus

View File

@ -31,6 +31,12 @@
-- @param #int direction
-- @return LoadingBar#LoadingBar self (return value: ccui.LoadingBar)
--------------------------------
--
-- @function [parent=#LoadingBar] getRenderFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- Enable scale9 renderer.<br>
-- param enabled Set to true will use scale9 renderer, false otherwise.

View File

@ -201,6 +201,12 @@
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent=#Scale9Sprite] resetRender
-- @param self
-- @return Scale9Sprite#Scale9Sprite self (return value: ccui.Scale9Sprite)
--------------------------------
-- Return the slice sprite rendering type.
-- @function [parent=#Scale9Sprite] getRenderingType

View File

@ -4,15 +4,6 @@
-- @extend Widget
-- @parent_module ccui
--------------------------------
-- Set a large value could give more control to the precision.<br>
-- since v3.7<br>
-- param percent The max percent of Slider.
-- @function [parent=#Slider] setMaxPercent
-- @param self
-- @param #int percent
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- Changes the progress direction of slider.<br>
-- param percent Percent value from 1 to 100.
@ -21,16 +12,6 @@
-- @param #int percent
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- Load disabled state texture for slider ball.<br>
-- param disabled Disabled state texture.<br>
-- param resType @see TextureResType .
-- @function [parent=#Slider] loadSlidBallTextureDisabled
-- @param self
-- @param #string disabled
-- @param #int resType
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- Query the maximum percent of Slider. The default value is 100.<br>
-- since v3.7<br>
@ -49,16 +30,6 @@
-- @param #int resType
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- Load texture for slider bar.<br>
-- param fileName File name of texture.<br>
-- param resType @see TextureResType .
-- @function [parent=#Slider] loadBarTexture
-- @param self
-- @param #string fileName
-- @param #int resType
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- Load dark state texture for slider progress bar.<br>
-- param fileName File path of texture.<br>
@ -69,6 +40,41 @@
-- @param #int resType
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
--
-- @function [parent=#Slider] getBallNormalFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- Gets capinsets for progress bar slider, if slider is using scale9 renderer.<br>
-- return Capinsets for progress bar slider.<br>
-- js NA
-- @function [parent=#Slider] getCapInsetsProgressBarRebderer
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- Sets if slider is using scale9 renderer.<br>
-- param able True that using scale9 renderer, false otherwise.
-- @function [parent=#Slider] setScale9Enabled
-- @param self
-- @param #bool able
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
--
-- @function [parent=#Slider] getBallPressedFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- brief Return a zoom scale<br>
-- since v3.3
-- @function [parent=#Slider] getZoomScale
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Load textures for slider ball.<br>
-- param normal Normal state texture.<br>
@ -83,6 +89,69 @@
-- @param #int texType
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- Add call back function called when slider's percent has changed to slider.<br>
-- param callback An given call back function called when slider's percent has changed to slider.
-- @function [parent=#Slider] addEventListener
-- @param self
-- @param #function callback
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- Set a large value could give more control to the precision.<br>
-- since v3.7<br>
-- param percent The max percent of Slider.
-- @function [parent=#Slider] setMaxPercent
-- @param self
-- @param #int percent
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- Load texture for slider bar.<br>
-- param fileName File name of texture.<br>
-- param resType @see TextureResType .
-- @function [parent=#Slider] loadBarTexture
-- @param self
-- @param #string fileName
-- @param #int resType
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
--
-- @function [parent=#Slider] getProgressBarFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- Gets capinsets for bar slider, if slider is using scale9 renderer.<br>
-- return capInsets Capinsets for bar slider.
-- @function [parent=#Slider] getCapInsetsBarRenderer
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- Load pressed state texture for slider ball.<br>
-- param pressed Pressed state texture.<br>
-- param resType @see TextureResType .
-- @function [parent=#Slider] loadSlidBallTexturePressed
-- @param self
-- @param #string pressed
-- @param #int resType
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
--
-- @function [parent=#Slider] getBackFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- Gets If slider is using scale9 renderer.<br>
-- return True that using scale9 renderer, false otherwise.
-- @function [parent=#Slider] isScale9Enabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Sets capinsets for progress bar slider, if slider is using scale9 renderer.<br>
-- param capInsets Capinsets for progress bar slider.<br>
@ -101,29 +170,17 @@
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- Gets capinsets for progress bar slider, if slider is using scale9 renderer.<br>
-- return Capinsets for progress bar slider.<br>
-- js NA
-- @function [parent=#Slider] getCapInsetsProgressBarRebderer
--
-- @function [parent=#Slider] getBallDisabeldFile
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- Sets if slider is using scale9 renderer.<br>
-- param able True that using scale9 renderer, false otherwise.
-- @function [parent=#Slider] setScale9Enabled
-- Gets the progress direction of slider.<br>
-- return percent Percent value from 1 to 100.
-- @function [parent=#Slider] getPercent
-- @param self
-- @param #bool able
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- When user pressed the button, the button will zoom to a scale.<br>
-- The final scale of the button equals (button original scale + _zoomScale)<br>
-- since v3.3
-- @function [parent=#Slider] setZoomScale
-- @param self
-- @param #float scale
-- @return Slider#Slider self (return value: ccui.Slider)
-- @return int#int ret (return value: int)
--------------------------------
-- Sets capinsets for slider, if slider is using scale9 renderer.<br>
@ -134,50 +191,23 @@
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- brief Return a zoom scale<br>
-- since v3.3
-- @function [parent=#Slider] getZoomScale
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- Add call back function called when slider's percent has changed to slider.<br>
-- param callback An given call back function called when slider's percent has changed to slider.
-- @function [parent=#Slider] addEventListener
-- @param self
-- @param #function callback
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- Load pressed state texture for slider ball.<br>
-- param pressed Pressed state texture.<br>
-- Load disabled state texture for slider ball.<br>
-- param disabled Disabled state texture.<br>
-- param resType @see TextureResType .
-- @function [parent=#Slider] loadSlidBallTexturePressed
-- @function [parent=#Slider] loadSlidBallTextureDisabled
-- @param self
-- @param #string pressed
-- @param #string disabled
-- @param #int resType
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- Gets If slider is using scale9 renderer.<br>
-- return True that using scale9 renderer, false otherwise.
-- @function [parent=#Slider] isScale9Enabled
-- When user pressed the button, the button will zoom to a scale.<br>
-- The final scale of the button equals (button original scale + _zoomScale)<br>
-- since v3.3
-- @function [parent=#Slider] setZoomScale
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Gets capinsets for bar slider, if slider is using scale9 renderer.<br>
-- return capInsets Capinsets for bar slider.
-- @function [parent=#Slider] getCapInsetsBarRenderer
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- Gets the progress direction of slider.<br>
-- return percent Percent value from 1 to 100.
-- @function [parent=#Slider] getPercent
-- @param self
-- @return int#int ret (return value: int)
-- @param #float scale
-- @return Slider#Slider self (return value: ccui.Slider)
--------------------------------
-- @overload self, string, string, int

View File

@ -26,6 +26,12 @@
-- @param #string value
-- @return TextAtlas#TextAtlas self (return value: ccui.TextAtlas)
--------------------------------
--
-- @function [parent=#TextAtlas] getRenderFile
-- @param self
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- Initializes the LabelAtlas with a string, a char map file(the atlas), the width and height of each element and the starting char of the atlas.<br>
-- param stringValue A given string needs to be displayed.<br>

View File

@ -4,13 +4,6 @@
-- @extend Widget
-- @parent_module ccui
--------------------------------
-- init a bitmap font atlas with an initial string and the FNT file
-- @function [parent=#TextBMFont] setFntFile
-- @param self
-- @param #string fileName
-- @return TextBMFont#TextBMFont self (return value: ccui.TextBMFont)
--------------------------------
-- Gets the string length of the label.<br>
-- Note: This length will be larger than the raw string length,<br>
@ -20,6 +13,12 @@
-- @param self
-- @return long#long ret (return value: long)
--------------------------------
--
-- @function [parent=#TextBMFont] getString
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#TextBMFont] setString
@ -29,9 +28,16 @@
--------------------------------
--
-- @function [parent=#TextBMFont] getString
-- @function [parent=#TextBMFont] getRenderFile
-- @param self
-- @return string#string ret (return value: string)
-- @return ResouceData#ResouceData ret (return value: cc.ResouceData)
--------------------------------
-- init a bitmap font atlas with an initial string and the FNT file
-- @function [parent=#TextBMFont] setFntFile
-- @param self
-- @param #string fileName
-- @return TextBMFont#TextBMFont self (return value: ccui.TextBMFont)
--------------------------------
-- @overload self, string, string

File diff suppressed because it is too large Load Diff

View File

@ -615,6 +615,28 @@ int register_all_cocos2dx_ui(lua_State* tolua_S);