Developing a skin: please help me

About usage, announcement and development of skins for VLC
GENUiNE
Blank Cone
Blank Cone
Posts: 21
Joined: 04 Jan 2007 17:15
Location: Italy

Developing a skin: please help me

Postby GENUiNE » 04 Jan 2007 17:22

Hi all,
i'm building a skin for vlc and i have wrote this code

<Theme version="2.0" >
<ThemeInfo author="GENUiNE" name="XXXXXX" email="XXXXXX@XXXXXXXX.XX"/>
<Font file="font.ttf" size="11" id="mainfont"/>
<Bitmap id="main" file="main.png" alphacolor="#ffb3be"/>
<Window id="finestra_principale" x="0" y="0" dragdrop="true" playondrop="false" visible="true">
<Image x="0" y="0" image="main" action="move" resize="scale" />
</Window>
</Theme>

But when i try to apply it, VLC crashes
I know that it is only a simple code, but i need to view the partial result now
In which way can i solve?

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

Postby ipkiss » 04 Jan 2007 18:04

The Image tag must be inside a Layout tag, itself inside the Window tag.
But it is not supposed to crash anyway. What version of VLC do you use? On which OS? Are other skins working for you?

GENUiNE
Blank Cone
Blank Cone
Posts: 21
Joined: 04 Jan 2007 17:15
Location: Italy

Postby GENUiNE » 04 Jan 2007 19:09

Other skins work correctly, VLC 0.86a WinXP Pro SP2

When I apply the skin, VLC appears only minimized in the bar and dont' show nothing, so maybe it is not a real crash (i'm sorry)

Now i'll try to insert a Layout tag

Thank you

GENUiNE
Blank Cone
Blank Cone
Posts: 21
Joined: 04 Jan 2007 17:15
Location: Italy

Postby GENUiNE » 04 Jan 2007 19:16

Oh yeaahh
The problem was the missing Layout Tag.... Thank you very much, now I can continue my work

I'm modifing the Dalin's Media Player skin, because i don't like it very much

1000 times thank you

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

Postby ipkiss » 05 Jan 2007 08:08

I advise you to activate the 'logger' interface (use '--extraintf logger -v') while developing the skin, it will show when your XML file is incorrect (like for the layout problem).


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 75 guests