TextureStreamLocatorURL

hi

I’m trying to write a Theme system for the HUD. Therefore I want to load the default textures and a property file from a jar file. The HUD-default-theme should be in org.xith3d.ui.hud.resources.themes.gtk.theme.jar. But I don’t know what to pass to TextureStreamLocatorURL(URL). Can anyone tell me how to do this? I’ve committed the code that I’ve written so far to CVS.

Marvin

Give it the URL that getResource() of your class returns.

Thanks. I’ve solved it another way. I added a TextureStreamLocatorZip, which takes an InputStream to a zip-file.