For my project I need to create a rotative element (like a boussole) in ogre3d's engine and then I writed somes methods to render this and I created a new class to create this element.
Next I would like to integrate it to CEGUI's engine and to be able to export it in scripting engine (like .layout and Lua).
My question : How can I do this ?

Thanks for help (and sorry if I make some mistakes, I am french ^^)