Basic skinning techniques

This is the place to post your skins, and discuss skinning

Basic skinning techniques

Postby mph070770 on Thu May 24, 2007 8:29 am

I hope someone can help. I'm trying to understand how navigation from screen to screen is defined.

For example, I'm using the default Xlobby screen. When moving from the main menu to music, I want to bypass the "Music Layouts" screen and jump straight to the "Generic Window". How is this controlled?

Thanks
mph070770
 
Posts: 10
Joined: Wed May 23, 2007 6:06 pm

Postby P3rv3rt B3ar on Thu May 24, 2007 8:41 am

Theres command xlobby:goto screen, u use that in event with screenname as parameter. Then u add this event for example to a button.

EDIT as clarification: u define events as sequence of commands in Events tab of setup (F2). u use skin editor (pause/break) to associate newly defined event to a button. Screenname to be used as parameter for that command is filename of .xml file defining the screen, without extension.
P3rv3rt B3ar
 
Posts: 1364
Joined: Fri Apr 07, 2006 9:52 pm
Location: West Coast Funland

Postby mph070770 on Thu May 24, 2007 12:27 pm

P3rv3rt B3ar,

Thanks for your help. I can see how this works now. However, how do you do it on the "menu" screen? Here, the button function can change (music, movies, setup etc) I must need to know what is highlighted and then make a decision to which screen to jump to.

Any clues?

Cheers

Martin
mph070770
 
Posts: 10
Joined: Wed May 23, 2007 6:06 pm

Postby cmhardwick on Thu May 24, 2007 12:53 pm

the menu is actually another database. To change the events, you'll need to CAREFULLY edit the actual XML file (xlobby\menu.xml I believe).Look for the music entry and there will be a line something like this
<event>generic:goto screen music</event>

Change the screen name to the name of the generic music screen. I don't know what it is off hand since I'm at work. start xlobby again after this and you should be OK. For some reason, teh events tag isn't editable in the standard database editor for the menu database :(
cmhardwick
 
Posts: 508
Joined: Fri Jul 14, 2006 6:07 pm
Location: Tennessee

Postby S Pittaway on Thu May 24, 2007 1:05 pm

you can do it using the database editor-

go into the settings dialog
select databses
click on the menu database you want t change
click edit

you can now see the database entries, if you click on the advanced tab you can select a click event.

you can also setup up and conrols you want to auto show/hide.




Sean.
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England

Postby cmhardwick on Thu May 24, 2007 1:17 pm

OH, I was looking for the the "event" tag down below on the first screen.

Thanks sir!! MUCH easier!
cmhardwick
 
Posts: 508
Joined: Fri Jul 14, 2006 6:07 pm
Location: Tennessee

Postby mph070770 on Thu May 24, 2007 2:48 pm

Thanks everyone for your help - got it working. It's all making much more sense now. Thanks! What a great piece of sw.

Cheers,

Martin
mph070770
 
Posts: 10
Joined: Wed May 23, 2007 6:06 pm

Postby S Pittaway on Fri May 25, 2007 7:44 am

yep, all we need now is the price :)
S Pittaway
 
Posts: 651
Joined: Wed Jan 25, 2006 11:08 am
Location: Manchester, England