Skip to content
pgjones edited this page Jun 12, 2012 · 4 revisions

Overview

The GUI panels are always present whilst snogoggles is running. These panels can be edited in xml files, to make life easier for GUI design. Each panel has a set defined number of effects and results that the xml file can choose to use.

Format

The GUI has xml files defining the positioning and type of objects and labels for example the effect 0 can be placed via:

<gui effect="0" x="0.1" y="0.5" width="0.5" height="0.2"/>

A label that is written too with result 0 (see individual GUI page) is defined as:

<label result=0 x="0.1" y="0.5" width="0.5" height="0.2" font-ring="0"/>

Labels without results are static and constant and should be entered as:

<text caption="bob" x="0.1" y="0.5" width="0.5" height="0.2" type="text" font-ring="0"/>
Clone this wiki locally