Page tree

  Wiki Navigation

    Loading...


 Recently Updated


 Latest Releases

 MediaPortal 1.32
            Releasenews | Download
 MediaPortal 2.5
            Releasenews | Download


Purpose

  • Required:  No
  • Type of Change:  Feature
 
Description of Change

This feature adds the possiblity to use progressbars in listview controls. For example you now can use progressbars in the MyVideo listview for displaying progress of the watched status for a movie or the progress of the current TV program in the TVMiniGuide.


New skin properties which are available in listcontrol:

<texturebg>osd_progress_background.png</texturebg>
 <lefttexture>osd_progress_left.png</lefttexture>
 <midtexture>osd_progress_mid.png</midtexture>
 <righttexture>osd_progress_right.png</righttexture>
 <ProgressBarWidth>400</ProgressBarWidth>
 <ProgressBarHeight>10</ProgressBarHeight>
 <ProgressBarXOffset>25</ProgressBarXOffset>
 <ProgressBarYOffset>25</ProgressBarYOffset>
 <SelectedProgressOnly>No</SelectedProgressOnly>



Additional Information and References

Jira Issue:MP1-4794
Related xml(s):common.facade.video.xml, TVMiniGuide.xml
Windows IDs:
Related GUI control:
Author:regeszter
Date added:Thu, 26 May 2016

XML/Code Samples

MyVideo:

<control>
          <description>listcontrol</description>
          <type>listcontrol</type>
          <id>50</id>
          <width>825</width>
          <shadedColor>20ffffff</shadedColor>
          <selectedColor3>FF00CC00</selectedColor3>
          <selectedColor2>FF00CC00</selectedColor2>
          <selectedColor>FF00CC00</selectedColor>
          <playedColor>FFffffff</playedColor>
          <playedColor2>FFffffff</playedColor2>
          <playedColor3>FFffffff</playedColor3>
          <textcolor>ffffcc00</textcolor>
          <textcolorNoFocus>ffffcc00</textcolorNoFocus>
          <textcolor2>ffffcc00</textcolor2>
          <colordiffuse>ffffffff</colordiffuse>
          <remoteColor>ff00ffff</remoteColor>
          <remoteColor2>ff00ffff</remoteColor2>
          <downloadColor>ff666666</downloadColor>
          <downloadColor2>ff80ff80</downloadColor2>
          <dimColor>90ffffff</dimColor>
          <textXOff2>825</textXOff2>
          <textYOff2>3</textYOff2>
          <textXOff3>3817</textXOff3>
          <textYOff3>12</textYOff3>
          <textalign3>right</textalign3>
          <font3>font9</font3>
          <scrollOffset>2</scrollOffset>
          <spinCanFocus>no</spinCanFocus>
          <unfocusedAlpha>160</unfocusedAlpha>
          <folderPrefix />
          <folderSuffix />
          <textureFocus>#(iif(eq(#watchedcount,'0'),'button_focus_notwatched.png','button_focus.png'))</textureFocus>
          <texturebg>osd_progress_background.png</texturebg> <lefttexture>green.png</lefttexture> <midtexture>green.png</midtexture> <righttexture>green.png</righttexture> <ProgressBarWidth>775</ProgressBarWidth> <ProgressBarHeight>1</ProgressBarHeight> <ProgressBarXOffset>45</ProgressBarXOffset> <ProgressBarYOffset>47</ProgressBarYOffset> <SelectedProgressOnly>Yes</SelectedProgressOnly>
</control>


TV MiniGuide:

<control>
      <description>list to show channels with channel state logos</description>
      <type>listcontrol</type>
      <id>37</id>
      <posX>495</posX>
      <posY>165</posY>
      <height>930</height>
      <width>1042</width>
      <textXOff>77</textXOff>
      <textYOff>43</textYOff>
      <textXOff2>1035</textXOff2>
      <textYOff2>43</textYOff2>
      <textXOff3>157</textXOff3>
      <textYOff3>7</textYOff3>
      <IconXOff>9</IconXOff>
      <IconYOff>7</IconYOff>
      <PinIconXOff>93</PinIconXOff>
      <PinIconYOff>18</PinIconYOff>
      <PinIconWidth>50</PinIconWidth>
      <PinIconHeight>50</PinIconHeight>
      <spinPosX>3945</spinPosX>
      <spinPosY>997</spinPosY>
      <itemWidth>73</itemWidth>
      <itemHeight>73</itemHeight>
      <textureFocus>list_sub_focus.png</textureFocus>
      <textureNoFocus>list_sub_nofocus.png</textureNoFocus>
      <spaceBetweenItems>0</spaceBetweenItems>
      <textureHeight>90</textureHeight>
      <keepaspectratio>no</keepaspectratio>
      <font>font11</font>
      <font2>font11</font2>
      <font3>font12</font3>
      <shadedColor>20ffffff</shadedColor>
      <selectedColor3>ff787878</selectedColor3>
      <selectedColor2>ff787878</selectedColor2>
      <selectedColor>ff787878</selectedColor>
      <playedColor>ff787878</playedColor>
      <playedColor2>ff787878</playedColor2>
      <textcolor>ffffffff</textcolor>
      <textcolorNoFocus>ffffffff</textcolorNoFocus>
      <textcolor2>ffffffff</textcolor2>
      <textcolor3>ffffffff</textcolor3>
      <colordiffuse>ffffffff</colordiffuse>
      <remoteColor>ff00ff00</remoteColor>
      <remoteColor2>ff00ff00</remoteColor2>
      <downloadColor2>ff80ff80</downloadColor2>
      <scrollbarXOff>3052</scrollbarXOff>
      <scrollOffset>4</scrollOffset>
      <!-- used for selected channel -->
      <onleft>36</onleft>
      <onright>34</onright>
      <showScrollbar>no</showScrollbar>
      <texturebg>osd_progress_background.png</texturebg> <lefttexture>green.png</lefttexture> <midtexture>green.png</midtexture> <righttexture>green.png</righttexture> <ProgressBarWidth>890</ProgressBarWidth> <ProgressBarHeight>10</ProgressBarHeight> <ProgressBarXOffset>145</ProgressBarXOffset> <ProgressBarYOffset>84</ProgressBarYOffset>
</control>


Screenshots

MyVideo listview:

TV MiniGuide:

   

 

  • No labels

This page has no comments.