Version 1 (modified by bknecht, 16 years ago) (diff) |
---|
Graphical User Interface
The GUI in Orxonox is administered with CEGUI. We use the GUI for interactions with the user in shops, Questsystem or parts of the HUD and of course the main menu.
CEGUI
CEGUI (Crazy Edi's GUI) is available for various graphic engines like Ogre or Irrlicht. In Orxonox we use the OgreCEGUIRenderer to display our GUI.
GUI-Framework
The framework consists of various elements, putting all necessary elements together for a functioning GUI. Those elements are basically the GUIManager, lua-scripts, layouts and the corresponding graphics.
GUIManager
Written in C++ the GUIManager manages all the GUIs in Orxonox and represents the interface to CEGUI. Connected to lua via a tolua++ interface it is able to load lua-scripts and connect C++-functions to lua and vice versa.
lua-scripts
Lua-scripts are written in lua and implement the functionalities of CEGUI like interactivity.