- Moderator
- #1
The purpose of this patch is already described in https://forum.team-mediaportal.com/...re-48/new-idea-scrolling-borrowed-xbmc-87938/ so I'll add the description from this thread.
The attached patch is a bit simpler than the original ones were.
Purpose:
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:

Solution:
Patch GUIListControl.cs to output the firstcharacter of #selecteditem as #selecteditem.firstchar and the properties of #scrolling.up and/or #scrolling.down to values "yes" or "no"
The result of my patch is shown in the screenshots with Blue3Wide and Maya, and in my video on YouTube (with Maya as skin).
Video on YouTube
To get this working with Blue3Wide:
1. Apply patch (duh) and compile MediaPortal
2. Copy the attached PNG listscroller_bg.png to the "Media" folder of Blue3Wide
3. Copy this code into the screens where you want the listscroller to show up. In these examples I have used mymusicsongs.xml and myvideo.xml. To see the control in use, you must use the "Shares" view of MyMusic or just MyVideos and select "List":
Hope you all support my idea
The attached patch is a bit simpler than the original ones were.
Purpose:
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:

Solution:
Patch GUIListControl.cs to output the firstcharacter of #selecteditem as #selecteditem.firstchar and the properties of #scrolling.up and/or #scrolling.down to values "yes" or "no"
The result of my patch is shown in the screenshots with Blue3Wide and Maya, and in my video on YouTube (with Maya as skin).
Video on YouTube
To get this working with Blue3Wide:
1. Apply patch (duh) and compile MediaPortal
2. Copy the attached PNG listscroller_bg.png to the "Media" folder of Blue3Wide
3. Copy this code into the screens where you want the listscroller to show up. In these examples I have used mymusicsongs.xml and myvideo.xml. To see the control in use, you must use the "Shares" view of MyMusic or just MyVideos and select "List":
Code:
<control>
<description>listscroller bg</description>
<type>image</type>
<id>1</id>
<posX>486</posX>
<posY>620</posY>
<width>69</width>
<height>104</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" delay="250" time="150" reversible="true">visiblechange</animation>
</control>
<control>
<type>label</type>
<id>1</id>
<posX>482</posX>
<posY>620</posY>
<width>78</width>
<height>90</height>
<label>#selecteditem.firstchar</label>
<textcolor>6aa5cb</textcolor>
<visible>facadeview.list+string.contains(#scrolling.up,yes)|string.contains(#scrolling.down,yes)</visible>
<animation effect="slide" start="0,50" end="0,0" delay="250" time="150" reversible="true">visiblechange</animation>
<align>center</align>
<valign>middle</valign>
</control>
Hope you all support my idea