Data-driven GUI

The option GUI code was getting kinda bloated, so I wrote two classes SettingSlider and SettingComboBox to help clean this up. These abstract the setting and automatically save it to the configuration file, there can also be an optional event that is send on change to notify the engine and take appropriate action. The widgets can just be defined in the GUI-layout xmls and don't need any code what so ever. This removes about 85% of the code in gui/option/! Ignored the ?s You can now define a slider 'option' as:                   or a combobox 'option' as:               
 

User login