Continues scrolling FadeLabel (1 Viewer)

Sambal

Portal Pro
February 4, 2008
144
144
Home Country
Netherlands Netherlands
When implementing the RSS Ticker i wanted it to be usable with any gui text element so it is up to the skinner how to present the data.

With Aeon wide it looks very good with a fadelabel but unfortunately the current fadelabel doesn't support continues scrolling. So i implemented this feature.

As you can see in the image below the fadelabel text is repeated right after 'Saudi oil tanker' seperated with '|'.

continues_fadelabel.png

I made it configurable through the skin files. The continues scrolling is not enabled by default but can simply be turned on by adding

<continues>true</continues>

to the skin file. For the aeon wide basic home rss element it would become
Code:
<control>
	<description>RSS Items</description>
	<type>fadelabel</type>
	<id>1</id>
	<width>1250</width>
	<height>50</height>
	<posY>620</posY>
	<posX>100</posX>
	<font>font14</font>
	<label>#rssfeed</label>
	[b]<continues>true</continues>[/b] 
</control>

Attached is the modified source file for GUIFadeLabel.

Please let me know what you think.

Cheers,
Sambal
 

Users who are viewing this thread

Top Bottom