PDA

View Full Version : crossfade etc on shade and normal.


drwho9437
21st October 2001, 00:09
Is there anyway to put the crossfade, shuffle, repeat, etc. buttons on multiple layouts while having them keep their states? Some script code would be nice if it can be done.

Naamloos
21st October 2001, 07:38
Just put the buttons with the same id etc on a different layout,
go to sysfunc.m (in your script folder) and change there the layout...
Recompile and should be done

drwho9437
21st October 2001, 17:47
My layouts work like this I have a "base.xml" that all layouts use then a panel1 panel2 and panel3. Each layout then consists of just layout bg/id tag and a few includes.

Therefore I am using the same ids on multiple layouts.


here is xml code for the "panel" that is called to show the toggles, it is the entire code.

panel1toggles.xml:

<togglebutton
id="Crossfade"
x="75" y="35"
image="square.crossfade"
downImage="square.crossfade.enabled"
activeImage="square.crossfade.enabled"
tooltip="Crossfade"
/>
<togglebutton
id="Shuffle"
x="75" y="25"
image="square.shuffle"
downImage="square.shuffle.enabled"
activeImage="square.shuffle.enabled"
tooltip="Shuffle"
/>
<togglebutton
id="Repeat"
x="75" y="45"
image="square.repeat"
downImage="square.repeat.enabled"
activeImage="square.repeat.enabled"
tooltip="Repeat"
/>
This code is called by the panel1, panel2 and panel3 layouts by including panel1toggles.xml