mirror of https://github.com/axmolengine/axmol.git
59 lines
1.5 KiB
Lua
59 lines
1.5 KiB
Lua
|
|
--------------------------------
|
|
-- @module MenuItemLabel
|
|
-- @extend MenuItem
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- Gets the color that will be used to disable the item
|
|
-- @function [parent=#MenuItemLabel] getDisabledColor
|
|
-- @param self
|
|
-- @return color3b_table#color3b_table ret (return value: color3b_table)
|
|
|
|
--------------------------------
|
|
-- sets a new string to the inner label
|
|
-- @function [parent=#MenuItemLabel] setString
|
|
-- @param self
|
|
-- @param #string label
|
|
|
|
--------------------------------
|
|
-- Sets the label that is rendered.
|
|
-- @function [parent=#MenuItemLabel] setLabel
|
|
-- @param self
|
|
-- @param #cc.Node node
|
|
|
|
--------------------------------
|
|
-- Sets the color that will be used to disable the item
|
|
-- @function [parent=#MenuItemLabel] setDisabledColor
|
|
-- @param self
|
|
-- @param #color3b_table color
|
|
|
|
--------------------------------
|
|
-- Gets the label that is rendered.
|
|
-- @function [parent=#MenuItemLabel] getLabel
|
|
-- @param self
|
|
-- @return Node#Node ret (return value: cc.Node)
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#MenuItemLabel] setEnabled
|
|
-- @param self
|
|
-- @param #bool enabled
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#MenuItemLabel] activate
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#MenuItemLabel] unselected
|
|
-- @param self
|
|
|
|
--------------------------------
|
|
--
|
|
-- @function [parent=#MenuItemLabel] selected
|
|
-- @param self
|
|
|
|
return nil
|