[AUTO]: updating luabinding automatically

This commit is contained in:
CocosRobot 2014-08-01 07:53:19 +00:00
parent 2ca623a26a
commit fda11428bf
6 changed files with 1487 additions and 1231 deletions

View File

@ -1,37 +1,148 @@
-------------------------------- --------------------------------
-- @module GLView -- @module GLView
-- @extend GLViewProtocol,Ref -- @extend Ref
-- @parent_module cc -- @parent_module cc
-------------------------------- --------------------------------
-- @function [parent=#GLView] createWithRect -- @function [parent=#GLView] setFrameSize
-- @param self -- @param self
-- @param #string str
-- @param #rect_table rect
-- @param #float float -- @param #float float
-- @return GLView#GLView ret (return value: cc.GLView) -- @param #float float
-------------------------------- --------------------------------
-- @function [parent=#GLView] create -- @function [parent=#GLView] getViewPortRect
-- @param self -- @param self
-- @param #string str -- @return rect_table#rect_table ret (return value: rect_table)
-- @return GLView#GLView ret (return value: cc.GLView)
-------------------------------- --------------------------------
-- @function [parent=#GLView] createWithFullScreen -- @function [parent=#GLView] getContentScaleFactor
-- @param self -- @param self
-- @param #string str -- @return float#float ret (return value: float)
-- @return GLView#GLView ret (return value: cc.GLView)
-------------------------------- --------------------------------
-- @function [parent=#GLView] setIMEKeyboardState -- @function [parent=#GLView] setIMEKeyboardState
-- @param self -- @param self
-- @param #bool bool -- @param #bool bool
--------------------------------
-- @function [parent=#GLView] setScissorInPoints
-- @param self
-- @param #float float
-- @param #float float
-- @param #float float
-- @param #float float
--------------------------------
-- @function [parent=#GLView] getViewName
-- @param self
-- @return string#string ret (return value: string)
-------------------------------- --------------------------------
-- @function [parent=#GLView] isOpenGLReady -- @function [parent=#GLView] isOpenGLReady
-- @param self -- @param self
-- @return bool#bool ret (return value: bool) -- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#GLView] end
-- @param self
--------------------------------
-- @function [parent=#GLView] getScaleY
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#GLView] getScaleX
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#GLView] getVisibleOrigin
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
-- @function [parent=#GLView] getFrameSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- @function [parent=#GLView] getFrameZoomFactor
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#GLView] getDesignResolutionSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- @function [parent=#GLView] windowShouldClose
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#GLView] swapBuffers
-- @param self
--------------------------------
-- @function [parent=#GLView] setDesignResolutionSize
-- @param self
-- @param #float float
-- @param #float float
-- @param #int resolutionpolicy
--------------------------------
-- @function [parent=#GLView] getResolutionPolicy
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#GLView] isRetinaDisplay
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#GLView] setViewPortInPoints
-- @param self
-- @param #float float
-- @param #float float
-- @param #float float
-- @param #float float
--------------------------------
-- @function [parent=#GLView] getScissorRect
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- @function [parent=#GLView] getRetinaFactor
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#GLView] setViewName
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#GLView] getVisibleRect
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- @function [parent=#GLView] getVisibleSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- @function [parent=#GLView] isScissorEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#GLView] pollEvents
-- @param self
return nil return nil

View File

@ -0,0 +1,37 @@
--------------------------------
-- @module GLViewImpl
-- @extend GLView
-- @parent_module cc
--------------------------------
-- @function [parent=#GLViewImpl] createWithRect
-- @param self
-- @param #string str
-- @param #rect_table rect
-- @param #float float
-- @return GLViewImpl#GLViewImpl ret (return value: cc.GLViewImpl)
--------------------------------
-- @function [parent=#GLViewImpl] create
-- @param self
-- @param #string str
-- @return GLViewImpl#GLViewImpl ret (return value: cc.GLViewImpl)
--------------------------------
-- @function [parent=#GLViewImpl] createWithFullScreen
-- @param self
-- @param #string str
-- @return GLViewImpl#GLViewImpl ret (return value: cc.GLViewImpl)
--------------------------------
-- @function [parent=#GLViewImpl] setIMEKeyboardState
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#GLViewImpl] isOpenGLReady
-- @param self
-- @return bool#bool ret (return value: bool)
return nil

View File

@ -1,122 +0,0 @@
--------------------------------
-- @module GLViewProtocol
-- @parent_module cc
--------------------------------
-- @function [parent=#GLViewProtocol] setFrameSize
-- @param self
-- @param #float float
-- @param #float float
--------------------------------
-- @function [parent=#GLViewProtocol] getViewPortRect
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- @function [parent=#GLViewProtocol] setIMEKeyboardState
-- @param self
-- @param #bool bool
--------------------------------
-- @function [parent=#GLViewProtocol] setScissorInPoints
-- @param self
-- @param #float float
-- @param #float float
-- @param #float float
-- @param #float float
--------------------------------
-- @function [parent=#GLViewProtocol] getViewName
-- @param self
-- @return string#string ret (return value: string)
--------------------------------
-- @function [parent=#GLViewProtocol] isOpenGLReady
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
-- @function [parent=#GLViewProtocol] end
-- @param self
--------------------------------
-- @function [parent=#GLViewProtocol] getScaleY
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#GLViewProtocol] getScaleX
-- @param self
-- @return float#float ret (return value: float)
--------------------------------
-- @function [parent=#GLViewProtocol] getVisibleOrigin
-- @param self
-- @return vec2_table#vec2_table ret (return value: vec2_table)
--------------------------------
-- @function [parent=#GLViewProtocol] getFrameSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- @function [parent=#GLViewProtocol] getDesignResolutionSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- @function [parent=#GLViewProtocol] pollInputEvents
-- @param self
--------------------------------
-- @function [parent=#GLViewProtocol] swapBuffers
-- @param self
--------------------------------
-- @function [parent=#GLViewProtocol] setDesignResolutionSize
-- @param self
-- @param #float float
-- @param #float float
-- @param #int resolutionpolicy
--------------------------------
-- @function [parent=#GLViewProtocol] getResolutionPolicy
-- @param self
-- @return int#int ret (return value: int)
--------------------------------
-- @function [parent=#GLViewProtocol] setViewPortInPoints
-- @param self
-- @param #float float
-- @param #float float
-- @param #float float
-- @param #float float
--------------------------------
-- @function [parent=#GLViewProtocol] getScissorRect
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- @function [parent=#GLViewProtocol] setViewName
-- @param self
-- @param #string str
--------------------------------
-- @function [parent=#GLViewProtocol] getVisibleRect
-- @param self
-- @return rect_table#rect_table ret (return value: rect_table)
--------------------------------
-- @function [parent=#GLViewProtocol] getVisibleSize
-- @param self
-- @return size_table#size_table ret (return value: size_table)
--------------------------------
-- @function [parent=#GLViewProtocol] isScissorEnabled
-- @param self
-- @return bool#bool ret (return value: bool)
return nil

View File

@ -71,6 +71,11 @@
-- @field [parent=#cc] Scene#Scene Scene preloaded module -- @field [parent=#cc] Scene#Scene Scene preloaded module
--------------------------------------------------------
-- the cc GLView
-- @field [parent=#cc] GLView#GLView GLView preloaded module
-------------------------------------------------------- --------------------------------------------------------
-- the cc Director -- the cc Director
-- @field [parent=#cc] Director#Director Director preloaded module -- @field [parent=#cc] Director#Director Director preloaded module
@ -1137,13 +1142,8 @@
-------------------------------------------------------- --------------------------------------------------------
-- the cc GLViewProtocol -- the cc GLViewImpl
-- @field [parent=#cc] GLViewProtocol#GLViewProtocol GLViewProtocol preloaded module -- @field [parent=#cc] GLViewImpl#GLViewImpl GLViewImpl preloaded module
--------------------------------------------------------
-- the cc GLView
-- @field [parent=#cc] GLView#GLView GLView preloaded module
-------------------------------------------------------- --------------------------------------------------------

File diff suppressed because it is too large Load Diff

View File

@ -1570,6 +1570,11 @@ int register_all_cocos2dx(lua_State* tolua_S);