mirror of https://github.com/axmolengine/axmol.git
165 lines
4.7 KiB
Lua
165 lines
4.7 KiB
Lua
|
|
--------------------------------
|
|
-- @module Button
|
|
-- @extend Widget
|
|
|
|
--------------------------------
|
|
-- @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
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Button] getCapInsetsDisabledRenderer
|
|
-- @param self
|
|
-- @return rect_table#rect_table ret (return value: rect_table)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Button] setTitleColor
|
|
-- @param self
|
|
-- @param #color3b_table color3b
|
|
|
|
--------------------------------
|
|
-- @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
|
|
-- @param #string str
|
|
-- @param #ccui.Widget::TextureResType texturerestype
|
|
|
|
--------------------------------
|
|
-- @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
|
|
-- @param #string str
|
|
-- @param #ccui.Widget::TextureResType texturerestype
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Button] setTitleFontName
|
|
-- @param self
|
|
-- @param #string str
|
|
|
|
--------------------------------
|
|
-- @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
|
|
-- @param #string str
|
|
-- @param #string str
|
|
-- @param #string str
|
|
-- @param #ccui.Widget::TextureResType texturerestype
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Button] isScale9Enabled
|
|
-- @param self
|
|
-- @return bool#bool ret (return value: bool)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Button] loadTextureNormal
|
|
-- @param self
|
|
-- @param #string str
|
|
-- @param #ccui.Widget::TextureResType texturerestype
|
|
|
|
--------------------------------
|
|
-- @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
|
|
-- @return string#string ret (return value: string)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Button] getTitleColor
|
|
-- @param self
|
|
-- @return color3b_table#color3b_table ret (return value: color3b_table)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Button] setPressedActionEnabled
|
|
-- @param self
|
|
-- @param #bool bool
|
|
|
|
--------------------------------
|
|
-- overload function: create(string, string, string, ccui.Widget::TextureResType)
|
|
--
|
|
-- overload function: create()
|
|
--
|
|
-- @function [parent=#Button] create
|
|
-- @param self
|
|
-- @param #string str
|
|
-- @param #string str
|
|
-- @param #string str
|
|
-- @param #ccui.Widget::TextureResType texturerestype
|
|
-- @return Button#Button ret (retunr value: ccui.Button)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Button] createInstance
|
|
-- @param self
|
|
-- @return Ref#Ref ret (return value: cc.Ref)
|
|
|
|
--------------------------------
|
|
-- @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)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Button] getVirtualRendererSize
|
|
-- @param self
|
|
-- @return size_table#size_table ret (return value: size_table)
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Button] ignoreContentAdaptWithSize
|
|
-- @param self
|
|
-- @param #bool bool
|
|
|
|
--------------------------------
|
|
-- @function [parent=#Button] Button
|
|
-- @param self
|
|
|
|
return nil
|