2005-03-17, 06:19 AM
sub would it be possible to change these things in the tv guide/live tv guide
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><SpecialElement name="TimePeriods" loc="66,338" />
<SpecialElement name="SelectedProgrammeTitle" loc="120,1385" size="540,20"/>
<SpecialElement name="SelectedProgrammeDesc" loc="120,1403" size="540,60"/>
<SpecialElement name="CurrentTime" loc="550,19"/>
[/QUOTE]
to
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
<CompositeImage name="Background" size="720,480">
<DrawImage filename="miniguide.png" loc="0,336" size="720,132"/>
<DrawText text="@TimePeriods" loc="66,338" size="450,26" textStyle="TimesPeriods" align="Left"/>
<DrawText text="@SelectedProgrammeTitle" loc="120,1385" size="450,26" textStyle="SelectedProgrammeTitle" align="Left"/>
<DrawText text="@SelectedProgrammeTitle" loc="120,1403" size="450,26" textStyle="SelectedProgrammeDesc" align="Left"/>
<DrawText text="@CurrentTime" loc="550,19" size="450,26" textStyle="CurrentTime" align="Left"/>
</CompositeImage>[/QUOTE]
just make things a little bit more flexible.
also is there anyway to adjust the vertical alignment in the draw text, ie valign="centre" (centre, doesnt seem to work either).
and is there anyway to pass an image to <DrawImage filename="@Image" ... /> that doesnt stretch the image to fill the defined size, but rather maintains the aspect ratio of the passed image and does a best fix. eg <DrawImage filename="@Image" mode="BestFit/Stretch/Actual".../>.
reven.
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE"><SpecialElement name="TimePeriods" loc="66,338" />
<SpecialElement name="SelectedProgrammeTitle" loc="120,1385" size="540,20"/>
<SpecialElement name="SelectedProgrammeDesc" loc="120,1403" size="540,60"/>
<SpecialElement name="CurrentTime" loc="550,19"/>
[/QUOTE]
to
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">
<CompositeImage name="Background" size="720,480">
<DrawImage filename="miniguide.png" loc="0,336" size="720,132"/>
<DrawText text="@TimePeriods" loc="66,338" size="450,26" textStyle="TimesPeriods" align="Left"/>
<DrawText text="@SelectedProgrammeTitle" loc="120,1385" size="450,26" textStyle="SelectedProgrammeTitle" align="Left"/>
<DrawText text="@SelectedProgrammeTitle" loc="120,1403" size="450,26" textStyle="SelectedProgrammeDesc" align="Left"/>
<DrawText text="@CurrentTime" loc="550,19" size="450,26" textStyle="CurrentTime" align="Left"/>
</CompositeImage>[/QUOTE]
just make things a little bit more flexible.
also is there anyway to adjust the vertical alignment in the draw text, ie valign="centre" (centre, doesnt seem to work either).
and is there anyway to pass an image to <DrawImage filename="@Image" ... /> that doesnt stretch the image to fill the defined size, but rather maintains the aspect ratio of the passed image and does a best fix. eg <DrawImage filename="@Image" mode="BestFit/Stretch/Actual".../>.
reven.