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

66 lines
2.1 KiB
Lua
Raw Normal View History

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