On Jun 1, 6:56 pm, Tristam MacDonald <[email protected]> wrote: > The 1.0.2 release of simplui is here sooner than expected, including theme > support. Details here <http://tr.im/n70V>, and I wouldn't mind a little > testing before I finalise the theme system ;)
Looking it over a bit more in depth, I like how you organized themes in terms of structure, and the Aqua style looks pretty nice. It also runs at pretty much the same speed, if not a little faster, as Simplui v1.0.1. Was the theme data file .json format simply convenient for developing? I'm thinking themes could be a single texture that contains all the components, and an XML file that describes the texture regions in it. XML file: avoids running arbitrary code on a user's machine, since if data files exist, users will distribute mods for them Single texture: less group context switching if they can all use the same group, and you can just assign a vertex list some new tex coords to change the picture rather than migrate it from one group to another. Then, a GUI theme editor that allows you to load a skin texture file and create an XML file, and you're good to go! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pyglet-users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/pyglet-users?hl=en -~----------~----~----~----~------~----~------~--~---
