axmol/cocos/scripting/lua-bindings/auto/api/MenuItemSprite.lua

60 lines
1.7 KiB
Lua

--------------------------------
-- @module MenuItemSprite
-- @extend MenuItem
-- @parent_module cc
--------------------------------
--
-- @function [parent=#MenuItemSprite] setEnabled
-- @param self
-- @param #bool bEnabled
--------------------------------
-- since v0.99.5
-- @function [parent=#MenuItemSprite] selected
-- @param self
--------------------------------
-- Sets the image used when the item is not selected
-- @function [parent=#MenuItemSprite] setNormalImage
-- @param self
-- @param #cc.Node image
--------------------------------
-- Sets the image used when the item is disabled
-- @function [parent=#MenuItemSprite] setDisabledImage
-- @param self
-- @param #cc.Node image
--------------------------------
-- Sets the image used when the item is selected
-- @function [parent=#MenuItemSprite] setSelectedImage
-- @param self
-- @param #cc.Node image
--------------------------------
-- Gets the image used when the item is disabled
-- @function [parent=#MenuItemSprite] getDisabledImage
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
-- Gets the image used when the item is selected
-- @function [parent=#MenuItemSprite] getSelectedImage
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
-- Gets the image used when the item is not selected
-- @function [parent=#MenuItemSprite] getNormalImage
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [parent=#MenuItemSprite] unselected
-- @param self
return nil