missing things from skins2-create page???

About usage, announcement and development of skins for VLC
Asim
Cone that earned his stripes
Cone that earned his stripes
Posts: 151
Joined: 30 Mar 2005 05:58
Contact:

missing things from skins2-create page???

Postby Asim » 21 May 2006 09:48

i was just checking out the skin.dtd file from release 0.85...

appears quite a few elements are there on teh skin.dtd file that are missing/not explained on the skins2-create page... e.g. SliderBackground, PopupMenu, Include...

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

Postby ipkiss » 21 May 2006 12:39

SliderBackground was forgotten, and will be added.
The others are not documented on purpose, because they are experimental features... and they don't work very well :-) So we don't want to have them spread in the skins...

- the Include tag is there to allow splitting the XML file into several files, which can be useful for big skins. The file indicated by the "Include" tag will be inserted where the tag is (much like #include in C). The problem with this feature is that the DTD is not checked in included files, which makes it not very interesting (and you can probably get VLC to crash with some broken XMl file...). Anyway, this is not the right way to include files, we should do it like the standard suggests...

- the other missing tags concern custom popup menus. XML example:

Code: Select all

<PopupMenu id="sample_menu"> <MenuItem label="Play" action="vlc.play()" /> <MenuItem label="Pause" action="vlc.pause()" /> <MenuSeparator /> <MenuItem label="Show playlist" action="playlist_window.show()" /> <MenuItem label="Hide playlist" action="playlist_window.hide()" /> <MenuSeparator /> <MenuItem label="Quick open file" action="dialogs.fileSimple()" /> </PopupMenu>
To call the menu:
<Button action="sample_menu.show()" ... />

The problem with this feature is that it was only implemented on Windows... We would prefer to get it working on Linux too before it is used (convince AsMaX to work on that! ;))


Return to “Skins”

Who is online

Users browsing this forum: No registered users and 26 guests