ListItem pulse lighting

Discussion in 'MediaPortal 1 Plugins' started by Michael.K, April 24, 2012.

  1. Michael.K Portal Member

    Hello, I need light some ListControl item, how i can do this? its must be pulse animation.
    the item creating like
    Code (text):
     foreach (var item in contactsList)
                {
                    GUIListItem guiListItem = new GUIListItem("Item 1");
                    guiListItem.Label = item.GetContactDisplayName();
                    guiListItem.IconImage = SkypeHelper.Instance.GetImageForContact(item);
                    guiListItem.PinImage = BuildMemoryImage(item.GetAvatar(), "itemava");
                    facadeOne.Add(guiListItem);
                    guiListItem.OnItemSelected += new GUIListItem.ItemSelectedHandler(guiListItem_OnItemSelected);
                }
    facadeone is ListControl.
    may be i can use PinIcon for show selection? but i can change PinIconWidth and PinIconHeight.
    Code (text):
    <control>
            <id>6001</id>
            <description>Contacts</description>
            <type>listcontrol</type>
            <onleft>5004</onleft>
            <onright>5012</onright>
            <onup>6001</onup>
            <ondown>6001</ondown>
            <posX>15</posX>
            <posY>110</posY>
            <width>610</width>
            <height>553</height>
            <textureFocus>list_sub_focus.png</textureFocus>
            <textureNoFocus>list_sub_focus.png</textureNoFocus>
            <textureHeight>40</textureHeight>
            <textalign>left</textalign>
            <textYOff>10</textYOff>
            <spinPosX>540</spinPosX>
            <spinPosY>650</spinPosY>
            <spinCanFocus>NO</spinCanFocus>
            <spinAlign>Right</spinAlign>
            <PinIconWidth>610</PinIconWidth>
            <PinIconHeight>40</PinIconHeight>
          </control>
    picture is located in the middle of GUIListItem

Share This Page

Users Viewing Thread (Users: 0, Guests: 0)

Running the latest version?

V1.3.0 FINAL - released March 2013
Releasenews | Download
Changelog
 | Requirements
HTPC
Team-MediaPortal
 
About
Contact |  Press
Partners