by elchook on Tue Jun 08, 2004 5:24 am
I haven't played much with the ppc ppictures, but I'm starting to see a problem. There doesn't seem to be a way to display an image fullscreen on the server from the client. ie when you select a picture on the ppc, it fills the tiny screen, but not the big. Tapping on the ppc picture doesn't open any viewer you might have setup on the server, either.
Anyway, here's something for you to play with: copy the xlobby\skins\default folder to a new one for experimenting on, then change to the new skin - you have to restart XLobby to be able to see it.
Replace the contents of the ppcpictures.xml file in this folder with this:
<?xml version="1.0" encoding="UTF-8"?>
<skin>
<skinsize>1360,768</skinsize>
<eventbutton>
<imagename>ppcblue.jpg</imagename>
<location>0,0,240,320</location>
<navitem>True</navitem>
</eventbutton>
<eventbutton>
<imagename>pictures</imagename>
<location>1,40,238,279</location>
<navitem>True</navitem>
<font>arial,15,regular</font>
<type>category</type>
<database>pictures</database>
<display>%display%</display>
<details></details>
<defaultlisting>False</defaultlisting>
<ratio>1:1</ratio>
<columns>3</columns>
<overlay>missing</overlay>
<layout>bottom 2</layout>
<scroll>Left Right</scroll>
</eventbutton>
<eventbutton>
<eventid>goto:ppc menu</eventid>
<imagename>back.png</imagename>
<location>1,1,38,38</location>
<navitem>True</navitem>
<font>Arial,9.99999999999997,regular</font>
</eventbutton>
<eventbutton>
<eventid>navigation:Prev Page</eventid>
<imagename>arrow-left.png</imagename>
<location>41,1,38,38</location>
<navitem>True</navitem>
</eventbutton>
<eventbutton>
<eventid>navigation:Next Page</eventid>
<imagename>arrow-right.png</imagename>
<location>201,4,38,38</location>
<navitem>True</navitem>
</eventbutton>
<eventbutton>
<imagename>text</imagename>
<location>82,5,116,30</location>
<navitem>False</navitem>
<text>category>pictures>page</text>
<fontresource>StdFont</fontresource>
<font>Abaddon?,20,regular</font>
<center>True</center>
<outline>1</outline>
<outlinecolor>#5F5F5F</outlinecolor>
</eventbutton>
</skin>
You might have to use the skin editor to change the font if the page number display doesn't show.
If you wanted to use the ppc as the only way to navigate your picture collection, you could edit the category on the server to only have one column, and stretch it to fill the entire screen, deleting everything else, or you could make a minmalist skin with just basic navigation and have it fill most of the screen - again, a la jowaldo's skin.
Try replacing the contents of the pictures.xml file in your experimental skin with this:
<?xml version="1.0" encoding="UTF-8"?>
<skin background="blackspots.jpg">
<skinsize>1360,768</skinsize>
<eventbutton>
<imagename>pictures</imagename>
<location>1,1,1074,767</location>
<navitem>True</navitem>
<font>Arial,1.46484375%,regular</font>
<center>True</center>
<type>category</type>
<database>pictures</database>
<display>%display%</display>
<details></details>
<defaultlisting>False</defaultlisting>
<ratio>1:1</ratio>
<columns>1</columns>
<overlay>all</overlay>
<layout>bottom 1</layout>
<scroll>Left Right</scroll>
</eventbutton>
</skin>
You'll only be able to exit this screen using the ppc (with mimic on) or the esc key.
I wouldn't go overboard designing new ppc screens at this stage, as Steven has just loaded the latest test version up with some new features (yay hardbuttons) that are just being digested by the community - there should be some pretty sweet ppc screens in the works.
Hope this helps