SliderBackground and nbhoriz, nbvert . . .

About usage, announcement and development of skins for VLC
DonBilbo
New Cone
New Cone
Posts: 8
Joined: 02 Aug 2006 14:41

SliderBackground and nbhoriz, nbvert . . .

Postby DonBilbo » 02 Aug 2006 14:52

hello everybody again. I was now creating the slider for my skin but now theres a problem. I can't see the sliderbackground. I think it has something to do with the nbhoriz, nbvert, padhoriz and padvert.

So now my question. What are these nbhoiz, nbvert . . . and what arguments I have to write in the " " .
When I start vlc, I get these errors:

[00000279] xml private error: XML parser error (line 105) : No declaration for attribute image of element SliderBackground

[00000279] xml private error: XML parser error (line 105) : No declaration for attribute nbhoriz of element SliderBackground

[00000279] xml private error: XML parser error (line 105) : No declaration for attribute nbvert of element SliderBackground

[00000279] xml private error: XML parser error (line 105) : No declaration for attribute padhoriz of element SliderBackground

[00000279] xml private error: XML parser error (line 105) : No declaration for attribute padvert of element SliderBackground

[00000279] xml private error: XML parser error (line 105) : No declaration for element SliderBackground

[00000279] xml private error: XML parser error (line 95) : Element Slider was declared EMPTY this one has content

[00000279] xml private error: XML parser error (line 95) : Element Slider was declared EMPTY this one has content

[00000279] xml private error: XML parser error (line 95) : No declaration for element SliderBackground

[00000279] xml private error: XML parser error (line 95) : Element Slider was declared EMPTY this one has content

[00000279] xml private error: XML parser error (line 108) : No declaration for attribute image of element SliderBackground

[00000279] xml private error: XML parser error (line 108) : No declaration for element SliderBackground

[00000279] xml private error: XML parser error (line 95) : Element Slider was declared EMPTY this one has content

[00000279] xml private error: XML parser error (line 95) : Element Slider was declared EMPTY this one has content

[00000279] xml private error: XML parser error (line 95) : No declaration for element SliderBackground

[00000279] xml private error: XML parser error (line 95) : Element Slider was declared EMPTY this one has content

DonBilbo
New Cone
New Cone
Posts: 8
Joined: 02 Aug 2006 14:41

Postby DonBilbo » 02 Aug 2006 15:01

and another problem:

the little slider-buttons for volume are visible, but the for play-time. On my linux-computer (with vlc 0.8.4a) they only become visible when I press somewhere in the time-slider. And on windows with the latest vlc version they aren't visible anyway, even though when I press somewhere in the time-slider.

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 03 Aug 2006 00:02

The first problem looks like the SliderBackground is unknown in the DTD, which means that the version of VLC you use does not support it. Did you try with 0.8.5 instead of 0.8.4a?
BTW, i just noticed that the documentation does not explain this tag, it will be fixed in a few days.

As for the second problem... I didn't understand anything :)

Asim
Cone that earned his stripes
Cone that earned his stripes
Posts: 151
Joined: 30 Mar 2005 05:58
Contact:

Postby Asim » 03 Aug 2006 00:48

BTW, i just noticed that the documentation does not explain this tag, it will be fixed in a few days.

it's about time ;)

DonBilbo
New Cone
New Cone
Posts: 8
Joined: 02 Aug 2006 14:41

Postby DonBilbo » 03 Aug 2006 10:49

As for the second problem... I didn't understand anything
:lol: :lol: :lol: :lol: :lol:

O.k. I'll try to explain it in another way:

volume-slider:
----------------------------------------------------------
|.........................(o)............................................................|
----------------------------------------------------------

This is my slider for volume. As you can se :D this little slider button (o) is visible. But in my play-slider the button is not visible.

play-slider:
----------------------------------------------------------
|........................................................................................|
----------------------------------------------------------
On vlc0.8.4a it beomes visible for a short time whe I press somewhere in the pay-slider-area. And on vlc0.8.5 it is not visible anyway.

ipkiss
Big Cone-huna
Big Cone-huna
Posts: 695
Joined: 23 Nov 2003 01:49

Postby ipkiss » 03 Aug 2006 18:57

Are you sure you didn't place another control on top of it? Controls are drawn in the order in which they are defined in the XML file, so if you have defined another (bigger) control after this one in the XML, and if that control is positinoed at the same place, you may experience this behaviour...

Otherwise, I will need a way to reproduce the problem in order to fix it (for example you could send a link to your skin).

DonBilbo
New Cone
New Cone
Posts: 8
Joined: 02 Aug 2006 14:41

Postby DonBilbo » 03 Aug 2006 22:07

o.k. I can send you the skin with an email. Can you sand me your email-adress with an pm?

Thanks.

DonBilbo
New Cone
New Cone
Posts: 8
Joined: 02 Aug 2006 14:41

Postby DonBilbo » 03 Aug 2006 23:34

I have solved the second problem with the play-slider-button. But I've still got the one with the SliderBackground. And I think the information about nbhoriz, nbvert, padhoriz and padvert would help to solve this, too.

DonBilbo
New Cone
New Cone
Posts: 8
Joined: 02 Aug 2006 14:41

Postby DonBilbo » 05 Aug 2006 03:32

and now I've solved the first problem, too thanks to @$im's link:

viewtopic.php?t=14627

and of course thanks to ipkiss, too ;-)


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 75 guests