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
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +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
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +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
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
--------------------------------
|
2014-09-02 13:45:07 +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
|
2014-03-10 14:04:58 +08:00
|
|
|
|
|
|
|
return nil
|