From 81cc05729c28eb492c58f1b28a4624efbc0b704c Mon Sep 17 00:00:00 2001 From: CocosRobot Date: Tue, 25 Mar 2014 08:26:13 +0000 Subject: [PATCH] [AUTO]: updating luabinding automatically --- .../lua-bindings/auto/api/RichText.lua | 5 + .../lua-bindings/auto/api/ScrollView.lua | 86 +++------- .../lua-bindings/auto/api/Widget.lua | 159 +++--------------- .../lua_cocos2dx_ui_auto.cpp.REMOVED.git-id | 2 +- .../auto/lua_cocos2dx_ui_auto.hpp | 6 - 5 files changed, 57 insertions(+), 201 deletions(-) diff --git a/cocos/scripting/lua-bindings/auto/api/RichText.lua b/cocos/scripting/lua-bindings/auto/api/RichText.lua index 3c181b3a2d..b14dcddf9e 100644 --- a/cocos/scripting/lua-bindings/auto/api/RichText.lua +++ b/cocos/scripting/lua-bindings/auto/api/RichText.lua @@ -52,6 +52,11 @@ -- @param self -- @return RichText#RichText ret (return value: ccui.RichText) +-------------------------------- +-- @function [parent=#RichText] getDescription +-- @param self +-- @return string#string ret (return value: string) + -------------------------------- -- @function [parent=#RichText] RichText -- @param self diff --git a/cocos/scripting/lua-bindings/auto/api/ScrollView.lua b/cocos/scripting/lua-bindings/auto/api/ScrollView.lua index 66b3f739f6..b5532e0192 100644 --- a/cocos/scripting/lua-bindings/auto/api/ScrollView.lua +++ b/cocos/scripting/lua-bindings/auto/api/ScrollView.lua @@ -187,58 +187,22 @@ -- @param #int int -- @param #int int +-------------------------------- +-- @function [parent=#ScrollView] getChildByName +-- @param self +-- @param #char char +-- @return Widget#Widget ret (return value: ccui.Widget) + -------------------------------- -- @function [parent=#ScrollView] getDescription -- @param self -- @return string#string ret (return value: string) -------------------------------- --- @function [parent=#ScrollView] removeAllChildren +-- @function [parent=#ScrollView] update -- @param self +-- @param #float float --------------------------------- --- overload function: getChildren() --- --- overload function: getChildren() --- --- @function [parent=#ScrollView] getChildren --- @param self --- @return array_table#array_table ret (retunr value: array_table) - --------------------------------- --- @function [parent=#ScrollView] getNodes --- @param self --- @return array_table#array_table ret (return value: array_table) - --------------------------------- --- @function [parent=#ScrollView] getChildByTag --- @param self --- @param #int int --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- @function [parent=#ScrollView] removeNode --- @param self --- @param #cc.Node node - --------------------------------- --- @function [parent=#ScrollView] removeNodeByTag --- @param self --- @param #int int - --------------------------------- --- overload function: addNode(cc.Node, int) --- --- overload function: addNode(cc.Node) --- --- overload function: addNode(cc.Node, int, int) --- --- @function [parent=#ScrollView] addNode --- @param self --- @param #cc.Node node --- @param #int int --- @param #int int - -------------------------------- -- @function [parent=#ScrollView] getLayoutType -- @param self @@ -250,24 +214,7 @@ -- @param #bool bool -------------------------------- --- @function [parent=#ScrollView] update --- @param self --- @param #float float - --------------------------------- --- @function [parent=#ScrollView] getNodeByTag --- @param self --- @param #int int --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- @function [parent=#ScrollView] getChildByName --- @param self --- @param #char char --- @return Widget#Widget ret (return value: ccui.Widget) - --------------------------------- --- @function [parent=#ScrollView] removeAllNodes +-- @function [parent=#ScrollView] removeAllChildren -- @param self -------------------------------- @@ -276,6 +223,21 @@ -- @param #cc.Node node -- @param #bool bool +-------------------------------- +-- overload function: getChildren() +-- +-- overload function: getChildren() +-- +-- @function [parent=#ScrollView] getChildren +-- @param self +-- @return array_table#array_table ret (retunr value: array_table) + +-------------------------------- +-- @function [parent=#ScrollView] getChildByTag +-- @param self +-- @param #int int +-- @return Node#Node ret (return value: cc.Node) + -------------------------------- -- @function [parent=#ScrollView] getChildrenCount -- @param self diff --git a/cocos/scripting/lua-bindings/auto/api/Widget.lua b/cocos/scripting/lua-bindings/auto/api/Widget.lua index 5bea038c34..1f97832c9f 100644 --- a/cocos/scripting/lua-bindings/auto/api/Widget.lua +++ b/cocos/scripting/lua-bindings/auto/api/Widget.lua @@ -1,18 +1,13 @@ -------------------------------- -- @module Widget --- @extend Node +-- @extend ProtectedNode -------------------------------- -- @function [parent=#Widget] setSizePercent -- @param self -- @param #point_table point --------------------------------- --- @function [parent=#Widget] isFlippedX --- @param self --- @return bool#bool ret (return value: bool) - -------------------------------- -- @function [parent=#Widget] getCustomSize -- @param self @@ -29,10 +24,9 @@ -- @param #bool bool -------------------------------- --- @function [parent=#Widget] getNodeByTag +-- @function [parent=#Widget] getLeftInParent -- @param self --- @param #int int --- @return Node#Node ret (return value: cc.Node) +-- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#Widget] getTouchEndPos @@ -44,11 +38,6 @@ -- @param self -- @param #point_table point --------------------------------- --- @function [parent=#Widget] getNodes --- @param self --- @return array_table#array_table ret (return value: array_table) - -------------------------------- -- @function [parent=#Widget] getLayoutSize -- @param self @@ -69,15 +58,6 @@ -- @param self -- @return bool#bool ret (return value: bool) --------------------------------- --- overload function: updateSizeAndPosition(size_table) --- --- overload function: updateSizeAndPosition() --- --- @function [parent=#Widget] updateSizeAndPosition --- @param self --- @param #size_table size - -------------------------------- -- @function [parent=#Widget] getBottomInParent -- @param self @@ -100,9 +80,9 @@ -- @return PositionType#PositionType ret (return value: ccui.PositionType) -------------------------------- --- @function [parent=#Widget] setName +-- @function [parent=#Widget] getWidgetType -- @param self --- @param #char char +-- @return WidgetType#WidgetType ret (return value: ccui.WidgetType) -------------------------------- -- @function [parent=#Widget] getChildByName @@ -116,9 +96,9 @@ -- @return bool#bool ret (return value: bool) -------------------------------- --- @function [parent=#Widget] removeNodeByTag +-- @function [parent=#Widget] isFocused -- @param self --- @param #int int +-- @return bool#bool ret (return value: bool) -------------------------------- -- @function [parent=#Widget] isTouchEnabled @@ -175,18 +155,10 @@ -- @param #ccui.BrightStyle brightstyle -------------------------------- --- overload function: addNode(cc.Node, int) --- --- overload function: addNode(cc.Node) --- --- overload function: addNode(cc.Node, int, int) --- --- @function [parent=#Widget] addNode +-- @function [parent=#Widget] setName -- @param self --- @param #cc.Node node --- @param #int int --- @param #int int - +-- @param #char char + -------------------------------- -- @function [parent=#Widget] setLayoutParameter -- @param self @@ -202,21 +174,11 @@ -- @param self -- @return point_table#point_table ret (return value: point_table) --------------------------------- --- @function [parent=#Widget] getLeftInParent --- @param self --- @return float#float ret (return value: float) - -------------------------------- -- @function [parent=#Widget] setActionTag -- @param self -- @param #int int --------------------------------- --- @function [parent=#Widget] ignoreContentAdaptWithSize --- @param self --- @param #bool bool - -------------------------------- -- @function [parent=#Widget] isBright -- @param self @@ -234,10 +196,14 @@ -- @return float#float ret (return value: float) -------------------------------- --- @function [parent=#Widget] getWidgetType +-- overload function: updateSizeAndPosition(size_table) +-- +-- overload function: updateSizeAndPosition() +-- +-- @function [parent=#Widget] updateSizeAndPosition -- @param self --- @return WidgetType#WidgetType ret (return value: ccui.WidgetType) - +-- @param #size_table size + -------------------------------- -- @function [parent=#Widget] getSize -- @param self @@ -254,13 +220,9 @@ -- @return SizeType#SizeType ret (return value: ccui.SizeType) -------------------------------- --- @function [parent=#Widget] removeNode --- @param self --- @param #cc.Node node - --------------------------------- --- @function [parent=#Widget] removeAllNodes +-- @function [parent=#Widget] ignoreContentAdaptWithSize -- @param self +-- @param #bool bool -------------------------------- -- @function [parent=#Widget] getPositionPercent @@ -274,7 +236,7 @@ -- @return bool#bool ret (return value: bool) -------------------------------- --- @function [parent=#Widget] isFocused +-- @function [parent=#Widget] isFlippedX -- @param self -- @return bool#bool ret (return value: bool) @@ -310,72 +272,11 @@ -- @param self -- @return Widget#Widget ret (return value: ccui.Widget) --------------------------------- --- overload function: addChild(cc.Node, int) --- --- overload function: addChild(cc.Node) --- --- overload function: addChild(cc.Node, int, int) --- --- @function [parent=#Widget] addChild --- @param self --- @param #cc.Node node --- @param #int int --- @param #int int - -------------------------------- -- @function [parent=#Widget] setColor -- @param self -- @param #color3B_table color3b --------------------------------- --- @function [parent=#Widget] removeFromParent --- @param self - --------------------------------- --- @function [parent=#Widget] removeAllChildrenWithCleanup --- @param self --- @param #bool bool - --------------------------------- --- @function [parent=#Widget] removeAllChildren --- @param self - --------------------------------- --- @function [parent=#Widget] sortAllChildren --- @param self - --------------------------------- --- @function [parent=#Widget] removeChild --- @param self --- @param #cc.Node node --- @param #bool bool - --------------------------------- --- overload function: getChildren() --- --- overload function: getChildren() --- --- @function [parent=#Widget] getChildren --- @param self --- @return array_table#array_table ret (retunr value: array_table) - --------------------------------- --- @function [parent=#Widget] getDescription --- @param self --- @return string#string ret (return value: string) - --------------------------------- --- @function [parent=#Widget] getChildByTag --- @param self --- @param #int int --- @return Node#Node ret (return value: cc.Node) - --------------------------------- --- @function [parent=#Widget] removeFromParentAndCleanup --- @param self --- @param #bool bool - -------------------------------- -- @function [parent=#Widget] getColor -- @param self @@ -386,26 +287,20 @@ -- @param self -- @param #unsigned char char --------------------------------- --- @function [parent=#Widget] setPosition --- @param self --- @param #point_table point - --------------------------------- --- @function [parent=#Widget] removeChildByTag --- @param self --- @param #int int --- @param #bool bool - -------------------------------- -- @function [parent=#Widget] getOpacity -- @param self -- @return unsigned char#unsigned char ret (return value: unsigned char) -------------------------------- --- @function [parent=#Widget] getChildrenCount +-- @function [parent=#Widget] setPosition -- @param self --- @return long#long ret (return value: long) +-- @param #point_table point + +-------------------------------- +-- @function [parent=#Widget] getDescription +-- @param self +-- @return string#string ret (return value: string) -------------------------------- -- @function [parent=#Widget] Widget diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp.REMOVED.git-id b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp.REMOVED.git-id index 104c65729e..e024e99b59 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp.REMOVED.git-id +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.cpp.REMOVED.git-id @@ -1 +1 @@ -11bba6be0cebc89eb4c7195a61d021e51719468f \ No newline at end of file +19adb2eb5a08b20b670b77975f7e30c08bbac2d6 \ No newline at end of file diff --git a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.hpp b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.hpp index 1e576402ce..3a1b0bb858 100644 --- a/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.hpp +++ b/cocos/scripting/lua-bindings/auto/lua_cocos2dx_ui_auto.hpp @@ -362,12 +362,6 @@ int register_all_cocos2dx_ui(lua_State* tolua_S); - - - - - -