ListItem pulse lighting (1 Viewer)

Michael.K

Portal Member
February 14, 2012
25
0
Home Country
Ukraine Ukraine
Hello, I need light some ListControl item, how i can do this? its must be pulse animation.
the item creating like
Code:
 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:
<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
 
Last edited:

Users who are viewing this thread

Top Bottom