# HG changeset patch # User gabucino # Date 1038605561 0 # Node ID 6548f6a4216b1f867f3ecf721abb1c0978f8fc80 # Parent 51165bda4b5b8ec81939e0f8ac801e0740141899 sync diff -r 51165bda4b5b -r 6548f6a4216b DOCS/skin.html --- a/DOCS/skin.html Fri Nov 29 21:06:13 2002 +0000 +++ b/DOCS/skin.html Fri Nov 29 21:32:41 2002 +0000 @@ -106,8 +106,7 @@

2.2 Image formats

-Images must be truecolor (24 or 32 bpp) and can be in BMP, PNG or uncompressed -TGA format. The preferred format is PNG as it compresses very well. +Images must be truecolor (24 or 32 bpp) PNG.

In the main window (see below) you can use images with `transparency': @@ -165,7 +164,10 @@

Note: all images can have full transparency as described in the -section about image formats. +section about image formats. If the X Server doesn't +support the XShape extension, the parts marked transparent will be black. If +you'd like to use this feature, the width of the main window's background image +must be dividable by 8.

@@ -307,7 +309,7 @@ end window = menu - ; ... items for skin menu ... + ; ... items for menu ... end end @@ -317,8 +319,7 @@ searched for in the Skin directory. You may (but you need not) specify the extension of the file. If the file does not exist, MPlayer tries to load the file <filename>.<ext>, where -tga, TGA, bmp, BMP, -png and PNG is tried for <ext> +png and PNG are tried for <ext> (in this order). The first matching file will be used.

@@ -350,20 +351,9 @@ -MPlayer tries to load main, main.tga, -main.TGA, main.bmp etc, so that main.png -will be found. +MPlayer tries to load main, main.png, +main.PNG files.
-If (by accident) you wrote -
-
-    base = main.bmp, -1, -1
-
-
-then main.bmp, main.bmp.tga, main.bmp.TGA, -main.bmp.bmp would be searched for and MPlayer would finally -give up because there is no main.bmp in the directory, only -main.png. @@ -383,7 +373,8 @@
Warning: Transparent regions in the image (colored #FF00FF) appear -black on X servers without the XShape extension. +black on X servers without the XShape extension. The image's width must be +dividable by 8.
@@ -577,6 +568,15 @@ the "e" character (if playback is paused and the font has the "e" character) +$x + movie width + +$y + movie height + +$C + used codec's name + @@ -741,11 +741,6 @@ stream is a URL -

- -Note: Currently only 'p', 's', 'e', 'n', 'm' and 't' are used. - -

Appendix A: GUI messages

@@ -868,6 +863,9 @@
evAbout
Open the about window. +
evDropSubtitle +
Disables the currently used subtitle. +
evEqualizer
Turn the equalizer on/off. @@ -885,15 +883,33 @@
Does the same as evLoad, but it automatically starts playing after the file is loaded. +
evLoadSubtitle +
Loads a subtitle file (with the fileselector) + +
evLoadAudioFile +
Loads an audio file (with the fileselector) +
evNone
Empty message, it has no effect (except maybe in CVS versions :-)).
evPlayList
Open/close the playlist window. +
evPlayDVD +
Tries to open the disc in the given DVDROM drive. + +
evPlayVCD +
Tries to open the disc in the given CDROM drive. +
evPreferences
Open the preferences window. +
evSetAspect +
Sets displayed image aspect. + +
evSetURL +
Displays the URL dialog window. +
evSkinBrowser
Open the skin browser window.