2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module Button
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend Widget
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module ccui
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] getTitleText
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] setTitleFontSize
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] setScale9Enabled
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
2014-08-15 15:23:17 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] getZoomScale
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] getCapInsetsDisabledRenderer
|
|
|
|
-- @param self
|
|
|
|
-- @return rect_table#rect_table ret (return value: rect_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] setTitleColor
|
|
|
|
-- @param self
|
2014-05-08 11:19:36 +08:00
|
|
|
-- @param #color3b_table color3b
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] setCapInsetsDisabledRenderer
|
|
|
|
-- @param self
|
|
|
|
-- @param #rect_table rect
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] setCapInsets
|
|
|
|
-- @param self
|
|
|
|
-- @param #rect_table rect
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] loadTextureDisabled
|
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @param #string str
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @param #int texturerestype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] setTitleText
|
|
|
|
-- @param self
|
|
|
|
-- @param #string str
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] setCapInsetsNormalRenderer
|
|
|
|
-- @param self
|
|
|
|
-- @param #rect_table rect
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] loadTexturePressed
|
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @param #string str
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @param #int texturerestype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] setTitleFontName
|
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @param #string str
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] getCapInsetsNormalRenderer
|
|
|
|
-- @param self
|
|
|
|
-- @return rect_table#rect_table ret (return value: rect_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] getCapInsetsPressedRenderer
|
|
|
|
-- @param self
|
|
|
|
-- @return rect_table#rect_table ret (return value: rect_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] loadTextures
|
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @param #int texturerestype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] isScale9Enabled
|
|
|
|
-- @param self
|
|
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] loadTextureNormal
|
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @param #string str
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @param #int texturerestype
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] setCapInsetsPressedRenderer
|
|
|
|
-- @param self
|
|
|
|
-- @param #rect_table rect
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] getTitleFontSize
|
|
|
|
-- @param self
|
|
|
|
-- @return float#float ret (return value: float)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] getTitleFontName
|
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @return string#string ret (return value: string)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] getTitleColor
|
|
|
|
-- @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=#Button] setPressedActionEnabled
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
2014-08-15 15:23:17 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] setZoomScale
|
|
|
|
-- @param self
|
|
|
|
-- @param #float float
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @overload self, string, string, string, int
|
2014-07-17 10:28:34 +08:00
|
|
|
-- @overload self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @function [parent=#Button] create
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @param self
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
|
|
|
-- @param #string str
|
2014-07-17 22:20:04 +08:00
|
|
|
-- @param #int texturerestype
|
2014-04-04 18:45:34 +08:00
|
|
|
-- @return Button#Button ret (retunr value: ccui.Button)
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] createInstance
|
|
|
|
-- @param self
|
|
|
|
-- @return Ref#Ref ret (return value: cc.Ref)
|
|
|
|
|
2014-03-18 15:55:30 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] getVirtualRenderer
|
|
|
|
-- @param self
|
|
|
|
-- @return Node#Node ret (return value: cc.Node)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] getDescription
|
|
|
|
-- @param self
|
|
|
|
-- @return string#string ret (return value: string)
|
|
|
|
|
|
|
|
--------------------------------
|
2014-04-18 10:51:14 +08:00
|
|
|
-- @function [parent=#Button] getVirtualRendererSize
|
2014-03-18 15:55:30 +08:00
|
|
|
-- @param self
|
|
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] ignoreContentAdaptWithSize
|
|
|
|
-- @param self
|
|
|
|
-- @param #bool bool
|
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
|
|
|
-- @function [parent=#Button] Button
|
|
|
|
-- @param self
|
|
|
|
|
|
|
|
return nil
|