I apologize for the lengthy time since my last update. This version includes:
* A prototype theme editor (see below) * theme.json has been re-organized into a hierarchy rather than component/image-name * Added PopupMessage and PopupConfirm dialogs * Simple labels have been optimized by making them reuse the same groups for a given parent group The prototype theme editor is currently a rough draft. It works like this: - Kytten themes are divided into components (i.e. button, slider, hscrollbar) each of which may have several subcomponents (i.e. button may have 'up' or 'down' subcomponents), which may have images and properties associated with them. It's a set of nested dictionaries. - You can refer to any component as a path, i.e. theme['button', 'down']['image'] will get you the image template for the pressed state of a button. - For any given component or subcomponent, all properties are 'inherited' - that is, if you set gui_color in the base node, it will apply to all children, unless you override it in a subcomponent. The Kytten theme editor allows you to navigate between nodes, and for each node you may add or edit images and properties. Right now, everything is treated as 'custom components', but I'll add a set of 'basic components' that will make it easier to edit all parts of the standard component together, i.e. for a scrollbar, you'd be able to actually manipulate an example scrollbar constructed with your theme. If you're interested in customizing your own themes right now, I'd suggest you make a copy of the theme directory, add your own textures into your theme directory, then use the theme editor to change individual components to use your textures, rather than starting fresh in your own theme directory. Once basic components are in, it will be easier to see what components you still have to add/change. Whee! Getting closer to being able to officially release kytten. :) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
