Page 1 of 1

Developing a skin: please help me

Posted: 04 Jan 2007 17:22
by GENUiNE
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?

Posted: 04 Jan 2007 18:04
by ipkiss
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?

Posted: 04 Jan 2007 19:09
by GENUiNE
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

Posted: 04 Jan 2007 19:16
by GENUiNE
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

Posted: 05 Jan 2007 08:08
by ipkiss
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).