blob: c32fbd7af302559b72ab9979bcb1046977e5b67a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
---@class cc.MenuItemImage :cc.MenuItemSprite
local MenuItemImage={ }
cc.MenuItemImage=MenuItemImage
---* Sets the sprite frame for the disabled image.
---@param frame cc.SpriteFrame
---@return self
function MenuItemImage:setDisabledSpriteFrame (frame) end
---* Sets the sprite frame for the selected image.
---@param frame cc.SpriteFrame
---@return self
function MenuItemImage:setSelectedSpriteFrame (frame) end
---* Sets the sprite frame for the normal image.
---@param frame cc.SpriteFrame
---@return self
function MenuItemImage:setNormalSpriteFrame (frame) end
---*
---@return boolean
function MenuItemImage:init () end
---* Initializes a menu item with a normal, selected and disabled image with a callable object.
---@param normalImage string
---@param selectedImage string
---@param disabledImage string
---@param callback function
---@return boolean
function MenuItemImage:initWithNormalImage (normalImage,selectedImage,disabledImage,callback) end
---* js ctor
---@return self
function MenuItemImage:MenuItemImage () end
|