home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
New idea for scrolling (borrowed from XBMC)
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="pilehave" data-source="post: 667533" data-attributes="member: 71550"><p>Right, new patch attached that doesn't use a timer to hide the skin property. Should be even simper to fine-tune.</p><p></p><p>Is the "RenderLabel" function the right place to place a GUIPropertyManager.SetProperty call? The way I see it it's the only placed that is updated when selected item changes...</p><p></p><p>The XML needs to have a delay on the animation, so it should look like this instead:</p><p></p><p>[CODE]</p><p> <control></p><p> <description>listscroller bg</description></p><p> <type>image</type></p><p> <id>1</id></p><p> <posX>600</posX></p><p> <posY>678</posY></p><p> <width>78</width></p><p> <height>90</height></p><p> <texture>listscroller_bg.png</texture></p><p> <visible>facadeview.list+string.contains(#scrolling.up,yes)|string.contains(#scrolling.down,yes)</visible></p><p> <animation effect="slide" start="0,50" end="0,0" delay="200" time="200">visible</animation></p><p> </control></p><p> </p><p> <control></p><p> <animation effect="fade" time="100">WindowOpen</animation></p><p> <animation effect="fade" time="100">WindowClose</animation></p><p> <type>label</type></p><p> <id>1</id></p><p> <posX>600</posX></p><p> <posY>680</posY></p><p> <width>78</width></p><p> <height>90</height></p><p> <label>#selecteditem.firstchar</label></p><p> <textcolor>6aa5cb</textcolor></p><p> <font>Segoe Light20</font></p><p> <visible>facadeview.list+string.contains(#scrolling.up,yes)|string.contains(#scrolling.down,yes)</visible></p><p> <animation effect="slide" start="0,50" end="0,0" delay="200" time="200">visible</animation></p><p> <align>center</align></p><p> <valign>middle</valign></p><p> </control></p><p>[/CODE]</p><p></p><p>Can't see that my changes have affected CPU or memory-usage.</p></blockquote><p></p>
[QUOTE="pilehave, post: 667533, member: 71550"] Right, new patch attached that doesn't use a timer to hide the skin property. Should be even simper to fine-tune. Is the "RenderLabel" function the right place to place a GUIPropertyManager.SetProperty call? The way I see it it's the only placed that is updated when selected item changes... The XML needs to have a delay on the animation, so it should look like this instead: [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" delay="200" time="200">visible</animation> </control> <control> <animation effect="fade" time="100">WindowOpen</animation> <animation effect="fade" time="100">WindowClose</animation> <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" delay="200" time="200">visible</animation> <align>center</align> <valign>middle</valign> </control> [/CODE] Can't see that my changes have affected CPU or memory-usage. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
New idea for scrolling (borrowed from XBMC)
Contact us
RSS
Top
Bottom