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

88 lines
2.3 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module Menu
-- @extend Layer
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#Menu] setEnabled
-- @param self
-- @param #bool value
-- @return Menu#Menu self (return value: cc.Menu)
2014-03-10 14:04:58 +08:00
--------------------------------
-- align items vertically
2014-03-10 14:04:58 +08:00
-- @function [parent=#Menu] alignItemsVertically
-- @param self
-- @return Menu#Menu self (return value: cc.Menu)
2014-03-10 14:04:58 +08:00
--------------------------------
--
2014-03-10 14:04:58 +08:00
-- @function [parent=#Menu] isEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- align items horizontally with padding<br>
-- since v0.7.2
2014-03-10 14:04:58 +08:00
-- @function [parent=#Menu] alignItemsHorizontallyWithPadding
-- @param self
-- @param #float padding
-- @return Menu#Menu self (return value: cc.Menu)
2014-03-10 14:04:58 +08:00
--------------------------------
-- align items vertically with padding<br>
-- since v0.7.2
2014-03-10 14:04:58 +08:00
-- @function [parent=#Menu] alignItemsVerticallyWithPadding
-- @param self
-- @param #float padding
-- @return Menu#Menu self (return value: cc.Menu)
2014-03-10 14:04:58 +08:00
--------------------------------
-- align items horizontally
2014-03-10 14:04:58 +08:00
-- @function [parent=#Menu] alignItemsHorizontally
-- @param self
-- @return Menu#Menu self (return value: cc.Menu)
2014-03-10 14:04:58 +08:00
--------------------------------
-- @overload self, cc.Node, int
-- @overload self, cc.Node
-- @overload self, cc.Node, int, int
-- @overload self, cc.Node, int, string
-- @function [parent=#Menu] addChild
-- @param self
-- @param #cc.Node child
-- @param #int zOrder
-- @param #string name
-- @return Menu#Menu self (return value: cc.Menu)
--------------------------------
--
-- @function [parent=#Menu] getDescription
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
--
-- @function [parent=#Menu] removeChild
-- @param self
-- @param #cc.Node child
-- @param #bool cleanup
-- @return Menu#Menu self (return value: cc.Menu)
--------------------------------
--
-- @function [parent=#Menu] setOpacityModifyRGB
-- @param self
-- @param #bool bValue
-- @return Menu#Menu self (return value: cc.Menu)
--------------------------------
--
-- @function [parent=#Menu] isOpacityModifyRGB
-- @param self
-- @return bool#bool ret (return value: bool)
2014-03-10 14:04:58 +08:00
return nil