Purpose

To promote #defines to properties, allow #defines to contain skin expressions, and allow #defines to be added to the window definition through the use of an <include> file.

Description of Change

By promoting #defines to be tracked inside MediaPortal as properties skin designers will be able to use defines to transfer information from one page to another and to use those values in skin expressions and functions. This is very useful for skin capabilities that provide for user controlled layout changes on a "skin settings" page. Enabling this behavior will significantly reduce the need for skin developers to develop and distribute an MP plugin with their skin (where this decision logic has historically resided); e.g., for modifying the EPG length or home page layout and content.
The implementation handles a few important considerations:

See also: Skin Expressions

Additional Information and References