Gui Design
Posted: Thu Oct 21, 2004 14:11
I am working on a mmorpg which we have based on the NEL game engine (www.nevrax.org). I liked the look of your GUI and was hoping you could provide some feedback on some questions I had.
I have a few questions regarding your GUI design decisions as we have created a first cut of our GUI and are looking how we can make it better.
We have gone down the same route of subclassing the GUI components from one base class. Our 'window' class then has a map of these base gui classes which represents all components owned by this parent.
My question is what to do when the sub classes implement different functions to the base class - do you rely on the programmer to know that for example only a button component has a get button state function.
I noticed in your system you have implemented a properties class that all properties derive from. Have you tried any other methods then this. We were wondering if we could create a generic properties map held in the base class which would have property name/property value pairs with an accessor provided to read the values.
How hard is it to port your system to a different 3d library such as NEL. (NEL has drivers for OGL and D3D).
I have a few questions regarding your GUI design decisions as we have created a first cut of our GUI and are looking how we can make it better.
We have gone down the same route of subclassing the GUI components from one base class. Our 'window' class then has a map of these base gui classes which represents all components owned by this parent.
My question is what to do when the sub classes implement different functions to the base class - do you rely on the programmer to know that for example only a button component has a get button state function.
I noticed in your system you have implemented a properties class that all properties derive from. Have you tried any other methods then this. We were wondering if we could create a generic properties map held in the base class which would have property name/property value pairs with an accessor provided to read the values.
How hard is it to port your system to a different 3d library such as NEL. (NEL has drivers for OGL and D3D).