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
|
|
|
|
-- @param #point_table point
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setClippingType
|
|
|
|
-- @param self
|
|
|
|
-- @param #ccui.LayoutClippingType layoutclippingtype
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setBackGroundColorType
|
|
|
|
-- @param self
|
|
|
|
-- @param #ccui.LayoutBackGroundColorType layoutbackgroundcolortype
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setBackGroundImageColor
|
|
|
|
-- @param self
|
|
|
|
-- @param #color3B_table color3b
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundColorVector
|
|
|
|
-- @param self
|
|
|
|
-- @return point_table#point_table ret (return value: point_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getClippingType
|
|
|
|
-- @param self
|
|
|
|
-- @return LayoutClippingType#LayoutClippingType ret (return value: ccui.LayoutClippingType)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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
|
|
|
|
-- @param #char char
|
|
|
|
-- @param #ccui.TextureResType texturerestype
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- overload function: setBackGroundColor(color3B_table, color3B_table)
|
|
|
|
--
|
|
|
|
-- overload function: setBackGroundColor(color3B_table)
|
|
|
|
--
|
|
|
|
-- @function [parent=#Layout] setBackGroundColor
|
|
|
|
-- @param self
|
|
|
|
-- @param #color3B_table color3b
|
|
|
|
-- @param #color3B_table color3b
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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
|
|
|
|
-- @return color3B_table#color3B_table ret (return value: color3B_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setClippingEnabled
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundImageColor
|
|
|
|
-- @param self
|
|
|
|
-- @return color3B_table#color3B_table ret (return value: color3B_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] isBackGroundImageScale9Enabled
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundColorType
|
|
|
|
-- @param self
|
|
|
|
-- @return LayoutBackGroundColorType#LayoutBackGroundColorType ret (return value: ccui.LayoutBackGroundColorType)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundEndColor
|
|
|
|
-- @param self
|
|
|
|
-- @return color3B_table#color3B_table ret (return value: color3B_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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
|
|
|
|
-- @return LayoutType#LayoutType ret (return value: ccui.LayoutType)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] getBackGroundStartColor
|
|
|
|
-- @param self
|
|
|
|
-- @return color3B_table#color3B_table ret (return value: color3B_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] hitTest
|
|
|
|
-- @param self
|
|
|
|
-- @param #point_table point
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setBackGroundImageScale9Enabled
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Layout] setLayoutType
|
|
|
|
-- @param self
|
|
|
|
-- @param #ccui.LayoutType layouttype
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @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
|