2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
|
|
|
-- @module MenuItemImage
|
2014-03-20 10:21:28 +08:00
|
|
|
-- @extend MenuItemSprite
|
2014-06-25 17:36:50 +08:00
|
|
|
-- @parent_module cc
|
2014-03-18 15:55:30 +08:00
|
|
|
|
2014-03-10 14:04:58 +08:00
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- Sets the sprite frame for the disabled image.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#MenuItemImage] setDisabledSpriteFrame
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.SpriteFrame frame
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return MenuItemImage#MenuItemImage self (return value: cc.MenuItemImage)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- Sets the sprite frame for the selected image.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#MenuItemImage] setSelectedSpriteFrame
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.SpriteFrame frame
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return MenuItemImage#MenuItemImage self (return value: cc.MenuItemImage)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2015-03-26 10:44:28 +08:00
|
|
|
-- Sets the sprite frame for the normal image.
|
2014-03-10 14:04:58 +08:00
|
|
|
-- @function [parent=#MenuItemImage] setNormalSpriteFrame
|
|
|
|
-- @param self
|
2014-09-02 13:45:07 +08:00
|
|
|
-- @param #cc.SpriteFrame frame
|
2015-01-21 17:33:26 +08:00
|
|
|
-- @return MenuItemImage#MenuItemImage self (return value: cc.MenuItemImage)
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
return nil
|