Opened 18 years ago
Last modified 3 years ago
#114 new task
GUI - Style Skinning Support
Reported by: | Stuart Walpole | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Backlog |
Component: | Core engine | Keywords: | |
Cc: | Patch: |
Description (last modified by )
[This is pretty low priority, since we can live with using a generic GUI appearance for all civilisations, at least for Part I.]
- Problem: Currently styles are set when the game is loaded, and then cannot be modified. Since the style system is in place, it'd be good if we could use this to allow changing of controls to a different appearance (in particular, a different texture set to "skin" the GUI depending on which civilisation is currently in play).
- Solution: When the style property of a control is changed at runtime, the control's properties are updated to the value of the new style. Also, when the properties of a style are changed at runtime, controls using that style which still have that property are updated to the new property.
Change History (6)
comment:1 by , 18 years ago
Owner: | set to |
---|
comment:2 by , 18 years ago
Summary: | Style Skinning Support → GUI - Style Skinning Support |
---|
comment:3 by , 15 years ago
Owner: | removed |
---|
comment:4 by , 14 years ago
Milestone: | Advanced Playability Demo |
---|
comment:5 by , 14 years ago
Milestone: | → Backlog |
---|
comment:6 by , 3 years ago
Description: | modified (diff) |
---|
In r24270
Properly set and get GUI objects' style attribute in JS
This fixes tab buttons not playing sounds when pressed.
Original patch by: Stan
Amended patch reviewed by: Stan
Differential Revision: https://code.wildfiregames.com/D3109[[br]]
Hyrule has the civ specific UI even without this patch ^ so maybe code could be extracted from there.
Note:
See TracTickets
for help on using tickets.
Milestone Advanced Playability Demo deleted