]> git.sesse.net Git - vlc/blob - modules/gui/skins2/theme/theme.xml
* parser/builder.cpp, parser/skin_parser.cpp: unique IDs are generated
[vlc] / modules / gui / skins2 / theme / theme.xml
1 <!DOCTYPE Theme SYSTEM "skin.dtd">\r
2 \r
3 <Theme version="2.0" magnet="20" alpha="255" movealpha="192" fadetime="500">\r
4   <ThemeInfo name="VLC OSX Interface" author="BigBen"\r
5              email="bigben@videolan.org" webpage="http://www.videolan.org"/>\r
6 \r
7   <Bitmap id="mainbody" file="body.png" alphacolor="#FF0000"/>\r
8 \r
9   <Bitmap id="add_item" file="add_item.png" alphacolor="#FF0000"/>\r
10   <Bitmap id="add_item_onclick" file="add_item_onclick.png" alphacolor="#FF0000"/>\r
11   <Bitmap id="close" file="close.png" alphacolor="#00FF00"/>\r
12   <Bitmap id="close_onclick" file="close_onclick.png" alphacolor="#00FF00"/>\r
13   <Bitmap id="close_mouseover" file="close_mouseover.png" alphacolor="#00FF00"/>\r
14   <Bitmap id="delete_item" file="delete_item.png" alphacolor="#FF0000"/>\r
15   <Bitmap id="delete_item_onclick" file="delete_item_onclick.png" alphacolor="#FF0000"/>\r
16   <Bitmap id="fast" file="fast.png" alphacolor="#FF0000"/>\r
17   <Bitmap id="fast_click" file="fast_onclick.png" alphacolor="#FF0000"/>\r
18   <Bitmap id="fast_disabled" file="fast_disabled.png" alphacolor="#FF0000"/>\r
19   <Bitmap id="rev" file="rev.png" alphacolor="#FF0000"/>\r
20   <Bitmap id="rev_click" file="rev_onclick.png" alphacolor="#FF0000"/>\r
21   <Bitmap id="next" file="next.png" alphacolor="#FF0000"/>\r
22   <Bitmap id="next_disabled" file="next_disabled.png" alphacolor="#FF0000"/>\r
23   <Bitmap id="next_onclick" file="next_onclick.png" alphacolor="#FF0000"/>\r
24   <Bitmap id="pause" file="pause.png" alphacolor="#FF0000"/>\r
25   <Bitmap id="pause_onclick" file="pause_onclick.png" alphacolor="#FF0000"/>\r
26   <Bitmap id="play" file="play.png" alphacolor="#FF0000"/>\r
27   <Bitmap id="play_onclick" file="play_onclick.png" alphacolor="#FF0000"/>\r
28   <Bitmap id="disabled" file="disabled.png" alphacolor="#FF0000"/>\r
29   <Bitmap id="playlist1" file="playlist_body1.png" alphacolor="#FF0000"/>\r
30   <Bitmap id="playlist2" file="playlist_body2.png" alphacolor="#FF0000"/>\r
31   <Bitmap id="playlist3" file="playlist_body3.png" alphacolor="#FF0000"/>\r
32   <Bitmap id="playlist4" file="playlist_body4.png" alphacolor="#FF0000"/>\r
33   <Bitmap id="playlist6" file="playlist_body6.png" alphacolor="#FF0000"/>\r
34   <Bitmap id="playlist7" file="playlist_body7.png" alphacolor="#FF0000"/>\r
35   <Bitmap id="playlist8" file="playlist_body8.png" alphacolor="#FF0000"/>\r
36   <Bitmap id="playlist9" file="playlist_body9.png" alphacolor="#FF0000"/>\r
37   <Bitmap id="resize" file="resize.png" alphacolor="#FF0000"/>\r
38   <Bitmap id="playlist_button" file="playlist_button.png" alphacolor="#FF0000"/>\r
39   <Bitmap id="playlist_button_onclick" file="playlist_button_onclick.png" alphacolor="#FF0000"/>\r
40   <Bitmap id="playlist_button2" file="playlist_button2.png" alphacolor="#FF0000"/>\r
41   <Bitmap id="playlist_button_onclick2" file="playlist_button_onclick2.png" alphacolor="#FF0000"/>\r
42   <Bitmap id="sort_button" file="sort.png" alphacolor="#FF0000"/>\r
43   <Bitmap id="sort_button_onclick" file="sort_onclick.png" alphacolor="#FF0000"/>\r
44   <Bitmap id="preferences" file="preferences.png" alphacolor="#FF0000"/>\r
45   <Bitmap id="preferences_onclick" file="preferences_onclick.png" alphacolor="#FF0000"/>\r
46   <Bitmap id="previous" file="previous.png" alphacolor="#FF0000"/>\r
47   <Bitmap id="previous_disabled" file="previous_disabled.png" alphacolor="#FF0000"/>\r
48   <Bitmap id="previous_onclick" file="previous_onclick.png" alphacolor="#FF0000"/>\r
49   <Bitmap id="reduce" file="reduce.png" alphacolor="#FF0000"/>\r
50   <Bitmap id="reduce_onclick" file="reduce_onclick.png" alphacolor="#FF0000"/>\r
51   <Bitmap id="reduce_disabled" file="reduce_disabled.png" alphacolor="#FF0000"/>\r
52   <Bitmap id="slider" file="slider.png" alphacolor="#FF0000"/>\r
53   <Bitmap id="slider_onclick" file="slider_onclick.png" alphacolor="#FF0000"/>\r
54   <Bitmap id="slider_playlist" file="slider_playlist.png" alphacolor="#FF0000"/>\r
55   <Bitmap id="slider_volume" file="slider_volume.png" alphacolor="#FF0000"/>\r
56   <Bitmap id="slider_volume_onclick" file="slider_volume_onclick.png" alphacolor="#FF0000"/>\r
57   <Bitmap id="slow" file="slow.png" alphacolor="#FF0000"/>\r
58   <Bitmap id="slow_disabled" file="slow_disabled.png" alphacolor="#FF0000"/>\r
59   <Bitmap id="slow_onclick" file="slow_onclick.png" alphacolor="#FF0000"/>\r
60   <Bitmap id="stop" file="stop.png" alphacolor="#FF0000"/>\r
61   <Bitmap id="stop_disabled" file="stop_disabled.png" alphacolor="#FF0000"/>\r
62   <Bitmap id="stop_onclick" file="stop_onclick.png" alphacolor="#FF0000"/>\r
63   <Bitmap id="volume_radial" file="volume.png" alphacolor="#FF0000"/>\r
64   <Font id="default_font" font="FreeSansBold.ttf" size="15"/> \r
65   <Font id="playlist_font" font="FreeSansBold.ttf" size="12"/> \r
66 \r
67   <Window x="230" y="250" dragdrop="true">\r
68 \r
69     <Layout id="testlayout" width="424" height="152">\r
70     <Group x="0" y="0">\r
71       <Image x="0" y="0" image="mainbody" onclick="move"/>\r
72       <Button x="8" y="5" up="close" down="close_onclick" over="close_mouseover" action="vlc.quit()" tooltiptext="Quit VLC"/>\r
73     </Group>\r
74    </Layout>\r
75 \r
76    <Layout id="mainlayout" width="424" height="152">\r
77     <Group x="0" y="0">\r
78       <Anchor x="7" y="151" priority="100"/>\r
79       <Image x="0" y="0" image="mainbody" onclick="move"/>\r
80       <Text font="default_font" width="70" x="287" y="79" text="$T" color="#000000"/>\r
81       <Button x="42" y="42" up="preferences" down="preferences_onclick" over="preferences" action="dialogs.prefs()" tooltiptext="Preferences"/>\r
82       <Button x="17" y="64" up="stop" down="stop_onclick" over="stop" action="vlc.stop()" tooltiptext="Stop"/>\r
83       <CheckBox x="42" y="87" up1="playlist_button" down1="playlist_button_onclick" up2="playlist_button2" down2="playlist_button_onclick2" state="playlist_window.isVisible" action1="playlist_window.show()" action2="playlist_window.hide()" tooltiptext1="Show Playlist" tooltiptext2="Hide Playlist"/>\r
84       <CheckBox x="83" y="44" up1="play" up2="pause" down1="play_onclick" down2="pause_onclick" state="vlc.isPlaying" action1="vlc.play()" action2="vlc.pause()" tooltiptext1="Play" tooltiptext2="Pause"/>\r
85       <Button x="159" y="37" up="rev" down="rev_click" over="rev" action="vlc.slower()" tooltiptext="Slower"/>\r
86       <Button x="159" y="89" up="fast" down="fast_click" over="fast" action="vlc.faster()" tooltiptext="Faster"/>\r
87       <Button x="196" y="46" up="previous" down="previous_onclick" over="previous" action="playlist.previous()" tooltiptext="Previous Item"/>\r
88       <Button x="196" y="79" up="next" down="next_onclick" over="next" action="playlist.next()" tooltiptext="Next Item"/>\r
89       <Button x="8" y="5" up="close" down="close_onclick" over="close_mouseover" action="vlc.quit()" tooltiptext="Quit VLC" help="quit"/>\r
90       <Image x="29" y="5" image="reduce_disabled"/>\r
91       <Slider id="time_slider" x="24" y="130" up="slider" down="slider_onclick" points="(0,0),(366,0)" value="time" visible="vlc.isSeekable and not vlc.isStopped" tooltiptext="Time: $T"/>\r
92       <Slider id="volume_slider" x="391" y="53" up="slider_volume" down="slider_volume_onclick" points="(0,47),(0,0)" value="volume" tooltiptext="Volume: $V%"/>\r
93     </Group>\r
94    </Layout>\r
95   </Window>\r
96   <Window id="playlist_window" x="237" y="401" visible="false">\r
97    <Layout id="playlistLayout" width="410" height="250" minwidth="200" minheight="150" maxwidth="1000" maxheight="800">\r
98     <Group x="0" y="0">\r
99       <Anchor x="0" y="0" priority="50"/>\r
100       <Image image="playlist1" x="0" y="0" lefttop="lefttop" rightbottom="lefttop" onclick="move"/>\r
101       <Image image="playlist2" x="17" y="0" lefttop="lefttop" rightbottom="righttop" onclick="move"/>\r
102       <Image image="playlist3" x="350" y="0" lefttop="righttop" rightbottom="righttop" onclick="move"/>\r
103       <Image image="playlist4" x="0" y="70" lefttop="lefttop" rightbottom="leftbottom" onclick="move"/>\r
104       <Image image="playlist6" x="350" y="70" lefttop="righttop" rightbottom="rightbottom" onclick="move"/>\r
105       <Image image="playlist7" x="0" y="200" lefttop="leftbottom" rightbottom="leftbottom" onclick="move"/>\r
106       <Image image="playlist8" x="17" y="200" lefttop="leftbottom" rightbottom="rightbottom" onclick="move"/>\r
107       <Image image="playlist9" x="350" y="200" lefttop="rightbottom" rightbottom="rightbottom" onclick="move"/> \r
108       <Image image="resize" x="392" y="232" lefttop="rightbottom" rightbottom="rightbottom" onclick="resize"/>\r
109 \r
110       <Button x="374" y="12" lefttop="righttop" rightbottom="righttop" up="add_item" down="add_item_onclick" over="add_item" action="playlist.add()" tooltiptext="Add item"/>\r
111       <Button x="374" y="40" up="delete_item" lefttop="righttop" rightbottom="righttop" down="delete_item_onclick" over="delete_item" action="playlist.del()" tooltiptext="Del item"/>\r
112       <Button x="374" y="68" up="sort_button" lefttop="righttop" rightbottom="righttop" down="sort_button_onclick" over="sort_button" action="playlist.sort()" tooltiptext="Sort the playlist"/>\r
113       <Playlist id="playlist" x="17" y="15" width="333" height="204" lefttop="lefttop" rightbottom="rightbottom" font="playlist_font" fgcolor="#000000" playcolor="#ff0000" bgcolor1="#ffffff" bgcolor2="#e0e0ff" selcolor="#4e8bc7">\r
114         <Slider id="playlist_slider" x="358" y="25" lefttop="righttop" rightbottom="rightbottom" up="slider_volume" down="slider_volume_onclick" points="(0,185),(0,0)"/>\r
115       </Playlist>\r
116     </Group>\r
117    </Layout>\r
118   </Window>\r
119 </Theme>\r
120 \r