Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 2 and Version 3 of code/doc/GUI


Ignore:
Timestamp:
Mar 30, 2009, 2:45:52 PM (16 years ago)
Author:
bknecht
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/GUI

    v2 v3  
    3030=== Schemes ===
    3131
     32Schemes define a certain style and provide the Lua-script with the necessary resources. It is written in XML. At the moment we just use the standard-scheme for the window look and for our own images ([http://svn.orxonox.net/data/media/gui/schemes/OrxonoxGUIScheme.scheme OrxonoxGUIScheme.scheme]). Since this is included in the main script, you just have to add your new imageset to the scheme and can forget about it.
     33
    3234=== Layouts ===
     35
     36Layouts define the structure of the GUI. It defines the positions of the various elements and their size and behavior. You can also add events to the elements of the GUI and process the event in the Lua-script. Everything is written in XML, but you can access every parameter of each element in the layout. The layout however reaches its limits soon, but it is advised to define as much as possible in the layout.
    3337
    3438=== GUI-Elements ===
    3539
    36 ==== Winodws ====
     40Every GUI-element is a window. The underlying class-structure inherits everything from a basic window element. Buttons and text input elements implement various new parameters and functions. They also need different kinds of images. At the moment we advise to use a predefined look for our GUI, namely the !TaharezLook. However this may change in the future, when we want to define our own looks. Check out the parameters and functions of each element in the layouts already in the media directory or in the [http://www.cegui.org.uk/api_reference/ CEGUI-API]. The API is written for C++, but you can access the same function in a similar fashion, using Lua or XML.
     41
     42==== Windows ====
    3743
    3844==== Cursor ====