Seitenhierarchie

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.32
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download


Purpose

  • Required:  No
  • Type of Change:  Feature

Allow skins to set a different color for text in various list layouts when the list is not in focus.

Description of Change

New properties: textcolorNoFocus, textColorNoFocus2 and textColorNoFocus3 have been added to listcontrol, playlist, updownlistcontrol and checklistcontrol  to allow skins to set different text colors when the list is in focus or not.

Additional Information and References

Mantis Issue:

3808

Related xml(s):

references.xml or any xml that contains a listcontrol

Windows IDs:

 

Related GUI control:

listcontrol

Author:

Scythe42

Date added:

Sun, 27 Jan 2013

XML/Code Samples

The following is an example from Titan Skin DialogMenu.xml showing the use of both textcolorNoFocus and textcolorNoFocus2 : 

<control>
 <id>3</id>
 <description>options listcontrol</description>
 <type>listcontrol</type>
 <onleft>3</onleft>
 <onright>3</onright>
 <posX>635</posX>
 <posY>475</posY>
 <width>648</width>
 <height>350</height>
 <textXOff2>635</textXOff2>
 <textYOff2>16</textYOff2>
 <spinPosX>725</spinPosX>
 <spinPosY>754</spinPosY>
 <onleft>5</onleft>
 <onright>5</onright>
 <spinColor>FF393939</spinColor>
 <textXOff>35</textXOff>
 <textYOff>16</textYOff>
 <textcolor>FFFFFFFF</textcolor>
 <textcolor2>FFFFFFFF</textcolor2>
 <textcolorNoFocus>FF393939</textcolorNoFocus>
 <textcolorNoFocus2>FF393939</textcolorNoFocus2>
 <selectedColor>FF000000</selectedColor>
 <textureFocus>context_item_selected.png</textureFocus>
 <textureNoFocus>-</textureNoFocus>
 <textureHeight>69</textureHeight>
 <spaceBetweenItems>1</spaceBetweenItems>
 <PinIconWidth>15</PinIconWidth>
 <PinIconHeight>15</PinIconHeight>
 <PinIconXOff>2000</PinIconXOff>
 <PinIconYOff>15</PinIconYOff>
 <dimColor>ffffffff</dimColor>
 <unfocusedAlpha>255</unfocusedAlpha>
 </control>

Screenshots

   

 

This page has no comments.