[PATCH] TreeEventArgs for Lua Script Module
Posted: Fri Nov 28, 2008 18:38
Hi,
It appears that the Lua Script Module (in 0.6.1) is missing bindings for TreeEventArgs. Here is a patch which passes my tests:
I apologize if this isn't the right place to post this, if so let me know where I should do so.
It appears that the Lua Script Module (in 0.6.1) is missing bindings for TreeEventArgs. Here is a patch which passes my tests:
Code: Select all
=== modified file 'ScriptingModules/CEGUILua/LuaScriptModule/package/HelperFunctions.pkg'
7a8,11
> function CEGUI.toTreeEventArgs(e)
> return tolua.cast(e,"const CEGUI::TreeEventArgs")
> end
>
35a40
> CEGUI.EventArgs.toTreeEventArgs = CEGUI.toTreeEventArgs
=== modified file 'ScriptingModules/CEGUILua/LuaScriptModule/package/InputEvent.pkg'
94a95,104
> /***********************************************************************
> TreeEventArgs
> ***********************************************************************/
> class TreeEventArgs : public WindowEventArgs
> {
> TreeItem *treeItem;
>
> TreeEventArgs(Window* wnd);
> };
>
I apologize if this isn't the right place to post this, if so let me know where I should do so.