2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Layout
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Widget
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setBackGroundColorVector
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @param #cc.Vec2 vec2
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setClippingType
|
|
|
|
-- @param self
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @param #ccui.Layout::ClippingType clippingtype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setBackGroundColorType
|
|
|
|
-- @param self
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @param #ccui.Layout::BackGroundColorType backgroundcolortype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
2014-05-08 14:03:37 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setLoopFocus
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setBackGroundImageColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @param #color3b_table color3b
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundColorVector
|
|
|
|
-- @param self
|
2014-05-15 01:16:02 +08:00
|
|
|
-- @return Vec2#Vec2 ret (return value: cc.Vec2)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getClippingType
|
|
|
|
-- @param self
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @return Layout::ClippingType#Layout::ClippingType ret (return value: ccui.Layout::ClippingType)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
2014-05-08 14:03:37 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] isLoopFocus
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] removeBackGroundImage
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundColorOpacity
|
|
|
|
-- @param self
|
|
|
|
-- @return unsigned char#unsigned char ret (return value: unsigned char)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] isClippingEnabled
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setBackGroundImageOpacity
|
|
|
|
-- @param self
|
|
|
|
-- @param #unsigned char char
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setBackGroundImage
|
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @param #string str
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @param #ccui.Widget::TextureResType texturerestype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-05-08 11:19:36 +08:00
|
|
|
-- overload function: setBackGroundColor(color3b_table, color3b_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
--
|
2014-05-08 11:19:36 +08:00
|
|
|
-- overload function: setBackGroundColor(color3b_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
--
|
|
|
|
-- @function [parent=#Layout] setBackGroundColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @param #color3b_table color3b
|
|
|
|
-- @param #color3b_table color3b
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] requestDoLayout
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundImageCapInsets
|
|
|
|
-- @param self
|
|
|
|
-- @return rect_table#rect_table ret (return value: rect_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @return color3b_table#color3b_table ret (return value: color3b_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setClippingEnabled
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundImageColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @return color3b_table#color3b_table ret (return value: color3b_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] isBackGroundImageScale9Enabled
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundColorType
|
|
|
|
-- @param self
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @return Layout::BackGroundColorType#Layout::BackGroundColorType ret (return value: ccui.Layout::BackGroundColorType)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundEndColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @return color3b_table#color3b_table ret (return value: color3b_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setBackGroundColorOpacity
|
|
|
|
-- @param self
|
|
|
|
-- @param #unsigned char char
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundImageOpacity
|
|
|
|
-- @param self
|
|
|
|
-- @return unsigned char#unsigned char ret (return value: unsigned char)
|
|
|
|
|
2014-05-08 14:03:37 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] isPassFocusToChild
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setBackGroundImageCapInsets
|
|
|
|
-- @param self
|
|
|
|
-- @param #rect_table rect
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundImageTextureSize
|
|
|
|
-- @param self
|
|
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getLayoutType
|
|
|
|
-- @param self
|
2014-05-13 11:39:46 +08:00
|
|
|
-- @return Layout::Type#Layout::Type ret (return value: ccui.Layout::Type)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
2014-05-08 14:03:37 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setPassFocusToChild
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundStartColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @return color3b_table#color3b_table ret (return value: color3b_table)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setBackGroundImageScale9Enabled
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setLayoutType
|
|
|
|
-- @param self
|
2014-05-13 11:39:46 +08:00
|
|
|
-- @param #ccui.Layout::Type type
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] create
|
|
|
|
-- @param self
|
|
|
|
-- @return Layout#Layout ret (return value: ccui.Layout)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] createInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return Ref#Ref ret (return value: cc.Ref)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- overload function: addChild(cc.Node, int)
|
|
|
|
--
|
|
|
|
-- overload function: addChild(cc.Node)
|
|
|
|
--
|
|
|
|
-- overload function: addChild(cc.Node, int, int)
|
|
|
|
--
|
|
|
|
-- @function [parent=#Layout] addChild
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Node node
|
|
|
|
-- @param #int int
|
|
|
|
-- @param #int int
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getDescription
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] removeAllChildrenWithCleanup
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] removeAllChildren
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] sortAllChildren
|
|
|
|
-- @param self
|
|
|
|
|
2014-05-08 14:03:37 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] findNextFocusedWidget
|
|
|
|
-- @param self
|
2014-05-12 16:14:14 +08:00
|
|
|
-- @param #ccui.Widget::FocusDirection focusdirection
|
2014-05-08 14:03:37 +08:00
|
|
|
-- @param #ccui.Widget widget
|
|
|
|
-- @return Widget#Widget ret (return value: ccui.Widget)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] removeChild
|
|
|
|
-- @param self
|
|
|
|
-- @param #cc.Node node
|
|
|
|
-- @param #bool bool
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] Layout
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|