-
August 11th, 2014, 08:45 #1
Issues with new ways how controls can be defined
When developing IZ extension for SW I noticed that it really matters what style you use to define your controls. For instance in SW there is template called textlistitemnumber which defines frames as following:
Code:<frame> <name>textline</name> </frame>
Code:<frame name="textlinesmall" />
Code:<frame> <name>textlinesmall</name> </frame>
"Alright, you primitive screwheads, listen up: THIS... is my BOOMSTICK!" -- Ash Williams, Army of Darkness
Post your SavageWorlds ruleset feature requests and issue reports here!
-
August 12th, 2014, 21:41 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,540
Attributes and sub-tags are only interpreted the same within the context of specific windowcontrol parameters. There are other cases where they are not interchangeable (i.e. name/source attribute, etc.)
However, the XML merging engine is a general merging engine that handles window classes and window controls. So, it would require a fair bit of logic to make it "FG class/control context aware".
When I'm developing add-ons for the rulesets, I always have to review the original classes.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks