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

68 lines
2.1 KiB
Lua
Raw Normal View History

2014-03-10 14:04:58 +08:00
--------------------------------
-- @module MenuItemFont
-- @extend MenuItemLabel
-- @parent_module cc
2014-03-10 14:04:58 +08:00
--------------------------------
-- get font size <br>
-- js getFontSize
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemFont] getFontSizeObj
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- returns the name of the Font <br>
-- js getFontNameObj
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemFont] getFontNameObj
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- set font size<br>
-- c++ can not overload static and non-static member functions with the same parameter types<br>
-- so change the name to setFontSizeObj<br>
-- js setFontSize
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemFont] setFontSizeObj
-- @param self
-- @param #int size
-- @return MenuItemFont#MenuItemFont self (return value: cc.MenuItemFont)
2014-03-10 14:04:58 +08:00
--------------------------------
-- set the font name <br>
-- c++ can not overload static and non-static member functions with the same parameter types<br>
-- so change the name to setFontNameObj<br>
-- js setFontName
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemFont] setFontNameObj
-- @param self
-- @param #string name
-- @return MenuItemFont#MenuItemFont self (return value: cc.MenuItemFont)
2014-03-10 14:04:58 +08:00
--------------------------------
-- set the default font name
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemFont] setFontName
-- @param self
-- @param #string name
-- @return MenuItemFont#MenuItemFont self (return value: cc.MenuItemFont)
2014-03-10 14:04:58 +08:00
--------------------------------
-- get default font size
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemFont] getFontSize
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- get the default font name
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemFont] getFontName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- set default font size
2014-03-10 14:04:58 +08:00
-- @function [parent=#MenuItemFont] setFontSize
-- @param self
-- @param #int size
-- @return MenuItemFont#MenuItemFont self (return value: cc.MenuItemFont)
2014-03-10 14:04:58 +08:00
return nil