]> git.sesse.net Git - vlc/blob - share/skins/default/theme.xml
* added a preferences button in the default skin
[vlc] / share / skins / default / theme.xml
1 <!DOCTYPE Theme SYSTEM "skin.dtd">\r
2 \r
3 <Theme>\r
4     <ThemeInfo name="VLC" author="Emmanuel Puig"\r
5             email="magic@karibu.org" webpage=""/>\r
6 \r
7   <Bitmap id="body" file="body.bmp" alphacolor="#FF0000"/>\r
8 \r
9   <Bitmap id="prev1" file="prev1.bmp" alphacolor="#FF0000"/>\r
10   <Bitmap id="prev2" file="prev2.bmp" alphacolor="#FF0000"/>\r
11   <Bitmap id="prev3" file="prev3.bmp" alphacolor="#FF0000"/>\r
12   <Bitmap id="prev4" file="prev4.bmp" alphacolor="#FF0000"/>\r
13   <Bitmap id="stop1" file="stop1.bmp" alphacolor="#FF0000"/>\r
14   <Bitmap id="stop2" file="stop2.bmp" alphacolor="#FF0000"/>\r
15   <Bitmap id="stop3" file="stop3.bmp" alphacolor="#FF0000"/>\r
16   <Bitmap id="stop4" file="stop4.bmp" alphacolor="#FF0000"/>\r
17   <Bitmap id="play1" file="play1.bmp" alphacolor="#FF0000"/>\r
18   <Bitmap id="play2" file="play2.bmp" alphacolor="#FF0000"/>\r
19   <Bitmap id="play3" file="play3.bmp" alphacolor="#FF0000"/>\r
20   <Bitmap id="play4" file="play4.bmp" alphacolor="#FF0000"/>\r
21   <Bitmap id="pause1" file="pause1.bmp" alphacolor="#FF0000"/>\r
22   <Bitmap id="pause2" file="pause2.bmp" alphacolor="#FF0000"/>\r
23   <Bitmap id="pause3" file="pause3.bmp" alphacolor="#FF0000"/>\r
24   <Bitmap id="pause4" file="pause4.bmp" alphacolor="#FF0000"/>\r
25   <Bitmap id="next1" file="next1.bmp" alphacolor="#FF0000"/>\r
26   <Bitmap id="next2" file="next2.bmp" alphacolor="#FF0000"/>\r
27   <Bitmap id="next3" file="next3.bmp" alphacolor="#FF0000"/>\r
28   <Bitmap id="next4" file="next4.bmp" alphacolor="#FF0000"/>\r
29   <Bitmap id="playlist1" file="playlist1.bmp" alphacolor="#FF0000"/>\r
30   <Bitmap id="playlist2" file="playlist2.bmp" alphacolor="#FF0000"/>\r
31   <Bitmap id="playlist3" file="playlist3.bmp" alphacolor="#FF0000"/>\r
32 \r
33   <Bitmap id="quit1" file="quit1.bmp" alphacolor="#FF0000"/>\r
34   <Bitmap id="quit2" file="quit2.bmp" alphacolor="#FF0000"/>\r
35   <Bitmap id="quit3" file="quit3.bmp" alphacolor="#FF0000"/>\r
36 \r
37   <Bitmap id="slider1" file="slider1.bmp" alphacolor="#FF0000"/>\r
38   <Bitmap id="slider2" file="slider2.bmp" alphacolor="#FF0000"/>\r
39 \r
40   <Bitmap id="playlist_body" file="playlist_body.bmp" alphacolor="#FF0000"/>\r
41 \r
42   <Bitmap id="open1" file="open1.bmp" alphacolor="#FF0000"/>\r
43   <Bitmap id="open2" file="open2.bmp" alphacolor="#FF0000"/>\r
44   <Bitmap id="open3" file="open3.bmp" alphacolor="#FF0000"/>\r
45   <Bitmap id="add1" file="add1.bmp" alphacolor="#FF0000"/>\r
46   <Bitmap id="add2" file="add2.bmp" alphacolor="#FF0000"/>\r
47   <Bitmap id="add3" file="add3.bmp" alphacolor="#FF0000"/>\r
48   <Bitmap id="del1" file="del1.bmp" alphacolor="#FF0000"/>\r
49   <Bitmap id="del2" file="del2.bmp" alphacolor="#FF0000"/>\r
50   <Bitmap id="del3" file="del3.bmp" alphacolor="#FF0000"/> \r
51   <Bitmap id="prefs1" file="prefs1.bmp" alphacolor="#FF0000"/>\r
52   <Bitmap id="prefs2" file="prefs2.bmp" alphacolor="#FF0000"/>\r
53   <Bitmap id="prefs3" file="prefs3.bmp" alphacolor="#FF0000"/>\r
54 \r
55   <Event id="hide1" event="CTRL_ID_VISIBLE(img1,FALSE)"/>\r
56   <Event id="hide2" event="CTRL_ID_VISIBLE(img2,FALSE)"/>\r
57   <Event id="hide3" event="CTRL_ID_VISIBLE(img3,FALSE)"/>\r
58   <Event id="hide4" event="CTRL_ID_VISIBLE(img4,FALSE)"/>\r
59   <Event id="hide5" event="CTRL_ID_VISIBLE(img5,FALSE)"/>\r
60   <Event id="hide6" event="CTRL_ID_VISIBLE(img6,FALSE)"/>\r
61   <Event id="hideQ" event="CTRL_ID_VISIBLE(imgQ,FALSE)"/>\r
62 \r
63   <Event id="show1" event="CTRL_ID_VISIBLE(img1,TRUE)"/>\r
64   <Event id="show2" event="CTRL_ID_VISIBLE(img2,TRUE)"/>\r
65   <Event id="show3" event="CTRL_ID_VISIBLE(img3,TRUE)"/>\r
66   <Event id="show4" event="CTRL_ID_VISIBLE(img4,TRUE)"/>\r
67   <Event id="show5" event="CTRL_ID_VISIBLE(img5,TRUE)"/>\r
68   <Event id="show6" event="CTRL_ID_VISIBLE(img6,TRUE)"/>\r
69   <Event id="showQ" event="CTRL_ID_VISIBLE(imgQ,TRUE)"/>\r
70   <Event id="showP" event="WINDOW_OPEN(PlaylistWindow)"/>\r
71   <Event id="hideP" event="WINDOW_CLOSE(PlaylistWindow)"/>\r
72 \r
73   <Event id="hideOpen" event="CTRL_ID_VISIBLE(Open,FALSE)"/>\r
74   <Event id="hideAdd"  event="CTRL_ID_VISIBLE(Add,FALSE)"/>\r
75   <Event id="hideDel"  event="CTRL_ID_VISIBLE(Del,FALSE)"/>\r
76   <Event id="hidePrefs"  event="CTRL_ID_VISIBLE(Prefs,FALSE)"/>\r
77 \r
78   <Event id="showOpen" event="CTRL_ID_VISIBLE(Open,TRUE)"/>\r
79   <Event id="showAdd"  event="CTRL_ID_VISIBLE(Add,TRUE)"/>\r
80   <Event id="showDel"  event="CTRL_ID_VISIBLE(Del,TRUE)"/>\r
81   <Event id="showPrefs"  event="CTRL_ID_VISIBLE(Prefs,TRUE)"/>\r
82 \r
83   <Event id="MoveWindow" event="WINDOW_MOVE(Window)"/>\r
84   <Event id="MovePlaylist" event="WINDOW_MOVE(PlaylistWindow)"/>\r
85 \r
86   <Event id="Del" event="PLAYLIST_ID_DEL(playlist)"/>\r
87 \r
88   <Font id="fnt" font="arial" size="8" weight="600" color="#000000"/>\r
89   <Font id="vlc1" font="arial" size="8" weight="600" color="#000000"/>\r
90   <Font id="vlc2" font="arial" size="8" weight="600" color="#C0C0C0"/>\r
91 \r
92   <Font id="playlist1" font="arial" size="8" color="#000000" weight="200"/>\r
93   <Font id="playlist2" font="arial" size="8" color="#FF0000" weight="200"/>\r
94 \r
95   <Window id="Window" x="200" y="100" alpha="255" fadetime="500" movealpha="192">\r
96     <ControlGroup x="0" y="0">\r
97       <Anchor x="0" y="105" priority="100"/>\r
98       <ImageControl x="0" y="0" image="body" onclick="MoveWindow"/>\r
99       <TextControl font="vlc2" x="24" y="6" width="150" text="VLC Media Player Skin"/>\r
100       <TextControl font="vlc1" x="23" y="5" width="150" text="VLC Media Player Skin"/>\r
101 \r
102       <ControlGroup x="14" y="73">\r
103         <ImageControl id="img1" x="0"   y="0" image="prev4"  visible="false"/>\r
104         <ImageControl id="img2" x="26"  y="0" image="stop4"  visible="false"/>\r
105         <ImageControl id="img3" x="52"  y="0" image="play4"  visible="false"/>\r
106         <ImageControl id="img4" x="78"  y="0" image="pause4" visible="false"/>\r
107         <ImageControl id="img5" x="104" y="0" image="next4"  visible="false"/>\r
108         <ImageControl id="img6" x="130" y="0" image="playlist3" visible="false"/>\r
109         <ButtonControl x="3"   y="3" up="prev1"  down="prev2"  disabled="prev3"  onclick="prev"  onmouseover="show1" onmouseout="hide1" tooltiptext="Previous file"/>\r
110         <ButtonControl x="29"  y="3" up="stop1"  down="stop2"  disabled="stop3"  onclick="stop"  onmouseover="show2" onmouseout="hide2" tooltiptext="Stop"/>\r
111         <ButtonControl x="55"  y="3" up="play1"  down="play2"  disabled="play3"  onclick="play"  onmouseover="show3" onmouseout="hide3" tooltiptext="Play"/>\r
112         <ButtonControl x="81"  y="3" up="pause1" down="pause2" disabled="pause3" onclick="pause" onmouseover="show4" onmouseout="hide4" tooltiptext="Pause"/>\r
113         <ButtonControl x="107" y="3" up="next1"  down="next2"  disabled="next3"  onclick="next"  onmouseover="show5" onmouseout="hide5" tooltiptext="Next file"/>\r
114         <CheckBoxControl x="133" y="3" img1="playlist1" img2="playlist2" onclick1="showP" onclick2="hideP" onmouseover1="show6" onmouseout1="hide6" tooltiptext1="Show playlist" tooltiptext2="Hide playlist"/>\r
115       </ControlGroup>\r
116       <ControlGroup x="4" y="4">\r
117         <ImageControl id="imgQ" x="0" y="0" image="quit3" visible="false"/>\r
118         <ButtonControl x="1" y="1" up="quit1" down="quit2" onclick="quit" onmouseover="showQ" onmouseout="hideQ" tooltiptext="Quit"/>\r
119       </ControlGroup>\r
120 \r
121       <ControlGroup x="183" y="12">\r
122         <SliderControl up="slider1" down="slider2" abs="0,0" ord="68,0" tooltiptext="Time"/>\r
123         <SliderControl x="17" type="volume" up="slider1" down="slider2" abs="0,0" ord="68,0" tooltiptext="Sound"/>\r
124       </ControlGroup>\r
125 \r
126       <ControlGroup x="18" y="24">\r
127         <TextControl font="fnt" align="left" x="0" y="0" width="148" text=" " display="file_name"/>\r
128         <TextControl font="fnt" align="right" x="71"  y="22" width="69" text=" " display="time;left_time"/>\r
129         <TextControl font="fnt" align="right" x="148" y="22" width="69" text=" " display="total_time"/>\r
130       </ControlGroup>\r
131 \r
132     </ControlGroup>\r
133   </Window>\r
134 \r
135   <Window id="PlaylistWindow" x="200" y="205" alpha="255" fadetime="500" movealpha="192">\r
136     <ControlGroup x="0" y="0">\r
137       <Anchor x="0" y="0" priority="50"/>\r
138       <ImageControl x="0" y="0" image="playlist_body" onclick="MovePlaylist"/>\r
139       <ControlGroup x="14" y="4">\r
140         <ImageControl id="Open" x="0"  y="0" image="open3" visible="false"/>\r
141         <ImageControl id="Add"  x="26" y="0" image="add3"  visible="false"/>\r
142         <ImageControl id="Del"  x="52" y="0" image="del3"  visible="false"/>\r
143         <ImageControl id="Prefs"  x="78" y="0" image="prefs3"  visible="false"/>\r
144         <ButtonControl x="3"   y="3" up="open1" down="open2" onclick="open" onmouseover="showOpen" onmouseout="hideOpen" tooltiptext="Open a file"/>\r
145         <ButtonControl x="29"  y="3" up="add1"  down="add2"  onclick="add_file" onmouseover="showAdd"  onmouseout="hideAdd"  tooltiptext="Add files"/>\r
146         <ButtonControl x="55"  y="3" up="del1"  down="del2"  onclick="Del" onmouseover="showDel"  onmouseout="hideDel"  tooltiptext="Remove items"/>\r
147         <ButtonControl x="81"  y="3" up="prefs1"  down="prefs2"  onclick="show_prefs" onmouseover="showPrefs"  onmouseout="hidePrefs"  tooltiptext="Show preferences"/>\r
148       </ControlGroup>\r
149       <PlayListControl id="playlist" width="180" selcolor="#C0D0E0" font="playlist1" playfont="playlist2" abs="9,9" ord="35,115">\r
150         <SliderControl x="201" up="slider1" down="slider2" abs="0,0" ord="36,149"/>\r
151       </PlayListControl>\r
152 \r
153     </ControlGroup>\r
154   </Window>\r
155 \r
156 </Theme>\r
157 \r