Firstly, I wanted to congratulate ipkiss and asmax for the "VLC skins2" skinning engine : the XML language is not as hard as I expected.
Everything is quite clear and simple.
I use VLC 0.8.4-test2 (under windowsxp) and I am trying to create a VLC skin.
Though, I found an annoying little problem.
My skin is not finished : I just made the "Winshade mode" (a thin horizontal bar that doesn't fill the whole screen), the "normal mode" will come soon.
The problem with the winshade mode : I want to be able to switch between the "time elapsed" and "the remaining time".
To do that, I had to create 2 layouts almost identical : one with the "time elapsed", another for the "remaining time".
It's a bit silly to have to do this because it could be solved if you just added the possibility to click on the text (on the elapsed time ($T)) and instead, display the "remaining time " ($L) or "file duration" ($D).
Here is what I typed :
Code: Select all
<Text font="time_font" color="#f7941d" x="335" y="5" width="95" text="$T / $D" />
Code: Select all
<Text font="time_font" color="#f7941d" x="335" y="5" width="95" text="$T / $D" action="time_font.text($L / $D)" />
Or another option, calling the action from a button :
Code: Select all
<Checkbox x="433" y="7"
up1="winshade_timeswitcher_elapsed_normal"
over1="winshade_timeswitcher_elapsed_over" down1="winshade_timeswitcher_elapsed_down"
up2="winshade_timeswitcher_remaining_normal" over2="winshade_timeswitcher_remaining_over" down2="winshade_timeswitcher_remaining_down"
state="vlc.isPlaying" action1="time_font.text($T / $D)" action2="time_font.text($L / $D)" tooltiptext1="Display Elapsed Time" tooltiptext2="Display Remaining Time"/>
I suggest you this feature because that could avoid me to have to add another layout (with all the same buttons..). I beg you to add this feature
Thanks in advance.