Quote:
Originally Posted by parisienne17
By the way I sure know that you should be able to answer me "yes" at the question
|
Quote:
Originally Posted by parisienne17
"do you happen to know how to display the actual song position" in the song information line when seeking ?
|
Do you mean you want to readd
setAlternateText?
Quote:
Originally Posted by parisienne17
I'm at at a dead stop with the different layouts in the skin.
|
Ebonite 2.0 is too complex to dissect. Let's say you have three layouts: normal, shade and stick.
This is how you define the switch button in player-normal.xml (or player-normal-group.xml). Use your own values for x and y:
PHP Code:
<button
id="Switch Layouts"
action="SWITCH" param="SHADE"
x="?" y="?"
image="button.switch"
hoverImage="button.switch.hover"
downImage="button.switch.pressed"
tooltip="Switch to shade mode (right-click for menu)"
rectrgn="1"
/>
The switch button in player-shade.xml (or player-shade-group.xml):
PHP Code:
<button
id="Switch Layouts"
action="SWITCH" param="STICK"
x="?" y="?"
image="button.switch"
hoverImage="button.switch.hover"
downImage="button.switch.pressed"
tooltip="Switch to stick mode (right-click for menu)"
rectrgn="1"
/>
And in player-stick.xml (or player-stick-group.xml):
PHP Code:
<button
id="Switch Layouts"
action="SWITCH" param="NORMAL"
x="?" y="?"
image="button.switch"
hoverImage="button.switch.hover"
downImage="button.switch.pressed"
tooltip="Switch to normal mode (right-click for menu)"
rectrgn="1"
/>
Add this before </container> in player.xml:
PHP Code:
<script id="switchpopup" file="scripts/switchpopup.maki"/>
Copy switchpopup.m and switchpopup.maki into the scripts folder. If you use other names for your layouts then replace "shade" and "stick" with the names you use in the layout names, in the params of the switch buttons, and in switchpopup.m.
If you edit switchpopup.m then recompile it and copy the recompiled switchpopup.maki into the scripts folder.