[AUTO]: updating luabinding automatically

This commit is contained in:
CocosRobot 2014-10-17 14:55:25 +00:00
parent 4a3aa2f359
commit 3a47bfe3c9
80 changed files with 207 additions and 167 deletions

View File

@ -11,7 +11,7 @@
-- @param self
-- @param #float duration
-- @param #ccs.ActionFrame srcFrame
-- @return ActionInterval#ActionInterval ret (retunr value: cc.ActionInterval)
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
--------------------------------
-- Gets the type of action frame<br>

View File

@ -12,7 +12,7 @@
-- @param #char jsonName
-- @param #char actionName
-- @param #cc.CallFunc func
-- @return ActionObject#ActionObject ret (retunr value: ccs.ActionObject)
-- @return ActionObject#ActionObject ret (return value: ccs.ActionObject)
--------------------------------
-- Gets an ActionObject with a name.<br>

View File

@ -18,7 +18,7 @@
-- @param self
-- @param #float duration
-- @param #ccs.ActionFrame srcFrame
-- @return ActionInterval#ActionInterval ret (retunr value: cc.ActionInterval)
-- @return ActionInterval#ActionInterval ret (return value: cc.ActionInterval)
--------------------------------
-- Gets the rotate action rotation.<br>

View File

@ -9,7 +9,7 @@
-- @overload self
-- @function [parent=#Animate] getAnimation
-- @param self
-- @return Animation#Animation ret (retunr value: cc.Animation)
-- @return Animation#Animation ret (return value: cc.Animation)
--------------------------------
-- sets the Animation object to be animated

View File

@ -36,7 +36,7 @@
-- @param #cc.Animation3D animation
-- @param #float fromTime
-- @param #float duration
-- @return Animate3D#Animate3D ret (retunr value: cc.Animate3D)
-- @return Animate3D#Animate3D ret (return value: cc.Animate3D)
--------------------------------
-- animate transistion time

View File

@ -102,7 +102,7 @@
-- @param #array_table arrayOfAnimationFrameNames
-- @param #float delayPerUnit
-- @param #unsigned int loops
-- @return Animation#Animation ret (retunr value: cc.Animation)
-- @return Animation#Animation ret (return value: cc.Animation)
--------------------------------
--

View File

@ -15,7 +15,7 @@
-- @overload self
-- @function [parent=#AnimationFrame] getUserInfo
-- @param self
-- @return map_table#map_table ret (retunr value: map_table)
-- @return map_table#map_table ret (return value: map_table)
--------------------------------
-- Sets the units of time the frame takes

View File

@ -81,7 +81,7 @@
-- @param self
-- @param #string name
-- @param #ccs.Bone parentBone
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
--
@ -154,7 +154,7 @@
-- @param self
-- @param #string name
-- @param #ccs.Bone parentBone
-- @return Armature#Armature ret (retunr value: ccs.Armature)
-- @return Armature#Armature ret (return value: ccs.Armature)
--------------------------------
--

View File

@ -181,6 +181,6 @@
-- @function [parent=#AudioEngine] getProfile
-- @param self
-- @param #int audioID
-- @return experimental::AudioProfile#experimental::AudioProfile ret (retunr value: cc.experimental::AudioProfile)
-- @return experimental::AudioProfile#experimental::AudioProfile ret (return value: cc.experimental::AudioProfile)
return nil

View File

@ -25,7 +25,7 @@
-- @param #string filename
-- @param #rect_table rect
-- @param #int mode
-- @return BillBoard#BillBoard ret (retunr value: cc.BillBoard)
-- @return BillBoard#BillBoard ret (return value: cc.BillBoard)
--------------------------------
-- Creates a BillBoard with a Texture2D object.<br>

View File

@ -94,7 +94,7 @@
-- @function [parent=#Bone] init
-- @param self
-- @param #string name
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Set parent bone.<br>
@ -209,7 +209,7 @@
-- @function [parent=#Bone] create
-- @param self
-- @param #string name
-- @return Bone#Bone ret (retunr value: ccs.Bone)
-- @return Bone#Bone ret (return value: ccs.Bone)
--------------------------------
--

View File

@ -189,7 +189,7 @@
-- @param #string selectedImage
-- @param #string disableImage
-- @param #int texType
-- @return Button#Button ret (retunr value: ccui.Button)
-- @return Button#Button ret (return value: ccui.Button)
--------------------------------
--

View File

@ -94,7 +94,7 @@
-- @param #string backGroundDisabled
-- @param #string frontCrossDisabled
-- @param #int texType
-- @return CheckBox#CheckBox ret (retunr value: ccui.CheckBox)
-- @return CheckBox#CheckBox ret (return value: ccui.CheckBox)
--------------------------------
--

View File

@ -53,7 +53,7 @@
-- @function [parent=#ClippingNode] create
-- @param self
-- @param #cc.Node stencil
-- @return ClippingNode#ClippingNode ret (retunr value: cc.ClippingNode)
-- @return ClippingNode#ClippingNode ret (return value: cc.ClippingNode)
--------------------------------
--

View File

@ -34,7 +34,7 @@
-- @function [parent=#ClippingRectangleNode] create
-- @param self
-- @param #rect_table clippingRegion
-- @return ClippingRectangleNode#ClippingRectangleNode ret (retunr value: cc.ClippingRectangleNode)
-- @return ClippingRectangleNode#ClippingRectangleNode ret (return value: cc.ClippingRectangleNode)
--------------------------------
--

View File

@ -101,7 +101,7 @@
-- @param self
-- @param #char pszFilePath
-- @param #bool bLoop
-- @return unsigned int#unsigned int ret (retunr value: unsigned int)
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
--

View File

@ -23,7 +23,7 @@
-- @param self
-- @param #cc.Node node
-- @param #char comName
-- @return ComRender#ComRender ret (retunr value: ccs.ComRender)
-- @return ComRender#ComRender ret (return value: ccs.ComRender)
--------------------------------
--

View File

@ -140,7 +140,7 @@
-- @overload self
-- @function [parent=#ControlButton] getCurrentTitle
-- @param self
-- @return string#string ret (retunr value: string)
-- @return string#string ret (return value: string)
--------------------------------
--
@ -297,7 +297,7 @@
-- @param #string title
-- @param #string fontName
-- @param #float fontSize
-- @return ControlButton#ControlButton ret (retunr value: cc.ControlButton)
-- @return ControlButton#ControlButton ret (return value: cc.ControlButton)
--------------------------------
--

View File

@ -103,7 +103,7 @@
-- @param #cc.Sprite progressSprite
-- @param #cc.Sprite thumbSprite
-- @param #cc.Sprite selectedThumbSprite
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
--
@ -159,7 +159,7 @@
-- @param #cc.Sprite pogressSprite
-- @param #cc.Sprite thumbSprite
-- @param #cc.Sprite selectedThumbSprite
-- @return ControlSlider#ControlSlider ret (retunr value: cc.ControlSlider)
-- @return ControlSlider#ControlSlider ret (return value: cc.ControlSlider)
--------------------------------
-- js ctor

View File

@ -35,7 +35,7 @@
-- @param #cc.Sprite thumbSprite
-- @param #cc.Label onLabel
-- @param #cc.Label offLabel
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
--
@ -61,7 +61,7 @@
-- @param #cc.Sprite thumbSprite
-- @param #cc.Label onLabel
-- @param #cc.Label offLabel
-- @return ControlSwitch#ControlSwitch ret (retunr value: cc.ControlSwitch)
-- @return ControlSwitch#ControlSwitch ret (return value: cc.ControlSwitch)
--------------------------------
--

View File

@ -68,7 +68,7 @@
-- @param self
-- @param #float x
-- @param #float y
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Change display by index. You can just use this method to change display in the display list.<br>

View File

@ -11,7 +11,7 @@
-- @param self
-- @param #cc.ActionInterval action
-- @param #float period
-- @return EaseElasticIn#EaseElasticIn ret (retunr value: cc.EaseElasticIn)
-- @return EaseElasticIn#EaseElasticIn ret (return value: cc.EaseElasticIn)
--------------------------------
--

View File

@ -11,7 +11,7 @@
-- @param self
-- @param #cc.ActionInterval action
-- @param #float period
-- @return EaseElasticInOut#EaseElasticInOut ret (retunr value: cc.EaseElasticInOut)
-- @return EaseElasticInOut#EaseElasticInOut ret (return value: cc.EaseElasticInOut)
--------------------------------
--

View File

@ -11,7 +11,7 @@
-- @param self
-- @param #cc.ActionInterval action
-- @param #float period
-- @return EaseElasticOut#EaseElasticOut ret (retunr value: cc.EaseElasticOut)
-- @return EaseElasticOut#EaseElasticOut ret (return value: cc.EaseElasticOut)
--------------------------------
--

View File

@ -159,7 +159,7 @@
-- @param #size_table size
-- @param #string pNormal9SpriteBg
-- @param #int texType
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Set a text in the edit box that acts as a placeholder when an<br>
@ -224,7 +224,7 @@
-- @param #ccui.Scale9Sprite normalSprite
-- @param #ccui.Scale9Sprite pressedSprite
-- @param #ccui.Scale9Sprite disabledSprite
-- @return EditBox#EditBox ret (retunr value: ccui.EditBox)
-- @return EditBox#EditBox ret (return value: ccui.EditBox)
--------------------------------
--

View File

@ -24,7 +24,7 @@
-- @param #size_table gridSize
-- @param #cc.Texture2D texture
-- @param #bool flipped
-- @return Grid3D#Grid3D ret (retunr value: cc.Grid3D)
-- @return Grid3D#Grid3D ret (return value: cc.Grid3D)
--------------------------------
--

View File

@ -91,7 +91,7 @@
-- @param #size_table gridSize
-- @param #cc.Texture2D texture
-- @param #bool flipped
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
--
@ -123,6 +123,6 @@
-- @param #size_table gridSize
-- @param #cc.Texture2D texture
-- @param #bool flipped
-- @return GridBase#GridBase ret (retunr value: cc.GridBase)
-- @return GridBase#GridBase ret (return value: cc.GridBase)
return nil

View File

@ -10,7 +10,7 @@
-- @function [parent=#HBox] create
-- @param self
-- @param #size_table size
-- @return HBox#HBox ret (retunr value: ccui.HBox)
-- @return HBox#HBox ret (return value: ccui.HBox)
--------------------------------
-- Default constructor

View File

@ -18,20 +18,9 @@
--------------------------------
--
-- @function [parent=#Helper] doLayout
-- @function [parent=#Helper] changeLayoutSystemActiveState
-- @param self
-- @param #cc.Node rootNode
--------------------------------
-- Finds a widget whose tag equals to param tag from root widget.<br>
-- param root widget which will be seeked.<br>
-- tag tag value.<br>
-- return finded result.
-- @function [parent=#Helper] seekWidgetByTag
-- @param self
-- @param #ccui.Widget root
-- @param #int tag
-- @return Widget#Widget ret (return value: ccui.Widget)
-- @param #bool bActive
--------------------------------
--
@ -52,4 +41,21 @@
-- @param #string name
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
-- Finds a widget whose tag equals to param tag from root widget.<br>
-- param root widget which will be seeked.<br>
-- tag tag value.<br>
-- return finded result.
-- @function [parent=#Helper] seekWidgetByTag
-- @param self
-- @param #ccui.Widget root
-- @param #int tag
-- @return Widget#Widget ret (return value: ccui.Widget)
--------------------------------
--
-- @function [parent=#Helper] doLayout
-- @param self
-- @param #cc.Node rootNode
return nil

View File

@ -53,7 +53,7 @@
-- @param self
-- @param #string imageFileName
-- @param #int texType
-- @return ImageView#ImageView ret (retunr value: ccui.ImageView)
-- @return ImageView#ImageView ret (return value: ccui.ImageView)
--------------------------------
--

View File

@ -170,7 +170,7 @@
-- @param #int itemWidth
-- @param #int itemHeight
-- @param #int startCharMap
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
--
@ -324,7 +324,7 @@
-- @param #int itemWidth
-- @param #int itemHeight
-- @param #int startCharMap
-- @return Label#Label ret (retunr value: cc.Label)
-- @return Label#Label ret (return value: cc.Label)
--------------------------------
-- Creates a label with an initial string,font[font name or font file],font size, dimension in points, horizontal alignment and vertical alignment.<br>

View File

@ -21,7 +21,7 @@
-- @param #int itemWidth
-- @param #int itemHeight
-- @param #int startCharMap
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
--
@ -45,7 +45,7 @@
-- @param #int itemWidth
-- @param #int itemHeight
-- @param #int startCharMap
-- @return LabelAtlas#LabelAtlas ret (retunr value: cc.LabelAtlas)
-- @return LabelAtlas#LabelAtlas ret (return value: cc.LabelAtlas)
--------------------------------
--

View File

@ -33,7 +33,7 @@
-- @param #color4b_table color
-- @param #float width
-- @param #float height
-- @return LayerColor#LayerColor ret (retunr value: cc.LayerColor)
-- @return LayerColor#LayerColor ret (return value: cc.LayerColor)
--------------------------------
--

View File

@ -87,7 +87,7 @@
-- @param #color4b_table start
-- @param #color4b_table end
-- @param #vec2_table v
-- @return LayerGradient#LayerGradient ret (retunr value: cc.LayerGradient)
-- @return LayerGradient#LayerGradient ret (return value: cc.LayerGradient)
--------------------------------
--

View File

@ -76,7 +76,7 @@
-- @param self
-- @param #string textureName
-- @param #float percentage
-- @return LoadingBar#LoadingBar ret (retunr value: ccui.LoadingBar)
-- @return LoadingBar#LoadingBar ret (return value: ccui.LoadingBar)
--------------------------------
--

View File

@ -61,7 +61,7 @@
-- @param #float stroke
-- @param #color3b_table color
-- @param #string path
-- @return MotionStreak#MotionStreak ret (retunr value: cc.MotionStreak)
-- @return MotionStreak#MotionStreak ret (return value: cc.MotionStreak)
--------------------------------
--

View File

@ -21,7 +21,7 @@
-- @function [parent=#Node] removeComponent
-- @param self
-- @param #string name
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
-- set the PhysicsBody that let the sprite effect with physics<br>
@ -68,7 +68,7 @@
-- @overload self
-- @function [parent=#Node] getChildren
-- @param self
-- @return array_table#array_table ret (retunr value: array_table)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
@ -643,7 +643,7 @@
-- @overload self
-- @function [parent=#Node] getScheduler
-- @param self
-- @return Scheduler#Scheduler ret (retunr value: cc.Scheduler)
-- @return Scheduler#Scheduler ret (return value: cc.Scheduler)
--------------------------------
--
@ -686,7 +686,7 @@
-- @overload self
-- @function [parent=#Node] getParent
-- @param self
-- @return Node#Node ret (retunr value: cc.Node)
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
-- Gets position Z coordinate of this node.<br>
@ -1038,7 +1038,7 @@
-- @overload self
-- @function [parent=#Node] getActionManager
-- @param self
-- @return ActionManager#ActionManager ret (retunr value: cc.ActionManager)
-- @return ActionManager#ActionManager ret (return value: cc.ActionManager)
--------------------------------
-- Allocates and initializes a node.<br>

View File

@ -15,7 +15,7 @@
-- @overload self
-- @function [parent=#NodeGrid] getGrid
-- @param self
-- @return GridBase#GridBase ret (retunr value: cc.GridBase)
-- @return GridBase#GridBase ret (return value: cc.GridBase)
--------------------------------
-- Changes a grid object that is used when applying effects<br>

View File

@ -37,7 +37,7 @@
-- @function [parent=#ParticleSystemQuad] create
-- @param self
-- @param #map_table dictionary
-- @return ParticleSystemQuad#ParticleSystemQuad ret (retunr value: cc.ParticleSystemQuad)
-- @return ParticleSystemQuad#ParticleSystemQuad ret (return value: cc.ParticleSystemQuad)
--------------------------------
-- creates a Particle Emitter with a number of particles

View File

@ -435,7 +435,7 @@
-- @param self
-- @param #float mass
-- @param #float moment
-- @return PhysicsBody#PhysicsBody ret (retunr value: cc.PhysicsBody)
-- @return PhysicsBody#PhysicsBody ret (return value: cc.PhysicsBody)
--------------------------------
-- Create a body contains a EdgeBox shape.

View File

@ -63,6 +63,6 @@
-- @param #vec2_table anchr2
-- @param #float min
-- @param #float max
-- @return PhysicsJointLimit#PhysicsJointLimit ret (retunr value: cc.PhysicsJointLimit)
-- @return PhysicsJointLimit#PhysicsJointLimit ret (return value: cc.PhysicsJointLimit)
return nil

View File

@ -37,6 +37,6 @@
-- @param #cc.PhysicsBody b
-- @param #float min
-- @param #float max
-- @return PhysicsJointRotaryLimit#PhysicsJointRotaryLimit ret (retunr value: cc.PhysicsJointRotaryLimit)
-- @return PhysicsJointRotaryLimit#PhysicsJointRotaryLimit ret (return value: cc.PhysicsJointRotaryLimit)
return nil

View File

@ -10,7 +10,7 @@
-- @function [parent=#RelativeBox] create
-- @param self
-- @param #size_table size
-- @return RelativeBox#RelativeBox ret (retunr value: ccui.RelativeBox)
-- @return RelativeBox#RelativeBox ret (return value: ccui.RelativeBox)
--------------------------------
-- Default constructor

View File

@ -86,7 +86,7 @@
-- @param #int format
-- @param #bool isRGBA
-- @param #function callback
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
--
@ -166,7 +166,7 @@
-- @param #int h
-- @param #int format
-- @param #unsigned int depthStencilFormat
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @overload self, int, int, int
@ -178,7 +178,7 @@
-- @param #int h
-- @param #int format
-- @param #unsigned int depthStencilFormat
-- @return RenderTexture#RenderTexture ret (retunr value: cc.RenderTexture)
-- @return RenderTexture#RenderTexture ret (return value: cc.RenderTexture)
--------------------------------
--

View File

@ -13,7 +13,7 @@
-- @param #float duration
-- @param #float deltaAngleZ_X
-- @param #float deltaAngleZ_Y
-- @return RotateBy#RotateBy ret (retunr value: cc.RotateBy)
-- @return RotateBy#RotateBy ret (return value: cc.RotateBy)
--------------------------------
--

View File

@ -13,7 +13,7 @@
-- @param #float duration
-- @param #float dstAngleX
-- @param #float dstAngleY
-- @return RotateTo#RotateTo ret (retunr value: cc.RotateTo)
-- @return RotateTo#RotateTo ret (return value: cc.RotateTo)
--------------------------------
--

View File

@ -20,7 +20,7 @@
-- @param #vec2_table offset
-- @param #size_table originalSize
-- @param #rect_table capInsets
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Returns the flag which indicates whether the widget is flipped horizontally or not.<br>
@ -71,7 +71,7 @@
-- @param self
-- @param #string spriteFrameName
-- @param #rect_table capInsets
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
--
@ -98,7 +98,7 @@
-- @param #vec2_table offset
-- @param #size_table originalSize
-- @param #rect_table capInsets
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
--
@ -164,7 +164,7 @@
-- @param #string file
-- @param #rect_table rect
-- @param #rect_table capInsets
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
--
@ -185,7 +185,7 @@
-- @param self
-- @param #cc.SpriteFrame spriteFrame
-- @param #rect_table capInsets
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
--
@ -233,7 +233,7 @@
-- @param #string file
-- @param #rect_table rect
-- @param #rect_table capInsets
-- @return Scale9Sprite#Scale9Sprite ret (retunr value: ccui.Scale9Sprite)
-- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite)
--------------------------------
-- @overload self, string, rect_table
@ -242,7 +242,7 @@
-- @param self
-- @param #string spriteFrameName
-- @param #rect_table capInsets
-- @return Scale9Sprite#Scale9Sprite ret (retunr value: ccui.Scale9Sprite)
-- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite)
--------------------------------
-- @overload self, cc.SpriteFrame, rect_table
@ -251,7 +251,7 @@
-- @param self
-- @param #cc.SpriteFrame spriteFrame
-- @param #rect_table capInsets
-- @return Scale9Sprite#Scale9Sprite ret (retunr value: ccui.Scale9Sprite)
-- @return Scale9Sprite#Scale9Sprite ret (return value: ccui.Scale9Sprite)
--------------------------------
--

View File

@ -14,7 +14,7 @@
-- @param #float sx
-- @param #float sy
-- @param #float sz
-- @return ScaleBy#ScaleBy ret (retunr value: cc.ScaleBy)
-- @return ScaleBy#ScaleBy ret (return value: cc.ScaleBy)
--------------------------------
--

View File

@ -14,7 +14,7 @@
-- @param #float sx
-- @param #float sy
-- @param #float sz
-- @return ScaleTo#ScaleTo ret (retunr value: cc.ScaleTo)
-- @return ScaleTo#ScaleTo ret (return value: cc.ScaleTo)
--------------------------------
--

View File

@ -297,7 +297,7 @@
-- @overload self
-- @function [parent=#ScrollView] getChildren
-- @param self
-- @return array_table#array_table ret (retunr value: array_table)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--

View File

@ -88,7 +88,7 @@
-- @param #string skeletonDataFile
-- @param #spAtlas atlas
-- @param #float scale
-- @return SkeletonRenderer#SkeletonRenderer ret (retunr value: sp.SkeletonRenderer)
-- @return SkeletonRenderer#SkeletonRenderer ret (return value: sp.SkeletonRenderer)
--------------------------------
--

View File

@ -53,7 +53,7 @@
-- @function [parent=#Skin] create
-- @param self
-- @param #string pszFileName
-- @return Skin#Skin ret (retunr value: ccs.Skin)
-- @return Skin#Skin ret (return value: ccs.Skin)
--------------------------------
--

View File

@ -196,7 +196,7 @@
-- @param self
-- @param #string filename
-- @param #rect_table rect
-- @return Sprite#Sprite ret (retunr value: cc.Sprite)
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- @overload self, cc.Texture2D, rect_table, bool
@ -206,7 +206,7 @@
-- @param #cc.Texture2D texture
-- @param #rect_table rect
-- @param #bool rotated
-- @return Sprite#Sprite ret (retunr value: cc.Sprite)
-- @return Sprite#Sprite ret (return value: cc.Sprite)
--------------------------------
-- Creates a sprite with an sprite frame name.<br>

View File

@ -92,7 +92,7 @@
-- @param self
-- @param #string modelPath
-- @param #string texturePath
-- @return Sprite3D#Sprite3D ret (retunr value: cc.Sprite3D)
-- @return Sprite3D#Sprite3D ret (return value: cc.Sprite3D)
--------------------------------
-- Returns 2d bounding-box<br>

View File

@ -116,7 +116,7 @@
-- @param #bool rotated
-- @param #vec2_table offset
-- @param #size_table originalSize
-- @return SpriteFrame#SpriteFrame ret (retunr value: cc.SpriteFrame)
-- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame)
--------------------------------
-- @overload self, cc.Texture2D, rect_table, bool, vec2_table, size_table
@ -128,6 +128,6 @@
-- @param #bool rotated
-- @param #vec2_table offset
-- @param #size_table originalSize
-- @return SpriteFrame#SpriteFrame ret (retunr value: cc.SpriteFrame)
-- @return SpriteFrame#SpriteFrame ret (return value: cc.SpriteFrame)
return nil

View File

@ -58,7 +58,7 @@
-- @overload self
-- @function [parent=#TMXLayer] getProperties
-- @param self
-- @return map_table#map_table ret (retunr value: map_table)
-- @return map_table#map_table ret (return value: map_table)
--------------------------------
-- Creates the tiles

View File

@ -71,14 +71,14 @@
-- @overload self
-- @function [parent=#TMXMapInfo] getLayers
-- @param self
-- @return array_table#array_table ret (retunr value: array_table)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- @overload self
-- @overload self
-- @function [parent=#TMXMapInfo] getTilesets
-- @param self
-- @return array_table#array_table ret (retunr value: array_table)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- / parent GID
@ -129,7 +129,7 @@
-- @overload self
-- @function [parent=#TMXMapInfo] getObjectGroups
-- @param self
-- @return array_table#array_table ret (retunr value: array_table)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
@ -190,7 +190,7 @@
-- @overload self
-- @function [parent=#TMXMapInfo] getProperties
-- @param self
-- @return map_table#map_table ret (retunr value: map_table)
-- @return map_table#map_table ret (return value: map_table)
--------------------------------
--

View File

@ -36,7 +36,7 @@
-- @overload self
-- @function [parent=#TMXObjectGroup] getObjects
-- @param self
-- @return array_table#array_table ret (retunr value: array_table)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
--
@ -49,7 +49,7 @@
-- @overload self
-- @function [parent=#TMXObjectGroup] getProperties
-- @param self
-- @return map_table#map_table ret (retunr value: map_table)
-- @return map_table#map_table ret (return value: map_table)
--------------------------------
--

View File

@ -35,7 +35,7 @@
-- @overload self
-- @function [parent=#TMXTiledMap] getObjectGroups
-- @param self
-- @return array_table#array_table ret (retunr value: array_table)
-- @return array_table#array_table ret (return value: array_table)
--------------------------------
-- the tiles's size property measured in pixels

View File

@ -9,7 +9,7 @@
-- @overload self
-- @function [parent=#TargetedAction] getForcedTarget
-- @param self
-- @return Node#Node ret (retunr value: cc.Node)
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
-- Sets the target that the action will be forced to run with

View File

@ -157,7 +157,7 @@
-- @param #string textContent
-- @param #string fontName
-- @param #int fontSize
-- @return Text#Text ret (retunr value: ccui.Text)
-- @return Text#Text ret (return value: ccui.Text)
--------------------------------
--

View File

@ -50,7 +50,7 @@
-- @param #int itemWidth
-- @param #int itemHeight
-- @param #string startCharMap
-- @return TextAtlas#TextAtlas ret (retunr value: ccui.TextAtlas)
-- @return TextAtlas#TextAtlas ret (return value: ccui.TextAtlas)
--------------------------------
--

View File

@ -38,7 +38,7 @@
-- @param self
-- @param #string text
-- @param #string filename
-- @return TextBMFont#TextBMFont ret (retunr value: ccui.TextBMFont)
-- @return TextBMFont#TextBMFont ret (return value: ccui.TextBMFont)
--------------------------------
--

View File

@ -240,7 +240,7 @@
-- @param #string placeholder
-- @param #string fontName
-- @param #int fontSize
-- @return TextField#TextField ret (retunr value: ccui.TextField)
-- @return TextField#TextField ret (return value: ccui.TextField)
--------------------------------
--

View File

@ -24,7 +24,7 @@
-- @param self
-- @param #cc.Image image
-- @param #int format
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Gets max S
@ -57,7 +57,7 @@
-- @function [parent=#Texture2D] getBitsPerPixelForFormat
-- @param self
-- @param #int format
-- @return unsigned int#unsigned int ret (retunr value: unsigned int)
-- @return unsigned int#unsigned int ret (return value: unsigned int)
--------------------------------
-- Gets the texture name
@ -76,7 +76,7 @@
-- @param #size_table dimensions
-- @param #int hAlignment
-- @param #int vAlignment
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
-- Sets max T

View File

@ -58,7 +58,7 @@
-- @param self
-- @param #cc.Image image
-- @param #string key
-- @return Texture2D#Texture2D ret (retunr value: cc.Texture2D)
-- @return Texture2D#Texture2D ret (return value: cc.Texture2D)
--------------------------------
--

View File

@ -12,7 +12,7 @@
-- @param #size_table gridSize
-- @param #cc.Texture2D texture
-- @param #bool flipped
-- @return TiledGrid3D#TiledGrid3D ret (retunr value: cc.TiledGrid3D)
-- @return TiledGrid3D#TiledGrid3D ret (return value: cc.TiledGrid3D)
--------------------------------
--

View File

@ -12,6 +12,6 @@
-- @param #float duration
-- @param #cc.Scene scene
-- @param #color3b_table color
-- @return TransitionFade#TransitionFade ret (retunr value: cc.TransitionFade)
-- @return TransitionFade#TransitionFade ret (return value: cc.TransitionFade)
return nil

View File

@ -12,6 +12,6 @@
-- @param #float t
-- @param #cc.Scene s
-- @param #int o
-- @return TransitionFlipAngular#TransitionFlipAngular ret (retunr value: cc.TransitionFlipAngular)
-- @return TransitionFlipAngular#TransitionFlipAngular ret (return value: cc.TransitionFlipAngular)
return nil

View File

@ -12,6 +12,6 @@
-- @param #float t
-- @param #cc.Scene s
-- @param #int o
-- @return TransitionFlipX#TransitionFlipX ret (retunr value: cc.TransitionFlipX)
-- @return TransitionFlipX#TransitionFlipX ret (return value: cc.TransitionFlipX)
return nil

View File

@ -12,6 +12,6 @@
-- @param #float t
-- @param #cc.Scene s
-- @param #int o
-- @return TransitionFlipY#TransitionFlipY ret (retunr value: cc.TransitionFlipY)
-- @return TransitionFlipY#TransitionFlipY ret (return value: cc.TransitionFlipY)
return nil

View File

@ -12,6 +12,6 @@
-- @param #float t
-- @param #cc.Scene s
-- @param #int o
-- @return TransitionZoomFlipAngular#TransitionZoomFlipAngular ret (retunr value: cc.TransitionZoomFlipAngular)
-- @return TransitionZoomFlipAngular#TransitionZoomFlipAngular ret (return value: cc.TransitionZoomFlipAngular)
return nil

View File

@ -12,6 +12,6 @@
-- @param #float t
-- @param #cc.Scene s
-- @param #int o
-- @return TransitionZoomFlipX#TransitionZoomFlipX ret (retunr value: cc.TransitionZoomFlipX)
-- @return TransitionZoomFlipX#TransitionZoomFlipX ret (return value: cc.TransitionZoomFlipX)
return nil

View File

@ -12,6 +12,6 @@
-- @param #float t
-- @param #cc.Scene s
-- @param #int o
-- @return TransitionZoomFlipY#TransitionZoomFlipY ret (retunr value: cc.TransitionZoomFlipY)
-- @return TransitionZoomFlipY#TransitionZoomFlipY ret (return value: cc.TransitionZoomFlipY)
return nil

View File

@ -24,7 +24,7 @@
-- @param #float duration
-- @param #size_table gridSize
-- @param #unsigned int seed
-- @return TurnOffTiles#TurnOffTiles ret (retunr value: cc.TurnOffTiles)
-- @return TurnOffTiles#TurnOffTiles ret (return value: cc.TurnOffTiles)
--------------------------------
--

View File

@ -18,7 +18,7 @@
-- @param self
-- @param #char pKey
-- @param #float defaultValue
-- @return float#float ret (retunr value: float)
-- @return float#float ret (return value: float)
--------------------------------
-- @overload self, char, bool
@ -27,7 +27,7 @@
-- @param self
-- @param #char pKey
-- @param #bool defaultValue
-- @return bool#bool ret (retunr value: bool)
-- @return bool#bool ret (return value: bool)
--------------------------------
-- brief Set double value by key.<br>
@ -52,7 +52,7 @@
-- @param self
-- @param #char pKey
-- @param #string defaultValue
-- @return string#string ret (retunr value: string)
-- @return string#string ret (return value: string)
--------------------------------
-- brief Set string value by key.<br>
@ -75,7 +75,7 @@
-- @param self
-- @param #char pKey
-- @param #int defaultValue
-- @return int#int ret (retunr value: int)
-- @return int#int ret (return value: int)
--------------------------------
-- @overload self, char, double
@ -84,7 +84,7 @@
-- @param self
-- @param #char pKey
-- @param #double defaultValue
-- @return double#double ret (retunr value: double)
-- @return double#double ret (return value: double)
--------------------------------
-- brief Set bool value by key.<br>

View File

@ -10,7 +10,7 @@
-- @function [parent=#VBox] create
-- @param self
-- @param #size_table size
-- @return VBox#VBox ret (retunr value: ccui.VBox)
-- @return VBox#VBox ret (return value: ccui.VBox)
--------------------------------
-- Default constructor

View File

@ -60865,7 +60865,7 @@ int lua_register_cocos2dx_SpriteFrameCache(lua_State* tolua_S)
tolua_beginmodule(tolua_S,"SpriteFrameCache");
tolua_function(tolua_S,"addSpriteFramesWithFileContent",lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFileContent);
tolua_function(tolua_S,"addSpriteFramesWithFile",lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFile);
tolua_function(tolua_S,"addSpriteFrames",lua_cocos2dx_SpriteFrameCache_addSpriteFramesWithFile);
tolua_function(tolua_S,"addSpriteFrame",lua_cocos2dx_SpriteFrameCache_addSpriteFrame);
tolua_function(tolua_S,"removeUnusedSpriteFrames",lua_cocos2dx_SpriteFrameCache_removeUnusedSpriteFrames);
tolua_function(tolua_S,"getSpriteFrame",lua_cocos2dx_SpriteFrameCache_getSpriteFrameByName);

View File

@ -16600,7 +16600,7 @@ int lua_cocos2dx_ui_Helper_getSubStringOfUTF8String(lua_State* tolua_S)
#endif
return 0;
}
int lua_cocos2dx_ui_Helper_doLayout(lua_State* tolua_S)
int lua_cocos2dx_ui_Helper_changeLayoutSystemActiveState(lua_State* tolua_S)
{
int argc = 0;
bool ok = true;
@ -16617,53 +16617,18 @@ int lua_cocos2dx_ui_Helper_doLayout(lua_State* tolua_S)
if (argc == 1)
{
cocos2d::Node* arg0;
ok &= luaval_to_object<cocos2d::Node>(tolua_S, 2, "cc.Node",&arg0);
bool arg0;
ok &= luaval_to_boolean(tolua_S, 2,&arg0, "ccui.Helper:changeLayoutSystemActiveState");
if(!ok)
return 0;
cocos2d::ui::Helper::doLayout(arg0);
cocos2d::ui::Helper::changeLayoutSystemActiveState(arg0);
return 0;
}
CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:doLayout",argc, 1);
CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:changeLayoutSystemActiveState",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_Helper_doLayout'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ui_Helper_seekWidgetByTag(lua_State* tolua_S)
{
int argc = 0;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertable(tolua_S,1,"ccui.Helper",0,&tolua_err)) goto tolua_lerror;
#endif
argc = lua_gettop(tolua_S) - 1;
if (argc == 2)
{
cocos2d::ui::Widget* arg0;
int arg1;
ok &= luaval_to_object<cocos2d::ui::Widget>(tolua_S, 2, "ccui.Widget",&arg0);
ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Helper:seekWidgetByTag");
if(!ok)
return 0;
cocos2d::ui::Widget* ret = cocos2d::ui::Helper::seekWidgetByTag(arg0, arg1);
object_to_luaval<cocos2d::ui::Widget>(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret);
return 1;
}
CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:seekWidgetByTag",argc, 2);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_Helper_seekWidgetByTag'.",&tolua_err);
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_Helper_changeLayoutSystemActiveState'.",&tolua_err);
#endif
return 0;
}
@ -16737,6 +16702,73 @@ int lua_cocos2dx_ui_Helper_seekWidgetByName(lua_State* tolua_S)
#endif
return 0;
}
int lua_cocos2dx_ui_Helper_seekWidgetByTag(lua_State* tolua_S)
{
int argc = 0;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertable(tolua_S,1,"ccui.Helper",0,&tolua_err)) goto tolua_lerror;
#endif
argc = lua_gettop(tolua_S) - 1;
if (argc == 2)
{
cocos2d::ui::Widget* arg0;
int arg1;
ok &= luaval_to_object<cocos2d::ui::Widget>(tolua_S, 2, "ccui.Widget",&arg0);
ok &= luaval_to_int32(tolua_S, 3,(int *)&arg1, "ccui.Helper:seekWidgetByTag");
if(!ok)
return 0;
cocos2d::ui::Widget* ret = cocos2d::ui::Helper::seekWidgetByTag(arg0, arg1);
object_to_luaval<cocos2d::ui::Widget>(tolua_S, "ccui.Widget",(cocos2d::ui::Widget*)ret);
return 1;
}
CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:seekWidgetByTag",argc, 2);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_Helper_seekWidgetByTag'.",&tolua_err);
#endif
return 0;
}
int lua_cocos2dx_ui_Helper_doLayout(lua_State* tolua_S)
{
int argc = 0;
bool ok = true;
#if COCOS2D_DEBUG >= 1
tolua_Error tolua_err;
#endif
#if COCOS2D_DEBUG >= 1
if (!tolua_isusertable(tolua_S,1,"ccui.Helper",0,&tolua_err)) goto tolua_lerror;
#endif
argc = lua_gettop(tolua_S) - 1;
if (argc == 1)
{
cocos2d::Node* arg0;
ok &= luaval_to_object<cocos2d::Node>(tolua_S, 2, "cc.Node",&arg0);
if(!ok)
return 0;
cocos2d::ui::Helper::doLayout(arg0);
return 0;
}
CCLOG("%s has wrong number of arguments: %d, was expecting %d\n ", "ccui.Helper:doLayout",argc, 1);
return 0;
#if COCOS2D_DEBUG >= 1
tolua_lerror:
tolua_error(tolua_S,"#ferror in function 'lua_cocos2dx_ui_Helper_doLayout'.",&tolua_err);
#endif
return 0;
}
static int lua_cocos2dx_ui_Helper_finalize(lua_State* tolua_S)
{
printf("luabindings: finalizing LUA object (Helper)");
@ -16750,10 +16782,11 @@ int lua_register_cocos2dx_ui_Helper(lua_State* tolua_S)
tolua_beginmodule(tolua_S,"Helper");
tolua_function(tolua_S,"getSubStringOfUTF8String", lua_cocos2dx_ui_Helper_getSubStringOfUTF8String);
tolua_function(tolua_S,"doLayout", lua_cocos2dx_ui_Helper_doLayout);
tolua_function(tolua_S,"seekWidgetByTag", lua_cocos2dx_ui_Helper_seekWidgetByTag);
tolua_function(tolua_S,"changeLayoutSystemActiveState", lua_cocos2dx_ui_Helper_changeLayoutSystemActiveState);
tolua_function(tolua_S,"seekActionWidgetByActionTag", lua_cocos2dx_ui_Helper_seekActionWidgetByActionTag);
tolua_function(tolua_S,"seekWidgetByName", lua_cocos2dx_ui_Helper_seekWidgetByName);
tolua_function(tolua_S,"seekWidgetByTag", lua_cocos2dx_ui_Helper_seekWidgetByTag);
tolua_function(tolua_S,"doLayout", lua_cocos2dx_ui_Helper_doLayout);
tolua_endmodule(tolua_S);
std::string typeName = typeid(cocos2d::ui::Helper).name();
g_luaType[typeName] = "ccui.Helper";

View File

@ -480,6 +480,7 @@ int register_all_cocos2dx_ui(lua_State* tolua_S);
#endif // __cocos2dx_ui_h__