I’ve added a theme functionality to the HUD. As the default theme I’ve taken Amos’ GTK-like textures.
See org.xith3d.ui.hud.utils.WidgetTheme and org.xith3d.ui.hud.resources.themes.GTK.zip, which is the default-theme.
To change the theme just call the static method:
HUD.setTheme(new WidgetTheme(new FileInputStream(new File("myZipArchive"))));
or:
HUD.setTheme(new WidgetTheme(new File("myZipArchive")));
or for built-in themes like GTK:
HUD.setTheme(new WidgetTheme("GTK"));
or
HUD.setTheme("GTK");
Marvin