- Moderator
- #1
Hi!
I have crafted a small mod for MediaPortal to allow this:
Show the first letter of #selectedindex as an independent label when scrolling. The label is only shown when you hold the up or down key down:
This is a common feature in XBMC, where they use a property called "Container.Scrolling" that indicates if the user is scrolling. If you have tried XBMC and used the built-in skin Confluence you will know this:
The code in the skin for this new feature is this:
The result of my mod is shown in the screenshot with Maya, and my video on YouTube. Now, my changes were put directly in the GUIListControl.cs and they are probably not the most elegant way (using a timer for hiding the label again when user stops scrolling). But it seems simple to me, just as a proof of concept.
I would love to see a more general change to MediaPortal, to expose to the skin when the user is scrolling.
Video on YouTube
Please let me know if you think this is a good idea, or you know a better way to do it
I have crafted a small mod for MediaPortal to allow this:
Show the first letter of #selectedindex as an independent label when scrolling. The label is only shown when you hold the up or down key down:
This is a common feature in XBMC, where they use a property called "Container.Scrolling" that indicates if the user is scrolling. If you have tried XBMC and used the built-in skin Confluence you will know this:
The code in the skin for this new feature is this:
Code:
<control>
<description>listscroller bg</description>
<type>image</type>
<id>1</id>
<posX>600</posX>
<posY>678</posY>
<width>78</width>
<height>90</height>
<texture>listscroller_bg.png</texture>
<visible>facadeview.list+string.contains(#scrolling.up,yes)|string.contains(#scrolling.down,yes)</visible>
<animation effect="slide" start="0,50" end="0,0" time="200">visible</animation>
</control>
<control>
<type>label</type>
<id>1</id>
<posX>600</posX>
<posY>680</posY>
<width>78</width>
<height>90</height>
<label>#selecteditem.firstchar</label>
<textcolor>6aa5cb</textcolor>
<font>Segoe Light20</font>
<visible>facadeview.list+string.contains(#scrolling.up,yes)|string.contains(#scrolling.down,yes)</visible>
<animation effect="slide" start="0,50" end="0,0" time="200">visible</animation>
<align>center</align>
<valign>middle</valign>
</control>
The result of my mod is shown in the screenshot with Maya, and my video on YouTube. Now, my changes were put directly in the GUIListControl.cs and they are probably not the most elegant way (using a timer for hiding the label again when user stops scrolling). But it seems simple to me, just as a proof of concept.
I would love to see a more general change to MediaPortal, to expose to the skin when the user is scrolling.
Video on YouTube
Please let me know if you think this is a good idea, or you know a better way to do it