0003017: Add global use of defines in references.xml (1 Viewer)

MediaPortal-Bot

Worlds greatest bot!
March 26, 2007
3,715
180
Home Country
Germany Germany
This patch allows for skin developers to place nodes inside the references.xml file. This is useful for centralizing the definitions for colors, design screen sizes and other parameters used in controls. Without this feature skin designers either hard code the values into controls or create defines in every xml file. Either way, this leaves the skin designer (or re-designer) with a lot of work to switch the values of these control parameters.

This implementation does not alter the prior implementation of the node. You may still place a node inside the node of an xml skin file. However, if you place the same node in both the references.xml file as well as the skin file for a window definition then the value defined in the skin file will override the value set in the references.xml. This behavior mirrors the present behavior of the references.xml control "template" attributes being overridden by the values defined in skin window file.

see https://forum.team-mediaportal.com/...e-global-defines-xml-files-3rd-attempt-69953/ [^]

http://mantis.team-mediaportal.com/view.php?id=3017

Open the issue in Mantis...
 

Users who are viewing this thread

Top Bottom