Difference between revisions of "Overview of GUI files"
Martignasse (Talk | contribs) |
m (Link to ImagesetManager API doc) |
||
Line 4: | Line 4: | ||
==='''.imageset Files'''=== | ==='''.imageset Files'''=== | ||
An imageset is an xml file describing a set of images contained in an image file. | An imageset is an xml file describing a set of images contained in an image file. | ||
− | When an imageset is loaded, images from that file become available to the application via the ImagesetManager. | + | When an imageset is loaded, images from that file become available to the application via the [http://www.cegui.org.uk/api_reference/classCEGUI_1_1ImagesetManager.html ImagesetManager]. |
− | Editor: [http://www.cegui.org.uk/phpBB2/viewtopic.php?t=1346 | + | Editor: [http://www.cegui.org.uk/phpBB2/viewtopic.php?t=1346 CEImagesetEditor in the works by Martignasse.] |
− | + | ||
− | + | ||
==='''[[Scheme files|.scheme Files]]'''=== | ==='''[[Scheme files|.scheme Files]]'''=== |
Revision as of 12:52, 19 April 2006
There are a lot of files that go into creating a GUI with CEGUI. Here is an overview (thanks to lindquist for the original version). An expanded version of this brief overview would be quite useful.
Contents
Overview of CEGUI resource files
.imageset Files
An imageset is an xml file describing a set of images contained in an image file. When an imageset is loaded, images from that file become available to the application via the ImagesetManager.
Editor: CEImagesetEditor in the works by Martignasse.
.scheme Files
A scheme file is an xml file describing the binding of widgets defined in a looknfeel file and the base Falagard widget set. Once loaded the component in the scheme file are available via the WindowManager. A detailed description of Scheme files is also available.
Editor: none
.looknfeel Files
These are also xml files, which define the visual aspect of widgets declared in the scheme file.
Editor: none
.layout Files
A layout file is also in xml format. It describes a set of widgets to create and their positions, sizes, and other attributes. Basically this describes the final on-screen layout of your GUI, hence the name.
Editor: The_"official"_layout_editor
.font Files
These simple xml files give the location of a font file (like a TrueType .ttf file) and define a few extra properties about how CEGUI should use that font.
Editor:
About Falagard
Falagard is the part of the API that makes it possible to create a completly new set of widgets (at the visual level) from xml files.
You can, with a looknfeel, describe a widget and make it appear as you want (by using images defined in some imageset) and finally bind it to one of the widgets from a Falagard Base widget set in a scheme file.
Link: Falagard documentation
Related Documents
- XML File formats - Detailed documentation of the various XML file formats.