mirror of https://github.com/axmolengine/axmol.git
29 lines
945 B
Lua
29 lines
945 B
Lua
|
|
--------------------------------
|
|
-- @module MenuItemImage
|
|
-- @extend MenuItemSprite
|
|
-- @parent_module cc
|
|
|
|
--------------------------------
|
|
-- sets the sprite frame for the disabled image
|
|
-- @function [parent=#MenuItemImage] setDisabledSpriteFrame
|
|
-- @param self
|
|
-- @param #cc.SpriteFrame frame
|
|
-- @return MenuItemImage#MenuItemImage self (return value: cc.MenuItemImage)
|
|
|
|
--------------------------------
|
|
-- sets the sprite frame for the selected image
|
|
-- @function [parent=#MenuItemImage] setSelectedSpriteFrame
|
|
-- @param self
|
|
-- @param #cc.SpriteFrame frame
|
|
-- @return MenuItemImage#MenuItemImage self (return value: cc.MenuItemImage)
|
|
|
|
--------------------------------
|
|
-- sets the sprite frame for the normal image
|
|
-- @function [parent=#MenuItemImage] setNormalSpriteFrame
|
|
-- @param self
|
|
-- @param #cc.SpriteFrame frame
|
|
-- @return MenuItemImage#MenuItemImage self (return value: cc.MenuItemImage)
|
|
|
|
return nil
|