Page tree


Search

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.22 
            Releasenews | Download
 MediaPortal 2 2.2.1 
            Releasenews | Download

Purpose

  • Required:  No
  • Type of Change:  Feature

Implement feature to enable unfocused alpha on list control attributes label2, label3, pinIcon and Icon.

Description of Change

The ListControl has not allowed the unfocused alpha to be applied to label2, label3, pinIcon and Icon when the ListControl has lost focus.  This change enables the unfocused alpha to be applied to these attributes.  This capability enabled by specifying a new attribute named applyToAll on ListControl <unfocusedAlpha> as follows:

<unfocusedAlpha applyToAll="true">160</unfocusedAlpha>

where applyToAll may be "true" or "false".  The default value is "false" to preserve legacy behavior.

See also ListControl.

Additional Information and References

Mantis Issue:

4012

Related xml(s):

 

Windows IDs:

 

Related GUI control:

ListControl

Author:

ajp8164

Date added:

Mon, 10 Sep 2012

XML/Code Samples

<control>
    <description>default listcontrol</description>
    <type>listcontrol</type>
    <id>0</id>
    <posX>462</posX>
    <posY>121</posY>
    <width>785</width>
    <height>573</height>
    <spinWidth>33</spinWidth>
    <spinHeight>33</spinHeight>
    <spinPosX>1180</spinPosX>
    <spinPosY>662</spinPosY>
    <spinAlign>Right</spinAlign>
    <spinColor>ffffffff</spinColor>
    <textureUp>page_up_nofocus.png</textureUp>
    <textureDown>page_down_nofocus.png</textureDown>
    <textureUpFocus>page_up_focus.png</textureUpFocus>
    <textureDownFocus>page_down_focus.png</textureDownFocus>
    <textureFocus>list_sub_focus.png</textureFocus>
    <textureNoFocus>list_sub_nofocus.png</textureNoFocus>
    <textureHeight>40</textureHeight>
    <image>emtpy.png</image>
    <spaceBetweenItems></spaceBetweenItems>
    <font>font13</font>
    <shadedColor>20ffffff</shadedColor>
    <selectedColor3>ff009900</selectedColor3>
    <selectedColor2>ff009900</selectedColor2>
    <selectedColor>ff009900</selectedColor>
    <playedColor>ff6FAFE1</playedColor>
    <playedColor2>ff6FAFE1</playedColor2>
    <textcolor>ffffffff</textcolor>
    <textcolorNoFocus>ffffffff</textcolorNoFocus>
    <textcolor2>ffffffff</textcolor2>
    <textcolor3>ffffffff</textcolor3>
    <colordiffuse>ffffffff</colordiffuse>
    <remoteColor>ffcc9900</remoteColor>
    <remoteColor2>ffcc9900</remoteColor2>
    <downloadColor>ff666666</downloadColor>
    <downloadColor2>ff80ff80</downloadColor2>
    <dimColor>ffffffff</dimColor>
    <scrollStartDelaySec>1</scrollStartDelaySec>
    <textXOff>8</textXOff>
    <textYOff>2</textYOff>
    <textXOff2>0</textXOff2>
    <textYOff2>2</textYOff2>
    <itemWidth>32</itemWidth>
    <itemHeight>32</itemHeight>
    <IconXOff>12</IconXOff>
    <IconYOff>4</IconYOff>
    <suffix>|</suffix>
    <unfocusedAlpha applyToAll="true">160</unfocusedAlpha>
    <keepaspectratio>false</keepaspectratio>
    <shadowAngle>0</shadowAngle>
    <shadowDistance>0</shadowDistance>
    <shadowColor>00000000</shadowColor>
  </control>

Screenshots

 

 

   

 

This page has no comments.