GUI Resources

Component | Button | Frame | Image | InputBox | Label | ListBox | ProgressBar | RadioButton | ScrollBar | Window

GUI definition files (.xml)

Instead of hardcoding every GUI components by code, you can use a GUI definition file to define the placement, attributes and hierarchy of GUI components. The GUI definition format looks a lot like the ClanLib resource manager format, so if you're familiar with that, you should easily get acquainted with the GUI definition format. GUI files do not have sections. Instead, components can contain child-components within a tag, simply function as "sections". This means that the hierarchical structure of the GUI is directly readable from the GUI definition file. Let's look at a small example;