In the
screens directory resides a file named
screens.xml. You can put there the screens you want to see in LCDInfo.
Example of screens.xml:
Code:
<screens>
<screenfile>128x64\bug.xml</screenfile>
<screenfile>128x64\winamp.xml</screenfile>
<screenfile>128x64\system.xml</screenfile>
</screens>
Explanation for the screen file itself is below:
First thing you can put in the file is the screen name:
<name>Winamp2</name>
Then you can put there some
action which will change to another screen.
This will change to next screen after 5 seconds:
Code:
<action>
<id>Core.NextScreen</id>
<delay>5000</delay>
</action>
This will change to a screen named "System" after 2 seconds.
Code:
<action>
<id>Core.ChangeScreen</id>
<parameter>System</parameter>
<delay>2000</delay>
</action>
You can also omit the delay parameter but then the action will be executed immediately.
Items that can be currently placed on the screen and their options are
textx and y: position in character coordinates
scrolltype: none, left
textpos: left, right, center
fieldsize: size of the field reserved for the text
textdata: text itself
refresh: how often item is refreshed (ms)
plugintextx and y: position in character coordinates
scrolltype: none, left
textpos: left, right, center
fieldsize: size of the field reserved for the text
varid: identification string of the variable
refresh: how often item is refreshed (ms)
imagex and y: position in pixel coordinates
imagebitmap: bitmap filename
refresh: how often item is refreshed (ms)
pluginimagex and y: position in pixel coordinates
imageid: identification string of the image
refresh: how often item is refreshed (ms)
animationx and y: position in pixel coordinates
framebitmap: filename of a frame bitmap
refresh: how often item is refreshed (ms)
Example:
Code:
<screen>
<name>Winamp2</name>
<action>
<id>Core.ChangeScreen</id>
<parameter>System</parameter>
<delay>5000</delay>
</action>
<item type="text" x="0" y="5">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>5</fieldsize>
<textdata>Total</textdata>
<refresh>500</refresh>
</item>
<item type="plugintext" x="14" y="7">
<scrolltype>none</scrolltype>
<textpos>left</textpos>
<fieldsize>5</fieldsize>
<varid>fraps_fps</varid>
<refresh>500</refresh>
</item>
<item type="image" x="0" y="0">
<imagebitmap>images\bg_nfo_128x64.bmp</imagebitmap>
<refresh>500</refresh>
</item>
<item type="image" x="47" y="24">
<imagebitmap>images\winamptext48x10.bmp</imagebitmap>
<refresh>500</refresh>
</item>
<item type="image" x="119" y="10">
<imagebitmap>images\batt8x50.bmp</imagebitmap>
<refresh>500</refresh>
</item>
<item type="pluginimage" x="50" y="8">
<imageid>image_test</imageid>
<refresh>100</refresh>
</item>
<item type="animation" x="95" y="0">
<framebitmap>Bug\Wait_1.bmp</framebitmap>
<framebitmap>Bug\Wait_2.bmp</framebitmap>
<framebitmap>Bug\Wait_3.bmp</framebitmap>
<framebitmap>Bug\Wait_4.bmp</framebitmap>
<framebitmap>Bug\Wait_5.bmp</framebitmap>
<framebitmap>Bug\Wait_6.bmp</framebitmap>
<framebitmap>Bug\Wait_7.bmp</framebitmap>
<refresh>200</refresh>
</item>
</screen>