IGUIEnvironment Implementation

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
brianempson
Posts: 14
Joined: Sun Apr 24, 2011 4:10 am

IGUIEnvironment Implementation

Post by brianempson »

I'm currently working on exposing the GUI classes and methods to Angelscript. IGUIEnvironment appears to be almost entirely composed of pure virtual functions. Angelscript does not allow me to register virtual functions in this manner, and IGUIElement, another class I am registering depends on IGUIEnvironment as a parameter. So, my question is, where are the functions for IGUIEnvironment implemented and why are they pure virtual methods?
teto
Posts: 159
Joined: Thu Dec 03, 2009 9:37 pm
Location: /home
Contact:

Re: IGUIEnvironment Implementation

Post by teto »

Look at the source folder.

you will find a CGUIEnvironment.cpp and its header file.
Using an abstract class allows user to create their own GUI environment easily.

I am surprised Angelscript doesn't allow you to bind such methods. With luabind you can.
Using trunk with mingw/gcc 4.6, Windows 7 64 bits driver opengl
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Re: IGUIEnvironment Implementation

Post by serengeor »

Working on game: Marrbles (Currently stopped).
Post Reply