TGUI

GUI library for SFML

Config files

Config files are needed to load widgets. TGUI comes with the default Black theme which can be used until you have created your own theme.

The config files contain information about the widget that you want to load. Most of the information is just which image file needs to be loaded, but other important information can be put in there as well. In the Black style for example, the images from EditBox have rounded corners and the config file contains information about how many pixels the text should be from the side of the image.

The best way to write your own config files is to look at the ones that are provided with TGUI.
However if you really need a list of all options that a widget can have then you can find it below.

When it says “SplitImage available” between brackets, it means that the xxx option can be replaced by xxx_L, xxx_M and xxx_R. In this case, only the middle image will be repeated horizontally, while the left and right parts keep their ratio.

Button

ChatBox CheckBox ChildWindow ComboBox EditBox Label ListBox LoadingBar MenuBar MessageBox RadioButton Scrollbar Slider Slider2d SpinButton Tab TextBox

Privacy Policy