2005-12-24, 07:38 AM
it would make life easier if textstyles had a "border" attribute, thus allowing you to draw a border around any string that uses compositeimages, currently im doing this whereever possible
ie drawing the image +-2 pixels in every direction, which does the border effect but doesnt work every where (time in the tv guide for example).
and moving things is a pain (have to change 8 lines...)
Code:
<DrawText text="@Song" loc="-2,20" size="360,24" textStyle="MusicSong2" align="Right"/>
<DrawText text="@Song" loc="2,20" size="360,24" textStyle="MusicSong2" align="Right"/>
<DrawText text="@Song" loc="0,22" size="360,24" textStyle="MusicSong2" align="Right"/>
<DrawText text="@Song" loc="0,24" size="360,24" textStyle="MusicSong2" align="Right"/>
<DrawText text="@Song" loc="-2,20" size="360,24" textStyle="MusicSong2" align="Right"/>
<DrawText text="@Song" loc="-2,24" size="360,24" textStyle="MusicSong2" align="Right"/>
<DrawText text="@Song" loc="2,20" size="360,24" textStyle="MusicSong2" align="Right"/>
<DrawText text="@Song" loc="2,24" size="360,24" textStyle="MusicSong2" align="Right"/>
<DrawText text="@Song" loc="0,22" size="360,24" textStyle="MusicSong" align="Right"/>
and moving things is a pain (have to change 8 lines...)