2005-06-20 06:10:59 +00:00
|
|
|
|
<?xml version="1.0" encoding="iso-8859-2"?>
|
2006-08-28 13:15:54 +00:00
|
|
|
|
<!-- Synced with revision 19081 -->
|
2005-06-20 06:10:59 +00:00
|
|
|
|
<appendix id="skin">
|
|
|
|
|
<title>Form<EFBFBD>t skin<69> <application>MPlayer</application>u</title>
|
|
|
|
|
|
|
|
|
|
<sect1 id="skin-overview">
|
|
|
|
|
<title>P<EFBFBD>ehled</title>
|
|
|
|
|
<para>
|
|
|
|
|
Nem<EFBFBD> to sice nic spole<6C>n<EFBFBD>ho s form<72>tem skinu, ale m<>li byste v<>d<EFBFBD>t, <20>e
|
|
|
|
|
<application>MPlayer</application> <emphasis role="bold">nem<EFBFBD></emphasis>
|
|
|
|
|
vestav<EFBFBD>n<EFBFBD> skin, tak<61>e <emphasis role="bold">si mus<75>te alespo<70> jeden skin
|
|
|
|
|
nainstalovat, chcete-li pou<6F><75>vat GUI.</emphasis>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<sect2 id="skin-overview-directories">
|
|
|
|
|
<title>Adres<EFBFBD><EFBFBD>e</title>
|
|
|
|
|
<para>
|
|
|
|
|
Adres<EFBFBD><EFBFBD>e prohled<65>van<61> na skiny jsou (v tomto po<70>ad<61>):
|
|
|
|
|
<orderedlist>
|
|
|
|
|
<listitem><para>
|
2006-03-27 11:39:27 +00:00
|
|
|
|
<filename class="directory">$(DATADIR)/skins/</filename>
|
2005-06-20 06:10:59 +00:00
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
2006-03-27 11:39:27 +00:00
|
|
|
|
<filename class="directory">$(PREFIX)/share/mplayer/skins/</filename>
|
2005-06-20 06:10:59 +00:00
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
2006-03-27 11:39:27 +00:00
|
|
|
|
<filename class="directory">~/.mplayer/skins/</filename>
|
2005-06-20 06:10:59 +00:00
|
|
|
|
</para></listitem>
|
|
|
|
|
</orderedlist>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Poznamenejme, <20>e prvn<76> z cest se m<><6D>e li<6C>it podle toho, jak je
|
|
|
|
|
<application>MPlayer</application> zkonfigurov<6F>n (viz volby configure skriptu
|
|
|
|
|
<option>--prefix</option> a <option>--datadir</option>).
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Ka<EFBFBD>d<EFBFBD> skin je instalov<6F>n do vlastn<74>ho adres<65><73>e v n<>kter<65>m z v<><76>e uveden<65>ch.
|
|
|
|
|
Nap<EFBFBD><EFBFBD>klad:
|
2006-03-27 11:39:27 +00:00
|
|
|
|
<screen>$(PREFIX)/share/mplayer/skins/default/</screen>
|
2005-06-20 06:10:59 +00:00
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="skin-overview-formats">
|
|
|
|
|
<title>Form<EFBFBD>ty obr<62>zk<7A></title>
|
|
|
|
|
<para>Obr<EFBFBD>zky mus<75> b<>t truecolor (24 nebo 32 bpp) PNG.</para>
|
|
|
|
|
<para>
|
|
|
|
|
V hlavn<76>m okn<6B> a v p<>ehr<68>va<76>i (viz n<><6E>) m<><6D>ete pou<6F><75>t obr<62>zky s 'pr<70>hlednost<73>':
|
|
|
|
|
Oblasti vypln<6C>n<EFBFBD> barvou #FF00FF (magenta) jsou pln<6C> pr<70>hledn<64>, pokud jsou
|
|
|
|
|
zobrazov<EFBFBD>ny <application>MPlayer</application>em. To znamen<65>, <20>e m<><6D>ete m<>t
|
|
|
|
|
tvarovan<EFBFBD> okna, pokud m<> v<><76> X server XShape roz<6F><7A><EFBFBD>en<65>.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="skin-overview-components">
|
|
|
|
|
<title>Sou<EFBFBD><EFBFBD>sti skinu</title>
|
|
|
|
|
<para>
|
|
|
|
|
Skiny maj<61> pom<6F>rn<72> voln<6C> form<72>t (narozd<7A>l nap<61><70>klad od pevn<76>ho form<72>tu skin<69>
|
|
|
|
|
<application>Winamp</application>u/<application>XMMS</application>),
|
|
|
|
|
tak<EFBFBD>e je jen na v<>s, zda vytvo<76><6F>te n<>co skv<6B>l<EFBFBD>ho.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
V sou<6F>asnosti jsou zde <20>ty<74>i okna, kter<65> m<><6D>ete dekorovat:
|
|
|
|
|
<link linkend="skin-file-main">hlavn<EFBFBD> okno</link>,
|
|
|
|
|
<link linkend="skin-file-subwindow">podokno</link>,
|
|
|
|
|
<link linkend="skin-file-main">ovl<EFBFBD>dac<EFBFBD> panel</link> a
|
|
|
|
|
<link linkend="skin-file-menu">nabidka</link> (tu lze aktivovat
|
|
|
|
|
prav<EFBFBD>m my<6D><79>tkem).
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<application>MPlayer</application> je ovl<76>d<EFBFBD>n v
|
|
|
|
|
<emphasis role="bold">hlavn<EFBFBD>m okn<6B></emphasis> a/nebo v
|
|
|
|
|
<emphasis role="bold">ovl<EFBFBD>dac<EFBFBD>m panelu</emphasis>. Pozad<61>m okna je obr<62>zek.
|
|
|
|
|
N<>sleduj<75>c<EFBFBD> sou<6F><75>sti mohou (a mus<75>) b<>t um<75>st<73>ny v okn<6B>:
|
|
|
|
|
<emphasis>tla<EFBFBD><EFBFBD>tka</emphasis>, <emphasis>potenciometry</emphasis> (<28>oup<75>tka)
|
|
|
|
|
a <emphasis>popisky</emphasis>.
|
|
|
|
|
Ka<4B>d<EFBFBD> sou<6F><75>sti mus<75>te nastavit pozici a velikost.
|
|
|
|
|
</para><para>
|
|
|
|
|
A <emphasis role="bold">tla<EFBFBD><EFBFBD>tko</emphasis> m<> t<>i stavy (stisknuto, pu<70>t<EFBFBD>no a
|
|
|
|
|
zak<61>z<EFBFBD>no), proto mus<75> b<>t jeho obraz svisle rozd<7A>len do t<><74> <20><>st<73>.
|
|
|
|
|
Detaily viz sou<6F><75>st <link linkend="skin-button">tla<EFBFBD><EFBFBD>tko</link>.
|
|
|
|
|
</para><para>
|
|
|
|
|
A <emphasis role="bold">potenciometr</emphasis> (hlavn<76> pou<6F><75>van<61> pro
|
|
|
|
|
li<6C>tu p<>ev<65>jen<65> a ovl<76>d<EFBFBD>n<EFBFBD> hlasitosti/stereov<6F>hy) m<><6D>e m<>t libovoln<6C> po<70>et
|
|
|
|
|
f<>z<EFBFBD> d<>l<EFBFBD>c<EFBFBD>ch jeho obraz na jednotliv<69> <20><>sti pod sebou. Detaily viz
|
|
|
|
|
<link linkend="skin-hpotmeter">hpotenciometr</link> a
|
|
|
|
|
<link linkend="skin-potmeter">potenciometr</link>.
|
|
|
|
|
</para><para>
|
|
|
|
|
<emphasis role="bold">Popisky</emphasis> jsou pon<6F>kud zvl<76><6C>tn<74>: Znaky pot<6F>ebn<62>
|
|
|
|
|
pro jejich vykreslen<65> jsou br<62>ny z obrazov<6F>ho souboru a znaky v obr<62>zku jsou
|
|
|
|
|
pops<70>ny <link linkend="skin-fonts">souborem popisu fontu</link>.
|
|
|
|
|
Tento (druh<75>) soubor je prost<73> textov<6F> soubor, kter<65> popisuje pozici x,y a
|
|
|
|
|
velikost ka<6B>d<EFBFBD>ho znaku v obr<62>zku (obr<62>zkov<6F> soubor a soubor popisu fontu
|
|
|
|
|
<emphasis>spolu</emphasis> tvo<76><6F> font). Detaily viz
|
|
|
|
|
<link linkend="skin-dlabel">dlabel</link>.
|
|
|
|
|
</para>
|
|
|
|
|
<note><para>V<EFBFBD>echny obr<62>zky mohou m<>t plnou pr<70>hlednost, jak je pops<70>na v sekci
|
|
|
|
|
o <link linkend="skin-overview-formats">form<EFBFBD>tech obr<62>zk<7A></link>. Pokud X
|
|
|
|
|
server nepodporuje roz<6F><7A><EFBFBD>en<65> XShape, budou pr<70>hledn<64> <20><>sti <20>ern<72>. Pokud byste
|
|
|
|
|
cht<68>li vyu<79><75>t tuto vlastnost, mus<75> b<>t <20><><EFBFBD>ka pozad<61> hlavn<76>ho okna celo<6C><6F>seln<6C>
|
|
|
|
|
d<>liteln<6C> 8.
|
|
|
|
|
</para></note>
|
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<emphasis role="bold">Podokno</emphasis> je to okno, kde se zobrazuje film.
|
|
|
|
|
M<><4D>e v n<>m b<>t zobrazen ur<75>en<65> obr<62>zek, pokud nen<65> na<6E>ten <20><>dn<64> film (je
|
|
|
|
|
docela <20>navn<76>, pokud zde nen<65> nic :-)).
|
|
|
|
|
<emphasis role="bold">Pozn<EFBFBD>mka:</emphasis> pr<70>hlednost zde
|
|
|
|
|
is <emphasis role="bold">nen<EFBFBD> povolena</emphasis>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<emphasis role="bold">Nab<EFBFBD>dka</emphasis> je jen zp<7A>sob, jak ovl<76>dat
|
|
|
|
|
<application>MPlayer</application> polo<6C>kami menu. Vy<56>adov<6F>ny jsou dva
|
|
|
|
|
obr<62>zky: jeden z nich jako menu v norm<72>ln<6C>m stavu a druh<75> se zv<7A>razn<7A>n<EFBFBD>mi
|
|
|
|
|
polo<6C>kami. Kdy<64> pak vyvol<6F>te menu, je zobrazen prvn<76> obr<62>zek. P<>i pohybu my<6D><79>
|
|
|
|
|
p<>es polo<6C>ky, je zkop<6F>rov<6F>na aktu<74>ln<6C> vybran<61> polo<6C>ka z druh<75>ho obr<62>zku p<>es
|
|
|
|
|
ten prvn<76> pod kursorem (druh<75> obr<62>zek nen<65> nikdy zobrazen cel<65>).
|
|
|
|
|
</para><para>
|
|
|
|
|
Polo<6C>ka menu je definov<6F>na svou pozic<69> a velikost<73> v obr<62>zku (detaily viz
|
|
|
|
|
sekce <link linkend="skin-file-menu">nab<EFBFBD>dka</link>).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Jednu d<>le<6C>itou v<>c jsme je<6A>t<EFBFBD> nezm<7A>nili: Maj<61>-li tla<6C><61>tka,
|
|
|
|
|
potenciometry a polo<6C>ky menu pracovat, mus<75> <application>MPlayer</application>
|
|
|
|
|
v<>d<EFBFBD>t, co m<> ud<75>lat, pokud je na n<> kliknuto. To je zaji<6A>t<EFBFBD>no pomoc<6F>
|
|
|
|
|
<link linkend="skin-gui">zpr<EFBFBD>v</link> (ud<75>lost<73>). Pro tyto <20>leny tedy mus<75>te
|
|
|
|
|
definovat zpr<70>vy, kter<65> budou p<>i kliku generov<6F>ny.
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="skin-files">
|
|
|
|
|
<title>Soubory</title>
|
|
|
|
|
<para>
|
|
|
|
|
Pro v<>robu skinu budete pot<6F>ebovat n<>sleduj<75>c<EFBFBD>:
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Konfigura<72>n<EFBFBD> soubor jm<6A>nem <link linkend="skin-file">skin</link> <20>ekne
|
|
|
|
|
<application>MPlayer</application>u, jak m<> d<>t jednotliv<69> <20><>sti skinu
|
|
|
|
|
dohromady a co ud<75>lat, kliknete-li n<>kde v okn<6B>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Obr<62>zek pozad<61> hlavn<76>ho okna.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Obr<62>zky polo<6C>ek hlavn<76>ho okna (v<>etn<74> jednoho nebo v<>ce soubor<6F> s popisem
|
|
|
|
|
fontu pro vykreslov<6F>n<EFBFBD> popisek).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Obr<62>zek pro zobrazen<65> v podokn<6B> (voliteln<6C>).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Dva obr<62>zky pro nab<61>dku (ty jsou pot<6F>eba pouze pokud chcete vytvo<76>it menu).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
S v<>jimkou konfigura<72>n<EFBFBD>ho souboru skinu si m<><6D>ete pojmenovat ostatn<74> soubory
|
|
|
|
|
jak chcete (s t<>m, <20>e va<76>e soubory s popisem fontu budou m<>t p<><70>ponu
|
|
|
|
|
<filename>.fnt</filename>).
|
|
|
|
|
</para>
|
|
|
|
|
</sect2>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1 id="skin-file">
|
|
|
|
|
<title>Soubor skin</title>
|
|
|
|
|
<para>
|
|
|
|
|
Jak jsme ji<6A> <20>ekli, je to konfigura<72>n<EFBFBD> soubor skinu. Soubor je <20><>dkov<6F>
|
|
|
|
|
orientov<EFBFBD>n; <20><>dky s koment<6E><74>em za<7A><61>naj<61> znakem '<literal>;</literal>' (p<>ed n<>m
|
|
|
|
|
jsou povoleny jen mezery a tabul<75>tory).
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Soubor je slo<6C>en ze sekc<6B>. Ka<4B>d<EFBFBD> sekce popisuje skin pro aplikaci a m<>
|
|
|
|
|
n<EFBFBD>sleduj<EFBFBD>c<EFBFBD> formu:
|
|
|
|
|
<programlisting>
|
|
|
|
|
section = <replaceable>n<EFBFBD>zev cekce</replaceable>
|
|
|
|
|
.
|
|
|
|
|
.
|
|
|
|
|
.
|
|
|
|
|
end
|
|
|
|
|
</programlisting>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Zat<EFBFBD>m m<>me jen jednu aplikaci, tak<61>e pot<6F>ebujete jen jednu sekci: jej<65> n<>zev je
|
|
|
|
|
<emphasis role="bold">movieplayer</emphasis>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Uvnit<EFBFBD> sekce je ka<6B>d<EFBFBD> okno pos<6F>no blokem, kter<65> m<> n<>sleduj<75>c<EFBFBD> formu:
|
|
|
|
|
<programlisting>
|
|
|
|
|
window = <replaceable>n<EFBFBD>zev okna</replaceable>
|
|
|
|
|
.
|
|
|
|
|
.
|
|
|
|
|
.
|
|
|
|
|
end
|
|
|
|
|
</programlisting>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
kde <replaceable>n<EFBFBD>zev okna</replaceable> m<><6D>e b<>t jeden z t<>chto <20>et<65>zc<7A>:
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para><emphasis role="bold">main</emphasis> - pro hlavn<76> okno</para></listitem>
|
|
|
|
|
<listitem><para><emphasis role="bold">sub</emphasis> - pro podokno</para></listitem>
|
|
|
|
|
<listitem><para><emphasis role="bold">menu</emphasis> - pro nab<61>dku</para></listitem>
|
|
|
|
|
<listitem><para><emphasis role="bold">playbar</emphasis> - ovl<76>dac<61> panel</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
(Bloky sub a menu jsou voliteln<6C> - nemus<75>te vytv<74><76>et nab<61>dku nebo vyzdobit
|
|
|
|
|
podokno.)
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Uvnit<EFBFBD> window bloku m<><6D>ete definovat ka<6B>dou polo<6C>ku okna <20><>dkem v tomto tvaru:
|
|
|
|
|
<programlisting>polo<EFBFBD>ka = parametr</programlisting>
|
|
|
|
|
Kde <literal>polo<EFBFBD>ka</literal> je <20>et<65>zec ozna<6E>uj<75>c<EFBFBD> typ polo<6C>ky GUI a
|
|
|
|
|
<literal>parametr</literal> je <20><>seln<6C> nebo textov<6F> hodnota (nebo seznam hodnot
|
|
|
|
|
odd<EFBFBD>len<EFBFBD>ch <20><>rkami).
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
D<EFBFBD>te-li to v<>echno dohromady, cel<65> soubor vypad<61> asi takto:
|
|
|
|
|
<programlisting>
|
|
|
|
|
section = movieplayer
|
|
|
|
|
window = main
|
|
|
|
|
; ... polo<6C>ky hlavn<76>ho okna ...
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
window = sub
|
|
|
|
|
; ... polo<6C>ky podokna ...
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
window = menu
|
|
|
|
|
; ... polo<6C>ky menu ...
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
window = playbar
|
|
|
|
|
; ... polo<6C>ky ovl<76>dac<61>ho panelu ...
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
</programlisting>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Jm<EFBFBD>no souboru s obr<62>zkem mus<75> b<>t zad<61>no bez <20>vodn<64>ch adres<65><73><EFBFBD> - obr<62>zky jsou
|
2006-03-27 11:39:27 +00:00
|
|
|
|
vyhled<EFBFBD>v<EFBFBD>ny v adres<65><73>i <filename class="directory">skins</filename>.
|
2005-06-20 06:10:59 +00:00
|
|
|
|
M<EFBFBD>li byste (ale nemus<75>te) zadat p<><70>ponu souboru. Pokud soubor neexistuje,
|
|
|
|
|
zkou<EFBFBD><EFBFBD> <application>MPlayer</application> na<6E><61>st soubor
|
|
|
|
|
<filename><jm<EFBFBD>no>.<p<EFBFBD><EFBFBD>p></filename>, kdy jsou za
|
|
|
|
|
<filename><p<EFBFBD><EFBFBD>p></filename> zkou<6F>eny p<><70>pony <literal>png</literal>
|
|
|
|
|
a <literal>PNG</literal> (v tomto po<70>ad<61>). Pou<6F>it<69> bude prvn<76> vyhovuj<75>c<EFBFBD> soubor.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Nakonec je<6A>t<EFBFBD> p<>r slov k um<75>s<EFBFBD>ov<6F>n<EFBFBD>. Hlavn<76> okno a podokno mohou b<>t um<75>st<73>ny
|
|
|
|
|
v r<>zn<7A>ch roz<6F>ch obrazovky zad<61>n<EFBFBD>m sou<6F>adnic <literal>X</literal> a
|
|
|
|
|
<literal>Y</literal>. <literal>0</literal> je naho<68>e nebo vlevo,
|
|
|
|
|
<literal>-1</literal> je st<73>ed a <literal>-2</literal> je vpravo nebo dole, jak
|
|
|
|
|
je vid<69>t na obr<62>zku:
|
|
|
|
|
</para>
|
|
|
|
|
<informalfigure>
|
|
|
|
|
<screen>
|
|
|
|
|
(0, 0)----(-1, 0)----(-2, 0)
|
|
|
|
|
| | |
|
|
|
|
|
| | |
|
|
|
|
|
(0,-1)----(-1,-1)----(-2,-1)
|
|
|
|
|
| | |
|
|
|
|
|
| | |
|
|
|
|
|
(0,-2)----(-1,-2)----(-2,-2)
|
|
|
|
|
</screen>
|
|
|
|
|
</informalfigure>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Aby bylo v<>e jasn<73>, uv<75>d<EFBFBD>me p<><70>klad. <20>ekn<6B>me, <20>e m<>te obr<62>zek jm<6A>nem
|
|
|
|
|
<filename>main.png</filename>, kter<65> pou<6F>ijete pro hlavn<76> okno:
|
|
|
|
|
<programlisting>base = main, -1, -1</programlisting>
|
|
|
|
|
<application>MPlayer</application> zkus<75> na<6E><61>st soubory <filename>main</filename>,
|
|
|
|
|
<filename>main.png</filename>, <filename>main.PNG</filename>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<sect2 id="skin-file-main">
|
|
|
|
|
<title>Hlavn<EFBFBD> okno a ovl<76>dac<61> panel</title>
|
|
|
|
|
<para>
|
|
|
|
|
N<EFBFBD><EFBFBD>e uv<75>d<EFBFBD>me seznam polo<6C>ek, kter<65> mohou b<>t pou<6F>ity v bloc<6F>ch
|
|
|
|
|
'<literal>window = main</literal>' ... '<literal>end</literal>',
|
|
|
|
|
a '<literal>window = playbar</literal>' ... '<literal>end</literal>'.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-main-base"/>base = obr<62>zek, X, Y
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Umo<6D><6F>uje nastavit obr<62>zek pozad<61> hlavn<76>ho okna. Okno bude vykresleno na
|
|
|
|
|
zadan<61>ch sou<6F>adnic<69>ch <literal>X,Y</literal> na obrazovce a bude m<>t velikost
|
|
|
|
|
obr<62>zku.
|
|
|
|
|
</para>
|
|
|
|
|
<note><para>Tyto koordin<69>ty zat<61>m nefunguj<75> pro okno display.</para></note>
|
|
|
|
|
<warning><para>Pr<EFBFBD>hledn<EFBFBD> oblasti v obr<62>zku (obarven<65> #FF00FF) budou <20>ern<72>
|
|
|
|
|
na X serverech bez XShape roz<6F><7A><EFBFBD>en<65>. <20><><EFBFBD>ka obr<62>zku mus<75> b<>t celo<6C><6F>seln<6C>
|
|
|
|
|
d<>liteln<6C> 8.</para></warning>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-button"/>button = obr<62>zek, X, Y, <20><><EFBFBD>ka, v<><76>ka, zpr<70>va
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Um<55>st<73> tla<6C><61>tko rozm<7A>ru <literal><EFBFBD><EFBFBD><EFBFBD>ka</literal> * <literal>v<EFBFBD><EFBFBD>ka</literal>
|
|
|
|
|
na pozici <literal>X,Y</literal>. Zadan<61> <literal>zpr<EFBFBD>va</literal> je
|
|
|
|
|
generov<6F>na p<>i kliku na tla<6C><61>tko. Zadan<61> <literal>obr<EFBFBD>zek</literal> mus<75>
|
|
|
|
|
m<>t t<>i <20><>sti pod sebou (odpov<6F>daj<61>c<EFBFBD> mo<6D>n<EFBFBD>m stav<61>m tla<6C><61>tka) takto:
|
|
|
|
|
</para>
|
|
|
|
|
<informalfigure>
|
|
|
|
|
<screen>
|
|
|
|
|
+------------+
|
|
|
|
|
| stisknuto |
|
|
|
|
|
+------------+
|
|
|
|
|
| uvoln<6C>no |
|
|
|
|
|
+------------+
|
|
|
|
|
| zak<61>z<EFBFBD>no |
|
|
|
|
|
+------------+
|
|
|
|
|
</screen>
|
|
|
|
|
</informalfigure>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-decoration"/>decoration = enable|disable
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Zapne (enable) nebo vypne (disable) dekoraci hlavn<76>ho okna, produkovanou
|
|
|
|
|
okenn<6E>m mana<6E>erem. V<>choz<6F> je <emphasis role="bold">disable</emphasis>.
|
|
|
|
|
</para>
|
|
|
|
|
<note><para>V okn<6B> display to nefunguje, nen<65> to pot<6F>eba.</para></note>
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-hpotmeter"/>hpotmeter = tla<6C><61>tko, t<><74><EFBFBD>ka, tv<74><76>ka, f<>ze, po<70>et_f<5F>z<EFBFBD>, v<>choz<6F>, X, Y, <20><><EFBFBD>ka, v<><76>ka, zpr<70>va
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-vpotmeter"/>vpotmeter = tla<6C><61>tko, t<><74><EFBFBD>ka, tv<74><76>ka, f<>ze, po<70>et_f<5F>z<EFBFBD>, v<>choz<6F>, X, Y, <20><><EFBFBD>ka, v<><76>ka, zpr<70>va
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Um<55>st<73> vodorovn<76> (hpotmeter) nebo svisl<73> (vpotmeter) potenciometr velikosti
|
|
|
|
|
<literal><EFBFBD><EFBFBD><EFBFBD>ka</literal> * <literal>v<EFBFBD><EFBFBD>ka</literal> na pozici
|
|
|
|
|
<literal>X,Y</literal>. Obr<62>zek m<><6D>e b<>t rozd<7A>len do r<>zn<7A>ch <20><>st<73> pro r<>zn<7A>
|
|
|
|
|
f<EFBFBD>ze potenciometru (Nap<61><70>klad m<><6D>ete m<>t potenciometr pro nastaven<65> hlasitosti,
|
|
|
|
|
jeho<EFBFBD> dr<64>ha se barv<72> ze zelen<65> na <20>ervenou, jak se jeho hodnota m<>n<EFBFBD> od nejmen<65><6E>
|
|
|
|
|
do nejv<6A>t<EFBFBD><74>.). <literal>hpotmeter</literal> m<><6D>e m<>t t<>hlo, kter<65> m<><6D>e b<>t
|
|
|
|
|
vodorovn<EFBFBD> ta<74>eno. V<>znam parametr<74>:
|
|
|
|
|
</para>
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para><literal>tla<EFBFBD><EFBFBD>tko</literal> - obr<62>zek, ktr<74> se pou<6F>ije pro
|
|
|
|
|
tla<6C><61>tko (mus<75> m<>t t<>i <20><>sti pod sebou, stejn<6A> jako v p<><70>pad<61> tohoto
|
|
|
|
|
<link linkend="skin-button">tla<EFBFBD><EFBFBD>tka</link>)
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para><literal>t<EFBFBD><EFBFBD><EFBFBD>ka</literal>, <literal>tv<EFBFBD><EFBFBD>ka</literal> -
|
|
|
|
|
velikost tla<6C><61>tka
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para><literal>f<EFBFBD>ze</literal> - obr<62>zek pou<6F>it<69> pro r<>zn<7A> f<>ze
|
|
|
|
|
hpotmetru. Pokud <20><>dn<64> obr<62>zek nechcete, m<><6D>ete pou<6F><75>t speci<63>ln<6C> hodnotu
|
|
|
|
|
<literal>NULL</literal>. Obr<62>zek mus<75> b<>t rozd<7A>len svisle na
|
|
|
|
|
<literal>po<EFBFBD>et_f<EFBFBD>z<EFBFBD></literal> <20><>st<73> takto:
|
|
|
|
|
</para>
|
|
|
|
|
<informalfigure>
|
|
|
|
|
<screen>
|
|
|
|
|
+------------+
|
|
|
|
|
| f<>ze #1 |
|
|
|
|
|
+------------+
|
|
|
|
|
| f<>ze #2 |
|
|
|
|
|
+------------+
|
|
|
|
|
...
|
|
|
|
|
+------------+
|
|
|
|
|
| f<>ze #n |
|
|
|
|
|
+------------+
|
|
|
|
|
</screen>
|
|
|
|
|
</informalfigure>
|
|
|
|
|
</listitem>
|
|
|
|
|
<listitem><para><literal>po<EFBFBD>et_f<EFBFBD>z<EFBFBD></literal> - po<70>et f<>z<EFBFBD> ulo<6C>en<65>ch v
|
|
|
|
|
obr<62>zku <literal>f<EFBFBD>ze</literal>
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para><literal>v<EFBFBD>choz<EFBFBD></literal> - v<>choz<6F> hodnota pro hpotmeter
|
|
|
|
|
(v rozsahu <literal>0</literal> a<> <literal>100</literal>)
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para><literal>X</literal>, <literal>Y</literal> - pozice pro hpotmeter
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para><literal><EFBFBD><EFBFBD><EFBFBD>ka</literal>, <literal>v<EFBFBD><EFBFBD>ka</literal> - <20><><EFBFBD>ka a v<><76>ka
|
|
|
|
|
<literal>hpotmeter</literal>u
|
|
|
|
|
</para></listitem>
|
|
|
|
|
<listitem><para><literal>zpr<EFBFBD>va</literal> - zpr<70>va generovan<61> p<>i zm<7A>n<EFBFBD>
|
|
|
|
|
hodnoty <literal>hpotmeter</literal>u
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
</listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-potmeter"/>potmeter = f<>ze, po<70>et_f<5F>z<EFBFBD>, v<>choz<6F>, X, Y, <20><><EFBFBD>ka, v<><76>ka, zpr<70>va
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
<literal>hpotmeter</literal> bez tla<6C><61>tka. (soudil bych, <20>e byl m<>n<EFBFBD>n jako
|
|
|
|
|
oto<EFBFBD>n<EFBFBD>, ale reaguje pouze na horizont<6E>ln<6C> ta<74>en<65>.) Popis parametr<74> je stejn<6A>
|
|
|
|
|
jako v <link linkend="skin-hpotmeter">hpotmeter</link>.
|
|
|
|
|
<literal>f<EFBFBD>ze</literal> mohou b<>t <literal>NULL</literal>, ale je to vcelku
|
|
|
|
|
k ni<6E>emu, jeliko<6B> nem<65><6D>ete vid<69>t, jak je nastaven <literal>potmeter</literal>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-font"/>font = soubor_fontu, id_fontu
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Definuje font. <literal>soubor_fontu</literal> je jm<6A>no souboru popisu fontu
|
|
|
|
|
s p<><70>ponou <filename>.fnt</filename> (zde p<><70>ponu nezad<61>vejte).
|
|
|
|
|
<literal>id_fontu</literal> je pou<6F>it jako ukazatel na font
|
|
|
|
|
(viz <link linkend="skin-dlabel">dlabel</link>
|
|
|
|
|
a <link linkend="skin-slabel">slabel</link>). Definov<6F>no m<><6D>e b<>t v<>ce ne<6E> 25 font<6E>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-slabel"/>slabel = X, Y, id_fontu, "text"
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Um<EFBFBD>st<EFBFBD> statick<63> popisek na pozici <literal>X,Y</literal>. <literal>text</literal>
|
|
|
|
|
je zobrazen fontem identifikovan<61>m pomoc<6F> <literal>id_fontu</literal>. Text je
|
|
|
|
|
surov<EFBFBD> <20>et<65>zec (<literal>$x</literal> prom<6F>nn<6E> nefunguj<75>), kter<65> mus<75> b<>t uzav<61>en
|
|
|
|
|
ve dvojit<69>ch uvozovk<76>ch (ale znak " nesm<73> b<>t sou<6F><75>st<73> textu).
|
|
|
|
|
Popisek je zobrazen fontem identifikovan<61>m pomoc<6F> <literal>id_fontu</literal>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-dlabel"/>dlabel = X, Y, d<>lka, zarovn<76>n<EFBFBD>, id_fontu, "text"
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem>
|
|
|
|
|
<para>
|
|
|
|
|
Um<EFBFBD>st<EFBFBD> dynamick<63> popisek na pozici <literal>X,Y</literal>. Popisek je
|
|
|
|
|
dynamick<EFBFBD> proto, <20>e je jeho text periodicky obnovov<6F>n. Maxim<69>ln<6C> d<>lka
|
|
|
|
|
popisku je nastavena na <literal>d<EFBFBD>lka</literal> (jeho v<><76>kou je v<><76>ka znaku).
|
|
|
|
|
Pokud je zobrazovan<61> text <20>ir<69><72>, pak bude rolov<6F>n,
|
|
|
|
|
jinak bude zarovn<76>n do ur<75>en<65>ho prostoru podle hodnoty parametru
|
|
|
|
|
<literal>zarovn<EFBFBD>n<EFBFBD></literal>: <literal>0</literal> je zarovn<76>n<EFBFBD> vpravo,
|
|
|
|
|
<literal>1</literal> na st<73>ed, <literal>2</literal> vlevo.
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|
Text k zobrazen<65> je zad<61>n parametrem <literal>text</literal>: Mus<75> b<>t uzav<61>en
|
|
|
|
|
do dvojit<69>ch uvozovek (ale znak " nesm<73> b<>t sou<6F><75>st<73> textu).
|
|
|
|
|
Popisek je zobrazen fontem identifikovan<61>m pomoc<6F> <literal>id_fontu</literal>.
|
|
|
|
|
V textu m<><6D>ete pou<6F><75>t tyto prom<6F>nn<6E>:
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<informaltable>
|
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<thead>
|
|
|
|
|
<row><entry>Prom<EFBFBD>nn<EFBFBD></entry><entry>V<EFBFBD>znam</entry></row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$1</entry>
|
|
|
|
|
<entry><EFBFBD>as p<>ehr<68>v<EFBFBD>n<EFBFBD> ve form<72>tu <emphasis>hh:mm:ss</emphasis></entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$2</entry>
|
|
|
|
|
<entry><EFBFBD>as p<>ehr<68>v<EFBFBD>n<EFBFBD> ve form<72>tu <emphasis>mmmm:ss</emphasis></entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$3</entry>
|
|
|
|
|
<entry><EFBFBD>as p<>ehr<68>v<EFBFBD>n<EFBFBD> ve form<72>tu <emphasis>hh</emphasis> (hodiny)</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$4</entry>
|
|
|
|
|
<entry><EFBFBD>as p<>ehr<68>v<EFBFBD>n<EFBFBD> ve form<72>tu <emphasis>mm</emphasis> (minuty)</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$5</entry>
|
|
|
|
|
<entry><EFBFBD>as p<>ehr<68>v<EFBFBD>n<EFBFBD> ve form<72>tu <emphasis>ss</emphasis> (sekundy)</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$6</entry>
|
|
|
|
|
<entry>d<EFBFBD>lka filmu ve form<72>tu <emphasis>hh:mm:ss</emphasis></entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$7</entry>
|
|
|
|
|
<entry>d<EFBFBD>lka filmu ve form<72>tu <emphasis>mmmm:ss</emphasis></entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$8</entry>
|
|
|
|
|
<entry><EFBFBD>as p<>ehr<68>v<EFBFBD>n<EFBFBD> ve form<72>tu <emphasis>h:mm:ss</emphasis></entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$v</entry>
|
|
|
|
|
<entry>hlasitost ve form<72>tu <emphasis>xxx.xx</emphasis>%</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$V</entry>
|
|
|
|
|
<entry>hlasitost ve form<72>tu <emphasis>xxx.xx</emphasis></entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$b</entry>
|
|
|
|
|
<entry>stereov<EFBFBD>ha ve form<72>tu <emphasis>xxx.xx</emphasis>%</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$B</entry>
|
|
|
|
|
<entry>stereov<EFBFBD>ha ve form<72>tu <emphasis>xxx.xx</emphasis></entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$$</entry>
|
|
|
|
|
<entry>znak $</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$a</entry>
|
|
|
|
|
<entry>znak podle typu audia (<28><>dn<64>: <literal>n</literal>,
|
|
|
|
|
mono: <literal>m</literal>, stereo: <literal>t</literal>)</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$t</entry>
|
|
|
|
|
<entry><EFBFBD><EFBFBD>slo stopy (v playlistu)</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$o</entry>
|
|
|
|
|
<entry>n<EFBFBD>zev souboru</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$f</entry>
|
|
|
|
|
<entry>n<EFBFBD>zev souboru mal<61>mi p<>smeny</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$F</entry>
|
|
|
|
|
<entry>n<EFBFBD>zev souboru velk<6C>mi p<>smeny</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$T</entry>
|
|
|
|
|
<entry>znak podle typu datov<6F>ho proudu (soubor: <literal>f</literal>,
|
|
|
|
|
Video CD: <literal>v</literal>, DVD: <literal>d</literal>, URL: <literal>u</literal>)</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$p</entry>
|
|
|
|
|
<entry>znak <keycap>p</keycap> (pokud p<>ehr<68>v<EFBFBD>te soubor a font obsahuje
|
|
|
|
|
znak <keycap>p</keycap>)</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$s</entry>
|
|
|
|
|
<entry>znak <keycap>s</keycap> character (pokud p<>ehr<68>v<EFBFBD>te soubor a font obsahuje
|
|
|
|
|
znak <keycap>s</keycap>)</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$e</entry>
|
|
|
|
|
<entry>znak <keycap>e</keycap> (pokud je p<>ehr<68>v<EFBFBD>n<EFBFBD> pozastaveno a font obsahuje
|
|
|
|
|
znak <keycap>e</keycap>)</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$x</entry>
|
|
|
|
|
<entry><EFBFBD><EFBFBD><EFBFBD>ka filmu</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$y</entry>
|
|
|
|
|
<entry>v<EFBFBD><EFBFBD>ka filmu</entry>
|
|
|
|
|
</row>
|
|
|
|
|
<row>
|
|
|
|
|
<entry>$C</entry>
|
|
|
|
|
<entry>n<EFBFBD>zev pou<6F>it<69>ho kodeku</entry>
|
|
|
|
|
</row>
|
|
|
|
|
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</informaltable>
|
|
|
|
|
</listitem>
|
|
|
|
|
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
<note><para>
|
|
|
|
|
Prom<EFBFBD>nn<EFBFBD> <literal>$a, $T, $p, $s</literal> a <literal>$e</literal>
|
|
|
|
|
vracej<EFBFBD> znaky, kter<65> by se m<>ly zobrazit jako speci<63>ln<6C> symboly (nap<61><70>klad
|
|
|
|
|
<keycap>e</keycap> je symbol pro pauzu, kter<65> obvykle vypad<61> asi takto
|
|
|
|
|
||). M<>li byste m<>t font pro norm<72>ln<6C> znaky a jin<69> font pro
|
|
|
|
|
symboly. Pro v<>ce informac<61> viz sekci
|
|
|
|
|
<link linkend="skin-fonts-symbols">symboly</link>.
|
|
|
|
|
</para></note>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="skin-file-subwindow">
|
|
|
|
|
<title>Ovl<EFBFBD>dac<EFBFBD> panel</title>
|
|
|
|
|
<para>
|
|
|
|
|
N<EFBFBD>sleduj<EFBFBD>c<EFBFBD> vstupy mohou b<>t pou<6F>ity v bloku
|
|
|
|
|
'<literal>window = sub</literal>' . . . '<literal>end</literal>'.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-sub-base"/>base = obr<62>zek, X, Y, <20><><EFBFBD>ka, v<><76>ka
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Obr<EFBFBD>zek, kter<65> bude zobrazen v okn<6B>. Okno se zobraz<61> na pozici zadan<61>
|
|
|
|
|
sou<EFBFBD>adnicemi <literal>X,Y</literal> na obrazovce (<literal>0,0</literal> je
|
|
|
|
|
lev<EFBFBD> horn<72> roh). M<><4D>ete nastavit <literal>-1</literal> pro st<73>ed a <literal>-2</literal>
|
|
|
|
|
pro vpravo (<literal>X</literal>) a dole (<literal>Y</literal>). Okno bude
|
|
|
|
|
stejn<EFBFBD> velk<6C> jako obr<62>zek. <literal><EFBFBD><EFBFBD><EFBFBD>ka</literal> a <literal>v<EFBFBD><EFBFBD>ka</literal>
|
|
|
|
|
ud<EFBFBD>vaj<EFBFBD> velikost okna; jsou voliteln<6C> (pokud chyb<79>, m<> okno rozm<7A>ry shodn<64>
|
|
|
|
|
s obr<62>zkem).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-background"/>background = R, G, B
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Umo<EFBFBD><EFBFBD>uje nastavit barvu pozad<61>. To je u<>ite<74>n<EFBFBD>, pokud je obr<62>zek men<65><6E> ne<6E>
|
|
|
|
|
okno. <literal>R</literal>, <literal>G</literal> a <literal>B</literal>
|
|
|
|
|
ozna<EFBFBD>uj<EFBFBD> <20>ervenou, zelenou a modrou slo<6C>ku barvy (ka<6B>d<EFBFBD> z nich je dekadick<63>
|
|
|
|
|
hodnota 0 a<> 255).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
|
|
<sect2 id="skin-file-menu">
|
|
|
|
|
<title>Nab<EFBFBD>dka</title>
|
|
|
|
|
<para>
|
|
|
|
|
Jak ji<6A> bylo d<><64>ve <20>e<EFBFBD>eno, nab<61>dka je zobrazena pomoc<6F> dvou obr<62>zk<7A>. Norm<72>ln<6C>
|
|
|
|
|
polo<EFBFBD>ky nab<61>dky jsou br<62>ny z obr<62>zku ur<75>en<65>ho polo<6C>kou <literal>base</literal>,
|
|
|
|
|
zat<EFBFBD>mco aktu<74>ln<6C> zvolen<65> vstup je br<62>n z obr<62>zku ur<75>en<65>ho polo<6C>kou
|
|
|
|
|
<literal>selected</literal>. Mus<75>te definovat pozici a rozm<7A>r ka<6B>d<EFBFBD> polo<6C>ky
|
|
|
|
|
nab<EFBFBD>dky.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
N<EFBFBD>sleduj<EFBFBD>c<EFBFBD> vstupy mohou b<>t pou<6F>ity v bloku
|
|
|
|
|
'<literal>window = menu</literal>'. . .'<literal>end</literal>'.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-menu-base"/>base = obr<62>zek
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Obr<EFBFBD>zek norm<72>ln<6C>ch polo<6C>ek nab<61>dky.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-selected"/>selected = obr<62>zek
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Obr<EFBFBD>zek nab<61>dky kde jsou v<>echny polo<6C>ky vybr<62>ny.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><literal>
|
|
|
|
|
<anchor id="skin-menu"/>menu = X, Y, <20><><EFBFBD>ka, v<><76>ka, zpr<70>va
|
|
|
|
|
</literal></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Definuje pozici <literal>X,Y</literal> a rozm<7A>r polo<6C>ky nab<61>dky v obr<62>zku.
|
|
|
|
|
<literal>zpr<EFBFBD>va</literal> je zpr<70>va, generovan<61> jakmile je uvoln<6C>no tla<6C><61>tko
|
|
|
|
|
my<EFBFBD>i nad polo<6C>kou.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
</sect2>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1 id="skin-fonts">
|
|
|
|
|
<title>Fonty</title>
|
|
|
|
|
<para>
|
|
|
|
|
Jak jsme ji<6A> zm<7A>nili v sekci o <20><>stech skinu, font je definov<6F>n obr<62>zkem a
|
|
|
|
|
souborem popisu. M<><4D>ete rozm<7A>stit znaky v obr<62>zku libovoln<6C>, ale ujist<73>te se, <20>e
|
|
|
|
|
je jejich velikost a pozice je uvedena v souboru popisu p<>esn<73>.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Soubor popisu fontu (s p<><70>ponou <filename>.fnt</filename>) m<><6D>e obsahovat
|
|
|
|
|
<EFBFBD><EFBFBD>dky s koment<6E><74>em za<7A><61>naj<61>c<EFBFBD> '<literal>;</literal>'. Soubor mus<75> obsahovat
|
|
|
|
|
<EFBFBD><EFBFBD>dek ve form<72>
|
|
|
|
|
<anchor id="skin-font-image"/>
|
|
|
|
|
<programlisting>image = <replaceable>obr<EFBFBD>zek</replaceable></programlisting>
|
|
|
|
|
Kde <literal><replaceable>obr<EFBFBD>zek</replaceable></literal> je n<>zev obr<62>zku
|
|
|
|
|
pou<EFBFBD>it<EFBFBD>ho pro font (nemus<75>te zad<61>vat p<><70>ponu).
|
|
|
|
|
<anchor id="skin-font-char"/>
|
|
|
|
|
<programlisting>"char" = X, Y, <20><><EFBFBD>ka, v<><76>ka</programlisting>
|
|
|
|
|
Zde <literal>X</literal> a <literal>Y</literal> ud<75>vaj<61> pozici
|
|
|
|
|
<literal>char</literal> znaku v obr<62>zku (<literal>0,0</literal> je lev<65>
|
|
|
|
|
horn<EFBFBD> roh). <literal><EFBFBD><EFBFBD><EFBFBD>ka</literal> a <literal>v<EFBFBD><EFBFBD>ka</literal> jsou
|
|
|
|
|
rozm<EFBFBD>ry znaku v pixelech.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Tento p<><70>klad definuje znaky A, B, C s pou<6F><75>t<EFBFBD>m <filename>font.png</filename>.
|
|
|
|
|
<programlisting>
|
|
|
|
|
; Zde m<><6D>e b<>t jen "font" m<>sto "font.png".
|
|
|
|
|
image = font.png
|
|
|
|
|
|
|
|
|
|
; T<>i znaky pro ilustraci sta<74><61> :-)
|
|
|
|
|
"A" = 0,0, 7,13
|
|
|
|
|
"B" = 7,0, 7,13
|
|
|
|
|
"C" = 14,0, 7,13
|
|
|
|
|
</programlisting>
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<sect2 id="skin-fonts-symbols">
|
|
|
|
|
<title>Symboly</title>
|
|
|
|
|
<para>
|
|
|
|
|
N<EFBFBD>kter<EFBFBD> znaky maj<61> speci<63>ln<6C> v<>znam, jsou-li vr<76>ceny n<>kterou z prom<6F>nn<6E>ch
|
|
|
|
|
pou<EFBFBD>it<EFBFBD>ch v <link linkend="skin-dlabel">dlabel</link>. Tyto znaky maj<61> b<>t
|
|
|
|
|
zobrazov<EFBFBD>ny jako symboly, tak<61>e mohou b<>t zobrazeny v<>ci jako p<>kn<6B> DVD logo
|
|
|
|
|
m<>sto znaku '<literal>d</literal>' pro DVD datov<6F> proud.
|
|
|
|
|
</para>
|
|
|
|
|
<para>
|
|
|
|
|
N<EFBFBD>sleduj<EFBFBD>c<EFBFBD> tabulka obsahuje znaky, kter<65> mohou b<>t pou<6F>ity k zobrazen<65>
|
|
|
|
|
symbol<EFBFBD> (a tud<75><64> vy<76>aduj<75> odli<6C>n<EFBFBD> font).
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<informaltable>
|
|
|
|
|
<tgroup cols="2">
|
|
|
|
|
<thead>
|
|
|
|
|
<row><entry>Znak</entry><entry>Symbol</entry></row>
|
|
|
|
|
</thead>
|
|
|
|
|
<tbody>
|
|
|
|
|
<row><entry><keycap>p</keycap></entry><entry>play</entry></row>
|
|
|
|
|
<row><entry><keycap>s</keycap></entry><entry>stop</entry></row>
|
|
|
|
|
<row><entry><keycap>e</keycap></entry><entry>pause</entry></row>
|
|
|
|
|
<row><entry><keycap>n</keycap></entry><entry>bez zvuku</entry></row>
|
|
|
|
|
<row><entry><keycap>m</keycap></entry><entry>mono zvuk</entry></row>
|
|
|
|
|
<row><entry><keycap>t</keycap></entry><entry>stereo zvuk</entry></row>
|
|
|
|
|
<row><entry><keycap>f</keycap></entry><entry>datov<EFBFBD> proud je soubor</entry></row>
|
|
|
|
|
<row><entry><keycap>v</keycap></entry><entry>datov<EFBFBD> proud je Video CD</entry></row>
|
|
|
|
|
<row><entry><keycap>d</keycap></entry><entry>datov<EFBFBD> proud je DVD</entry></row>
|
|
|
|
|
<row><entry><keycap>u</keycap></entry><entry>datov<EFBFBD> proud je URL</entry></row>
|
|
|
|
|
</tbody>
|
|
|
|
|
</tgroup>
|
|
|
|
|
</informaltable>
|
|
|
|
|
</sect2>
|
|
|
|
|
</sect1>
|
|
|
|
|
|
|
|
|
|
<sect1 id="skin-gui">
|
|
|
|
|
<title>GUI zpr<70>vy</title>
|
|
|
|
|
<para>
|
|
|
|
|
Tyto zpr<70>vy mohou b<>t generov<6F>ny tla<6C><61>tky, potenciometry a polo<6C>kami
|
|
|
|
|
nab<EFBFBD>dky.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<title>Ovl<EFBFBD>d<EFBFBD>n<EFBFBD> p<>ehr<68>v<EFBFBD>n<EFBFBD>:</title>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evNext</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Sko<EFBFBD><EFBFBD> na n<>sleduj<75>c<EFBFBD> stopu v playlistu.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evPause</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Tvo<EFBFBD><EFBFBD> p<>ep<65>na<6E> spole<6C>n<EFBFBD> s <literal>evPlaySwitchToPause</literal>. Ty mohou
|
|
|
|
|
b<EFBFBD>t pou<6F>ity k vytvo<76>en<65> tradi<64>n<EFBFBD>ho play/pauza tla<6C><61>tka. Ob<4F> zpr<70>vy by m<>ly
|
|
|
|
|
b<EFBFBD>t p<>i<EFBFBD>azeny tla<6C><61>tk<74>m um<75>st<73>n<EFBFBD>m na stejn<6A> pozici. Tato zpr<70>va pozastav<61>
|
|
|
|
|
p<EFBFBD>ehr<EFBFBD>v<EFBFBD>n<EFBFBD> a zobrazen bude obr<62>zek pro <literal>evPlaySwitchToPause</literal>
|
|
|
|
|
tal<EFBFBD><EFBFBD>tko (pro indikaci, <20>e tla<6C><61>tko m<><6D>e b<>t stisknuto pro obnoven<65> p<>ehr<68>v<EFBFBD>n<EFBFBD>).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evPlay</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Zah<EFBFBD>j<EFBFBD> p<>ehr<68>v<EFBFBD>n<EFBFBD>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evPlaySwitchToPause</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Protiklad <literal>evPauseSwitchToPlay</literal>. Tato zpr<70>va zah<61>j<EFBFBD> p<>ehr<68>v<EFBFBD>n<EFBFBD>
|
|
|
|
|
a zobraz<61> obr<62>zek pro tla<6C><61>tko <literal>evPauseSwitchToPlay</literal>
|
|
|
|
|
(pro indikaci, <20>e tla<6C><61>tko m<><6D>e b<>t stisknuto pro pozastaven<65> p<>ehr<68>v<EFBFBD>n<EFBFBD>).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evPrev</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Sko<EFBFBD><EFBFBD> na p<>edchoz<6F> stopu v playlistu.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evStop</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Zastav<EFBFBD> p<>ehr<68>v<EFBFBD>n<EFBFBD>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<title>P<EFBFBD>ev<EFBFBD>jen<EFBFBD>:</title>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evBackward10sec</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
P<EFBFBD>evine zp<7A>t o 10 sekund.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evBackward1min</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
P<EFBFBD>evine zp<7A>t o 1 minutu.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evBackward10min</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
P<EFBFBD>evine zp<7A>t o 10 minut.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evForward10sec</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
P<EFBFBD>evine vp<76>ed o 10 sekund.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evForward1min</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
P<EFBFBD>evine vp<76>ed o 1 minutu.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evForward10min</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
P<EFBFBD>evine vp<76>ed o 10 minut.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evSetMoviePosition</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
P<EFBFBD>evine na danou pozici (m<><6D>e b<>t p<>i<EFBFBD>azeno potenciometru; pou<6F>ije se
|
|
|
|
|
relativn<EFBFBD> hodnota (0-100%) potenciometru).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<title>Ovl<EFBFBD>d<EFBFBD>n<EFBFBD> videa:</title>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evHalfSize</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Nastav<EFBFBD> velikost okna filmu na polovi<76>n<EFBFBD> velikost.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evDoubleSize</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Nastav<EFBFBD> velikost okna filmu na dvojn<6A>sobnou velikost.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evFullScreen</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
P<EFBFBD>ep<EFBFBD>n<EFBFBD> do celoobrazovkov<6F>ho re<72>imu a zp<7A>t.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evNormalSize</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Nastav<EFBFBD> velikost okna na norm<72>ln<6C> velikost.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<title>Ovl<EFBFBD>d<EFBFBD>n<EFBFBD> zvuku:</title>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evDecAudioBufDelay</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Sn<EFBFBD><EFBFBD><EFBFBD> zpo<70>d<EFBFBD>n<EFBFBD> vyrovn<76>vac<61> pam<61>ti zvuku.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evDecBalance</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Sn<EFBFBD><EFBFBD><EFBFBD> hodnotu stereov<6F>hy.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evDecVolume</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Sn<EFBFBD><EFBFBD><EFBFBD> hlasitost.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evIncAudioBufDelay</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Zv<EFBFBD><EFBFBD><EFBFBD> zpo<70>d<EFBFBD>n<EFBFBD> vyrovn<76>vac<61> pam<61>ti zvuku.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evIncBalance</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Zv<EFBFBD><EFBFBD><EFBFBD> hodnotu stereov<6F>hy.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evIncVolume</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Zv<EFBFBD><EFBFBD><EFBFBD> hlasitost.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evMute</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Vypne/zapne zvuk.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evSetBalance</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Nastav<EFBFBD> stereov<6F>hu (m<><6D>e b<>t sdru<72>eno s potenciometrem; pou<6F>ije se
|
|
|
|
|
relativn<EFBFBD> hodnota potenciometru (0-100%)).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evSetVolume</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Nastav<EFBFBD> hlasitost (m<><6D>e b<>t sdru<72>eno s potenciometrem; pou<6F>ije se
|
|
|
|
|
relativn<EFBFBD> hodnota potenciometru (0-100%)).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
|
<title>R<EFBFBD>zn<EFBFBD>:</title>
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evAbout</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Otev<EFBFBD>e okno o aplikaci.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evDropSubtitle</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Vypne aktu<74>ln<6C> pou<6F>it<69> titulky.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evEqualizer</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Zapne/vypne ekvaliz<69>r.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evExit</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Ukon<EFBFBD><EFBFBD> program.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evIconify</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Minimalizuje okno.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evLoad</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Otev<EFBFBD>e soubor (otev<65>en<65>m okna prohl<68><6C>e<EFBFBD>e soubor<6F>, kde si soubor vyberete).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evLoadPlay</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Stejn<EFBFBD> jako <literal>evLoad</literal>, ale nav<61>c se okam<61>it<69> spust<73> p<>ehr<68>v<EFBFBD>n<EFBFBD>
|
|
|
|
|
otev<EFBFBD>en<EFBFBD>ho souboru.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evLoadSubtitle</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Otev<EFBFBD>e soubor s titulky (pomoc<6F> prohl<68><6C>e<EFBFBD>e soubor<6F>)
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evLoadAudioFile</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Otev<EFBFBD>e soubor se zvukem (pomoc<6F> prohl<68><6C>e<EFBFBD>e soubor<6F>)
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evNone</emphasis></term>
|
|
|
|
|
<listitem><para>
|
2006-07-04 09:10:28 +00:00
|
|
|
|
Pr<EFBFBD>zdn<EFBFBD> zpr<70>va, nem<65> <20><>dn<64> efekt (mo<6D>n<EFBFBD> s v<>jimkou Subversion verz<72> :-)).
|
2005-06-20 06:10:59 +00:00
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evPlaylist</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Otev<EFBFBD>e/zav<61>e okno playlistu.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evPlayDVD</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Zkus<EFBFBD> otev<65><76>t disk v zadan<61> DVD-ROM mechanice.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evPlayVCD</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Zkus<EFBFBD> otev<65><76>t disk v zadan<61> CD-ROM mechanice.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evPreferences</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Otev<EFBFBD>e okno p<>edvoleb.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evSetAspect</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Nastav<EFBFBD> pom<6F>r stran zobrazovan<61>ho obr<62>zku.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evSetURL</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Zobraz<EFBFBD> dialogov<6F> okno pro volbu URL.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
|
<term><emphasis role="bold">evSkinBrowser</emphasis></term>
|
|
|
|
|
<listitem><para>
|
|
|
|
|
Otev<EFBFBD>e okno voli<6C>e skin<69>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</varlistentry>
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|
|
2006-04-25 13:25:47 +00:00
|
|
|
|
<sect1 id="skin-quality">
|
|
|
|
|
<title>Tvorba kvalitn<74>ch skin<69></title>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Co kdy<64> jste si p<>e<EFBFBD>etli o skinech pro GUI
|
|
|
|
|
<application>MPlayer</application>u, odvedli to nejlep<65><70> s
|
|
|
|
|
<application>Gimp</application>em a chcete n<>m poslat sv<73>j skin?
|
|
|
|
|
P<EFBFBD>e<EFBFBD>t<EFBFBD>te si p<>r n<>vod<6F>, abyste se vyhnuli b<><62>n<EFBFBD>m omyl<79>m a vytvo<76>ili
|
|
|
|
|
vysoce kvalitn<74> skin.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Chceme, aby skiny, kter<65> p<>id<69>me do na<6E>eho repozit<69><74>e odpov<6F>daly
|
|
|
|
|
ur<EFBFBD>it<EFBFBD>m standard<72>m kvality. Je zde tak<61> mnoho v<>c<EFBFBD>, kter<65> m<><6D>ete
|
|
|
|
|
ud<EFBFBD>lat, abyste n<>m uleh<65>ili pr<70>ci.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<para>
|
|
|
|
|
Za p<><70>klad si vemte skin <systemitem>Blue</systemitem>.
|
|
|
|
|
Ten spl<70>uje v<>echna krit<69>ria od verze 1.5.
|
|
|
|
|
</para>
|
|
|
|
|
|
|
|
|
|
<itemizedlist>
|
|
|
|
|
<listitem><para>Ke ka<6B>d<EFBFBD>mu skinu by m<>l b<>t soubor
|
|
|
|
|
<filename>README</filename>, obsahuj<75>c<EFBFBD> informace o v<>s jako autorovi,
|
|
|
|
|
o copyrightu a licenci a v<>e ostatn<74>, co chcete dodat.
|
|
|
|
|
Chcete-li m<>t changelog, tento soubor je dobr<62>m m<>stem.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>Mel by tu b<>t soubor <filename>VERSION</filename>
|
|
|
|
|
neobsahuj<75>c<EFBFBD> nic jin<69>ho, ne<6E> <20><>slo verze na jedin<69>m <20><>dku (nap<61>. 1.0).
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>Horizont<EFBFBD>ln<EFBFBD> a vertik<69>ln<6C> ovl<76>d<EFBFBD>n<EFBFBD> (posuvn<76>ky jako hlasitost
|
|
|
|
|
nebo pozice) by m<>ly m<>t st<73>ed knofl<66>ku spr<70>vn<76> zarovn<76>n na stred posuvn<76>ku.
|
|
|
|
|
M<>lo by b<>t mo<6D>n<EFBFBD> posouvat knofl<66>k na oba konce posuvn<76>ku, ale ne za n<>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>Jednotliv<EFBFBD> sou<6F><75>sti skinu by m<>ly m<>t spr<70>vn<76> rozm<7A>ry
|
|
|
|
|
deklarovan<61> v souboru skin. Pokud to tak nen<65>, m<><6D>ete kliknout mimo nap<61>.
|
|
|
|
|
tla<6C><61>tko a to se stejn<6A> stiskne, nebo kliknout na jeho plochu a nestisknout
|
|
|
|
|
jej.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
|
|
|
|
|
<listitem><para>Soubor <filename>skin</filename> by m<>l b<>t srovn<76>n na znaky
|
|
|
|
|
a neobsahovat tabul<75>tory. Srovn<76>n na znaky znamen<65>, <20>e se <20><>sla budou rovnat
|
|
|
|
|
do <20>hledn<64>ch sloupc<70>.
|
|
|
|
|
</para></listitem>
|
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|
|
2005-06-20 06:10:59 +00:00
|
|
|
|
</appendix>
|