Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changes between Version 5 and Version 6 of code/doc/GUI


Ignore:
Timestamp:
May 14, 2009, 9:17:30 PM (16 years ago)
Author:
dafrick
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • code/doc/GUI

    v5 v6  
    9393
    9494Every 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.
     95
     96==== Listbox ====
     97
     98{{{
     99list = windowManager:createWindow("TaharezLook/Listbox", "listbox")
     100item = CEGUI.createListboxTextItem("Text")
     101CEGUI.toListbox(list):addItem(item)
     102}}}