skins2 error: Bitmap too large !
Posted: 27 Sep 2006 05:31
Hi, I've made a simple skin - using the example VLC OSX skin by Bigben as a guide. Everything seems to work function wise, however I get this error every few seconds in the messages window :-
skins2 error: Bitmap too large !
Here is my theme.xml
<!DOCTYPE Theme PUBLIC "-//VideoLAN//DTD VLC Skins V2.0//EN" "skin.dtd">
<Theme version="2.0" magnet="20" alpha="255" movealpha="192">
<ThemeInfo name="test" author="mistakes"
email="mistake@test.test" webpage="http://www.test.com"/>
<Bitmap id="mainbody" file="body.png" alphacolor="#FF0000"/>
<Bitmap id="close" file="close.png" alphacolor="#00FF00"/>
<Bitmap id="close_onclick" file="close_onclick.png" alphacolor="#00FF00"/>
<Bitmap id="close_mouseover" file="close_mouseover.png" alphacolor="#00FF00"/>
<Bitmap id="fast" file="fast.png" alphacolor="#FF0000"/>
<Bitmap id="fast_click" file="fast_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="fast_disabled" file="fast_disabled.png" alphacolor="#FF0000"/>
<Bitmap id="rev" file="rev.png" alphacolor="#FF0000"/>
<Bitmap id="rev_click" file="rev_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="pause" file="pause.png" alphacolor="#FF0000"/>
<Bitmap id="pause_onclick" file="pause_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="play" file="play.png" alphacolor="#FF0000"/>
<Bitmap id="play_onclick" file="play_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="snappy" file="snap.png" alphacolor="#FF0000"/>
<Bitmap id="snappy_onclick" file="snap_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="reduce" file="reduce.png" alphacolor="#FF0000"/>
<Bitmap id="reduce_mouseover" file="reduce_mouseover.png" alphacolor="#FF0000"/>
<Bitmap id="reduce_onclick" file="reduce_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="reduce_disabled" file="reduce_disabled.png" alphacolor="#FF0000"/>
<Bitmap id="slider" file="slider.png" alphacolor="#FF0000"/>
<Bitmap id="slider_onclick" file="slider_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="slider_playlist" file="slider_playlist.png" alphacolor="#FF0000"/>
<Bitmap id="slider_volume" file="slider_volume.png" alphacolor="#FF0000"/>
<Bitmap id="slider_volume_onclick" file="slider_volume_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="slow" file="rev.png" alphacolor="#FF0000"/>
<Bitmap id="slow_disabled" file="slow_disabled.png" alphacolor="#FF0000"/>
<Bitmap id="slow_onclick" file="rev_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="stop" file="stop.png" alphacolor="#FF0000"/>
<Bitmap id="stop_disabled" file="stop_disabled.png" alphacolor="#FF0000"/>
<Bitmap id="stop_onclick" file="stop_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="volume_radial" file="volume.png" alphacolor="#FF0000"/>
<Font id="default_font" file="FreeSansBold.ttf" size="15"/>
<Font id="playlist_font" file="FreeSansBold.ttf" size="12"/>
<Window x="250" y="152" dragdrop="true">
<Layout id="mainlayout" width="250" height="152">
<Group x="0" y="0">
<Anchor x="7" y="151" points="(0,0)" priority="100"/>
<Image x="0" y="0" image="mainbody" action="move"/>
<Text font="default_font" width="70" x="287" y="79" text="$T" color="#000000"/>
<Button x="100" y="44" up="fast" down="fast_click" over="fast" action="vlc.faster()" tooltiptext="Faster"/>
<Button x="163" y="82" up="snappy" down="snappy_onclick" over="snappy" action="vlc.snapshot()" tooltiptext="Snapshot"/>
<Button x="100" y="82" up="slow" down="slow_onclick" over="slow" action="vlc.slower()" tooltiptext="Slower"/>
<Checkbox x="17" 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"/>
<Button x="8" y="5" up="close" down="close_onclick" over="close_mouseover" action="vlc.quit()" tooltiptext="Quit VC" help="quit"/>
<Button x="29" y="5" up="reduce" down="reduce_onclick" over="reduce_mouseover" action="vlc.minimize()" tooltiptext="Minimize VC" help="quit"/>
<Slider id="time_slider" x="24" y="130" up="slider" down="slider_onclick" points="(0,0),(204,0)" value="time" visible="vlc.isSeekable and not vlc.isStopped" tooltiptext="Time: $T"/>
<Slider id="volume_slider" x="228" y="29" up="slider_volume" down="slider_volume_onclick" points="(0,77),(0,0)" value="volume" tooltiptext="Volume: $V%"/>
</Group>
</Layout>
</Window>
</Theme>
skins2 error: Bitmap too large !
Here is my theme.xml
<!DOCTYPE Theme PUBLIC "-//VideoLAN//DTD VLC Skins V2.0//EN" "skin.dtd">
<Theme version="2.0" magnet="20" alpha="255" movealpha="192">
<ThemeInfo name="test" author="mistakes"
email="mistake@test.test" webpage="http://www.test.com"/>
<Bitmap id="mainbody" file="body.png" alphacolor="#FF0000"/>
<Bitmap id="close" file="close.png" alphacolor="#00FF00"/>
<Bitmap id="close_onclick" file="close_onclick.png" alphacolor="#00FF00"/>
<Bitmap id="close_mouseover" file="close_mouseover.png" alphacolor="#00FF00"/>
<Bitmap id="fast" file="fast.png" alphacolor="#FF0000"/>
<Bitmap id="fast_click" file="fast_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="fast_disabled" file="fast_disabled.png" alphacolor="#FF0000"/>
<Bitmap id="rev" file="rev.png" alphacolor="#FF0000"/>
<Bitmap id="rev_click" file="rev_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="pause" file="pause.png" alphacolor="#FF0000"/>
<Bitmap id="pause_onclick" file="pause_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="play" file="play.png" alphacolor="#FF0000"/>
<Bitmap id="play_onclick" file="play_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="snappy" file="snap.png" alphacolor="#FF0000"/>
<Bitmap id="snappy_onclick" file="snap_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="reduce" file="reduce.png" alphacolor="#FF0000"/>
<Bitmap id="reduce_mouseover" file="reduce_mouseover.png" alphacolor="#FF0000"/>
<Bitmap id="reduce_onclick" file="reduce_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="reduce_disabled" file="reduce_disabled.png" alphacolor="#FF0000"/>
<Bitmap id="slider" file="slider.png" alphacolor="#FF0000"/>
<Bitmap id="slider_onclick" file="slider_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="slider_playlist" file="slider_playlist.png" alphacolor="#FF0000"/>
<Bitmap id="slider_volume" file="slider_volume.png" alphacolor="#FF0000"/>
<Bitmap id="slider_volume_onclick" file="slider_volume_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="slow" file="rev.png" alphacolor="#FF0000"/>
<Bitmap id="slow_disabled" file="slow_disabled.png" alphacolor="#FF0000"/>
<Bitmap id="slow_onclick" file="rev_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="stop" file="stop.png" alphacolor="#FF0000"/>
<Bitmap id="stop_disabled" file="stop_disabled.png" alphacolor="#FF0000"/>
<Bitmap id="stop_onclick" file="stop_onclick.png" alphacolor="#FF0000"/>
<Bitmap id="volume_radial" file="volume.png" alphacolor="#FF0000"/>
<Font id="default_font" file="FreeSansBold.ttf" size="15"/>
<Font id="playlist_font" file="FreeSansBold.ttf" size="12"/>
<Window x="250" y="152" dragdrop="true">
<Layout id="mainlayout" width="250" height="152">
<Group x="0" y="0">
<Anchor x="7" y="151" points="(0,0)" priority="100"/>
<Image x="0" y="0" image="mainbody" action="move"/>
<Text font="default_font" width="70" x="287" y="79" text="$T" color="#000000"/>
<Button x="100" y="44" up="fast" down="fast_click" over="fast" action="vlc.faster()" tooltiptext="Faster"/>
<Button x="163" y="82" up="snappy" down="snappy_onclick" over="snappy" action="vlc.snapshot()" tooltiptext="Snapshot"/>
<Button x="100" y="82" up="slow" down="slow_onclick" over="slow" action="vlc.slower()" tooltiptext="Slower"/>
<Checkbox x="17" 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"/>
<Button x="8" y="5" up="close" down="close_onclick" over="close_mouseover" action="vlc.quit()" tooltiptext="Quit VC" help="quit"/>
<Button x="29" y="5" up="reduce" down="reduce_onclick" over="reduce_mouseover" action="vlc.minimize()" tooltiptext="Minimize VC" help="quit"/>
<Slider id="time_slider" x="24" y="130" up="slider" down="slider_onclick" points="(0,0),(204,0)" value="time" visible="vlc.isSeekable and not vlc.isStopped" tooltiptext="Time: $T"/>
<Slider id="volume_slider" x="228" y="29" up="slider_volume" down="slider_volume_onclick" points="(0,77),(0,0)" value="volume" tooltiptext="Volume: $V%"/>
</Group>
</Layout>
</Window>
</Theme>