mirror of https://github.com/axmolengine/axmol.git
[ci skip][AUTO]: updating luabinding & jsbinding automatically
This commit is contained in:
parent
8f2ed70f36
commit
5760e43387
|
@ -52,7 +52,7 @@
|
|||
-- This search will be recursive throught all child widgets.<br>
|
||||
-- param root The be searched root widget.<br>
|
||||
-- param name The widget name.<br>
|
||||
-- return Widget isntance pointer.
|
||||
-- return Widget instance pointer.
|
||||
-- @function [parent=#Helper] seekWidgetByName
|
||||
-- @param self
|
||||
-- @param #ccui.Widget root
|
||||
|
|
|
@ -151,7 +151,7 @@
|
|||
|
||||
--------------------------------
|
||||
-- Query background image scale9 enable status.<br>
|
||||
-- return Whehter background image is scale9 enabled or not.
|
||||
-- return Whether background image is scale9 enabled or not.
|
||||
-- @function [parent=#Layout] isBackGroundImageScale9Enabled
|
||||
-- @param self
|
||||
-- @return bool#bool ret (return value: bool)
|
||||
|
|
|
@ -191,7 +191,7 @@
|
|||
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
|
||||
|
||||
--------------------------------
|
||||
-- Query percent hieght of owner. <br>
|
||||
-- Query percent height of owner. <br>
|
||||
-- return Percent height in float.
|
||||
-- @function [parent=#LayoutComponent] getPercentHeight
|
||||
-- @param self
|
||||
|
@ -301,7 +301,7 @@
|
|||
|
||||
--------------------------------
|
||||
-- Whether position percentX is enabled or not. <br>
|
||||
-- return True if position percertX is enable, false otherwise.
|
||||
-- return True if position percentX is enable, false otherwise.
|
||||
-- @function [parent=#LayoutComponent] isPositionPercentXEnabled
|
||||
-- @param self
|
||||
-- @return bool#bool ret (return value: bool)
|
||||
|
@ -332,7 +332,7 @@
|
|||
-- @return LayoutComponent#LayoutComponent self (return value: ccui.LayoutComponent)
|
||||
|
||||
--------------------------------
|
||||
-- Query whehter percent height is enabled or not.<br>
|
||||
-- Query whether percent height is enabled or not.<br>
|
||||
-- return True if percent height is enabled, false otherwise.
|
||||
-- @function [parent=#LayoutComponent] isPercentHeightEnabled
|
||||
-- @param self
|
||||
|
|
|
@ -135,7 +135,7 @@
|
|||
|
||||
--------------------------------
|
||||
-- brief Get all the pages in the PageView.<br>
|
||||
-- return A vector of Layout pionters.
|
||||
-- return A vector of Layout pointers.
|
||||
-- @function [parent=#PageView] getPages
|
||||
-- @param self
|
||||
-- @return array_table#array_table ret (return value: array_table)
|
||||
|
|
|
@ -88,7 +88,7 @@
|
|||
-- Initializes a sprite with an sprite frame name.<br>
|
||||
-- A SpriteFrame will be fetched from the SpriteFrameCache by name.<br>
|
||||
-- If the SpriteFrame doesn't exist it will raise an exception.<br>
|
||||
-- param spriteFrameName A key string that can fected a volid SpriteFrame from SpriteFrameCache.<br>
|
||||
-- param spriteFrameName A key string that can fected a valid SpriteFrame from SpriteFrameCache.<br>
|
||||
-- return True if the sprite is initialized properly, false otherwise.
|
||||
-- @function [parent=#Sprite] initWithSpriteFrameName
|
||||
-- @param self
|
||||
|
|
|
@ -110,7 +110,7 @@
|
|||
--------------------------------
|
||||
-- Sets the rendering size of the text, you should call this method<br>
|
||||
-- along with calling `ignoreContentAdaptWithSize(false)`, otherwise the text area<br>
|
||||
-- size is caculated by the real size of the text content.<br>
|
||||
-- size is calculated by the real size of the text content.<br>
|
||||
-- param size The text rendering area size.
|
||||
-- @function [parent=#Text] setTextAreaSize
|
||||
-- @param self
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
-- @parent_module ccexp
|
||||
|
||||
--------------------------------
|
||||
-- brief Get the local video filie name.<br>
|
||||
-- brief Get the local video file name.<br>
|
||||
-- return The video file name.
|
||||
-- @function [parent=#VideoPlayer] getFileName
|
||||
-- @param self
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
|
||||
--------------------------------
|
||||
-- Sets whether the widget should be flipped horizontally or not.<br>
|
||||
-- param flippedX true if the widget should be flipped horizaontally, false otherwise.
|
||||
-- param flippedX true if the widget should be flipped horizontally, false otherwise.
|
||||
-- @function [parent=#Widget] setFlippedX
|
||||
-- @param self
|
||||
-- @param #bool flippedX
|
||||
|
@ -109,12 +109,12 @@
|
|||
-- @return size_table#size_table ret (return value: size_table)
|
||||
|
||||
--------------------------------
|
||||
-- Sets whether the widget is hilighted<br>
|
||||
-- The default value is false, a widget is default to not hilighted<br>
|
||||
-- param hilight true if the widget is hilighted, false if the widget is not hilighted.
|
||||
-- Sets whether the widget is highlighted<br>
|
||||
-- The default value is false, a widget is default to not highlighted<br>
|
||||
-- param highlight true if the widget is highlighted, false if the widget is not highlighted.
|
||||
-- @function [parent=#Widget] setHighlighted
|
||||
-- @param self
|
||||
-- @param #bool hilight
|
||||
-- @param #bool highlight
|
||||
-- @return Widget#Widget self (return value: ccui.Widget)
|
||||
|
||||
--------------------------------
|
||||
|
@ -127,7 +127,7 @@
|
|||
-- @return Widget#Widget self (return value: ccui.Widget)
|
||||
|
||||
--------------------------------
|
||||
-- Query whether the widget ignores user deinfed content size or not<br>
|
||||
-- Query whether the widget ignores user defined content size or not<br>
|
||||
-- return True means ignore user defined content size, false otherwise.
|
||||
-- @function [parent=#Widget] isIgnoreContentAdaptWithSize
|
||||
-- @param self
|
||||
|
@ -142,7 +142,7 @@
|
|||
|
||||
--------------------------------
|
||||
-- Determines if the widget is highlighted<br>
|
||||
-- return true if the widget is highlighted, false if the widget is not hignlighted .
|
||||
-- return true if the widget is highlighted, false if the widget is not highlighted.
|
||||
-- @function [parent=#Widget] isHighlighted
|
||||
-- @param self
|
||||
-- @return bool#bool ret (return value: bool)
|
||||
|
@ -174,7 +174,7 @@
|
|||
-- Toggle whether ignore user defined content size for widget.<br>
|
||||
-- Set true will ignore user defined content size which means <br>
|
||||
-- the widget size is always equal to the return value of `getVirtualRendererSize`.<br>
|
||||
-- param ignore set member variabl _ignoreSize to ignore
|
||||
-- param ignore set member variable _ignoreSize to ignore
|
||||
-- @function [parent=#Widget] ignoreContentAdaptWithSize
|
||||
-- @param self
|
||||
-- @param #bool ignore
|
||||
|
@ -351,7 +351,7 @@
|
|||
--------------------------------
|
||||
-- Dispatch a EventFocus through a EventDispatcher<br>
|
||||
-- param widgetLoseFocus The widget which lose its focus<br>
|
||||
-- param widgetGetFocus he widget whihc get its focus<br>
|
||||
-- param widgetGetFocus he widget which get its focus<br>
|
||||
-- return void
|
||||
-- @function [parent=#Widget] dispatchFocusEvent
|
||||
-- @param self
|
||||
|
@ -421,7 +421,7 @@
|
|||
--------------------------------
|
||||
-- This method is called when a focus change event happens<br>
|
||||
-- param widgetLostFocus The widget which lose its focus<br>
|
||||
-- param widgetGetFocus The widget whihc get its focus<br>
|
||||
-- param widgetGetFocus The widget which get its focus<br>
|
||||
-- return void
|
||||
-- @function [parent=#Widget] onFocusChange
|
||||
-- @param self
|
||||
|
@ -477,7 +477,7 @@
|
|||
-- It not only flips the texture of the widget, but also the texture of the widget's children.<br>
|
||||
-- Also, flipping relies on widget's anchor point.<br>
|
||||
-- Internally, it just use setScaleX(-1) to flip the widget.<br>
|
||||
-- return true if the widget is flipped horizaontally, false otherwise.
|
||||
-- return true if the widget is flipped horizontally, false otherwise.
|
||||
-- @function [parent=#Widget] isFlippedX
|
||||
-- @param self
|
||||
-- @return bool#bool ret (return value: bool)
|
||||
|
|
Loading…
Reference in New Issue