Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Download 

 MediaPortal 1
            Releasenews | Download
 MediaPortal 2
            Releasenews | Download



Overview

The references.xml contains default settings for the skin and skin controls.

Introduction

The references.xml file MUST contain information about the skin version and resolution (width and height).

It can also include default values for any of the controls (using the <control> tag) that are used in the skin so you don't have to define, for example, the sizes of buttons each and every time you use one in your other skin files.

 It can also define styles that can be applied to any control - see Styles.

Changelog

Change

Date

Version

No changes yet for this control

 

 

 

 

Skin Version Check

MediaPortal, and the MediaPortal Extension Installer (MPEI), check the version number in references.xml to determine if the skin is compatible with the current version of MediaPortal.

See Skin Version Check for further details.

Sample

Here is a partial references.xml file for example purposes. It shows that this skin is designed for a 720x576 pixel display (MediaPortal will scale it to whatever display the end user has) and the version is 1.3.0.1. It also contains the default values that will be used for any button control in any other skin file within this skin folder:

<controls>
  <skin>
    <width>720</width>
    <height>576</height>
    <version>1.3.0.1</version>
  </skin>
  <control>
    <description>default button</description>
    <type>button</type>
    <id>1</id>
    <posX>300</posX>
    <posY>200</posY>
    <width>190</width>
    <height>32</height>
    <textXOff>10</textXOff>
    <textYOff>5</textYOff>
    <textureFocus>menu_list_focus.png</textureFocus>
    <textureNoFocus>menu_list_nofocus.png</textureNoFocus>
    <font>font13</font>
    <textcolor>ffffffff</textcolor>
    <colordiffuse>ffffffff</colordiffuse>
    <disabledcolor>60ffffff</disabledcolor>
  </control>
  ...

 

Element Name

Data Type

Description

width

Integer

Width of skin

height

Integer

Height of skin

version

String

Skin version displayed in configuration application

Information on controls: see Skin Controls section

   

 

This page has no comments.