Difference between revisions of "The Beginner Guide - Overview to CEGUI"

From CEGUI Wiki - Crazy Eddie's GUI System (Open Source)
Jump to: navigation, search
m
m
Line 9: Line 9:
  
 
There are different options to create/discribe your GUI (more in the next Guide).
 
There are different options to create/discribe your GUI (more in the next Guide).
# constuct it from c++ code
+
* constuct it from c++ code
# constuct it using Lua or python code
+
* constuct it using Lua or python code
# constuct it using XML (and the events from code)
+
* constuct it using XML (and the events from code)
  
  
 
CEGUI uses different files/fileformats to load your stuff.
 
CEGUI uses different files/fileformats to load your stuff.
#[http://www.cegui.org.uk/docs/current/xml_imageset.html imageset] to use images and imagesets
+
*[http://www.cegui.org.uk/docs/current/xml_imageset.html imageset] to use images and imagesets
#[http://www.cegui.org.uk/docs/current/xml_font.html font] for fonts ;)
+
*[http://www.cegui.org.uk/docs/current/xml_font.html font] for fonts ;)
#[http://www.cegui.org.uk/docs/current/xml_scheme.html scheme] discribes the look
+
*[http://www.cegui.org.uk/docs/current/xml_scheme.html scheme] discribes the look
#[http://www.cegui.org.uk/docs/current/xml_layout.html layout] discribes your GUI windows and their parts
+
*[http://www.cegui.org.uk/docs/current/xml_layout.html layout] discribes your GUI windows and their parts
#[http://www.cegui.org.uk/docs/current/xml_config.html config] a configuration (you do not need this)
+
*[http://www.cegui.org.uk/docs/current/xml_config.html config] a configuration (you do not need this)
#[http://www.cegui.org.uk/docs/current/xml_animation.html animation] animations for advanced behavior
+
*[http://www.cegui.org.uk/docs/current/xml_animation.html animation] animations for advanced behavior
#[http://www.cegui.org.uk/docs/current/fal_man.html falagard xml] falagard files provide lookAndFeel for advanced behavior or completely new window types
+
*[http://www.cegui.org.uk/docs/current/fal_man.html falagard xml] falagard files provide lookAndFeel for advanced behavior or completely new window types
  
  
 
CEGUI divides into the following subprojects:
 
CEGUI divides into the following subprojects:
#Render modules (discussed in the next Guide)
+
*Render modules (discussed in the next Guide)
#falagard window renderer
+
*falagard window renderer
#Image codecs
+
*image codecs
##tga image codec
+
**tga image codec
##silly image codec
+
**silly image codec
##devil image codec
+
**devil image codec
##freeimage image codec
+
**freeimage image codec
##corona image codec
+
**corona image codec
##stb image codec
+
**stb image codec
#XML parser
+
*XML parser
##expat parser
+
**expat parser
##xerces parser
+
**xerces parser
##tinyxml parser
+
**tinyxml parser
##rapidxml parser
+
**rapidxml parser
##libxml parser
+
**libxml parser
#Scripting modules
+
*Scripting modules
##Lua (comming with tolua++)
+
**Lua (comming with tolua++)
##Python
+
**Python
  
  

Revision as of 17:54, 28 August 2012

Written for CEGUI 0.7


Works with versions 0.7.x (obsolete)

The Beginner Guide series

This page is part of a series, use links above to easily navigate through all chapters of the series.


This tutorial is for CEGUI versions up to 0.7.7. For later releases, see the tutorials in the main documentation.


CEGUI is a GUI library so it's job is to create your GUI. CEGUI makes use of some libraries and is divided in a number of subprojects. This article should just give you a simple overview.


There are different options to create/discribe your GUI (more in the next Guide).

  • constuct it from c++ code
  • constuct it using Lua or python code
  • constuct it using XML (and the events from code)


CEGUI uses different files/fileformats to load your stuff.

  • imageset to use images and imagesets
  • font for fonts ;)
  • scheme discribes the look
  • layout discribes your GUI windows and their parts
  • config a configuration (you do not need this)
  • animation animations for advanced behavior
  • falagard xml falagard files provide lookAndFeel for advanced behavior or completely new window types


CEGUI divides into the following subprojects:

  • Render modules (discussed in the next Guide)
  • falagard window renderer
  • image codecs
    • tga image codec
    • silly image codec
    • devil image codec
    • freeimage image codec
    • corona image codec
    • stb image codec
  • XML parser
    • expat parser
    • xerces parser
    • tinyxml parser
    • rapidxml parser
    • libxml parser
  • Scripting modules
    • Lua (comming with tolua++)
    • Python


You can choose what module to use in the build-config file (projects/premake/config.lua).
You need a renderer to display your GUI. Which one to use depends on your Engine/Application you want to programm.
You also need an image codec and a XML parser. The main differences of the modules are in performance so default should be fine for you as a Beginner.
You can use Lua or Python scripting module or none depending on what you like most.
The Falagard window renderer will be necessary for advanced features like new window forms and behavior.

Conclusion

This provides a very basic overview to CEGUI.

User:DEvil HUnter 19:30, 28 August 2012 (MEZ)