2006-10-27, 12:18 PM
Hi sub,
this is my try to create my own search skin, but i can't handle some textpositions ... i think they are hardcoded, a'm I right ?
this is my try to create my own search skin, but i can't handle some textpositions ... i think they are hardcoded, a'm I right ?
Code:
<settings>
<Version>2.0</Version>
<!-- named colors -->
<NamedColors>
<NamedColor name="Selection" color="Green"/>
</NamedColors>
<!-- text style -->
<TextStyles>
<TextStyle name="GeneralText" color="LightGray" typeFace="Tahoma" size="13" style="bold"/>
<TextStyle name="GeneralTextSelected" color="Yellow" typeFace="Tahoma" size="13" style="bold"/>
<TextStyle name="ListText" color="LightGray" typeFace="Tahoma" size="13" style="bold"/>
<TextStyle name="ListTextSelected" color="Yellow" typeFace="Tahoma" size="13" style="bold"/>
<TextStyle name="SelectedProgrammeDesc" color="White" typeFace="Arial" size="12" style="bold"/>
<TextStyle name="SelectedProgrammeTitle" color="Yellow" typeFace="Tahoma" size="13" style="bold"/>
<TextStyle name="SelectedProgrammeChannel" color="White" typeFace="Arial" size="13" style="bold"/>
</TextStyles>
<!-- special elements -->
<SpecialElements>
<SpecialElement name="Buttons" loc="10,50" size="120,30" spacing="5"/>
<SpecialElement name="SearchControl" loc="10,105" startChars="ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" columns="10,50,340" columnWidths="28,278,278" verticalSpacing="20" />
<SpecialElement name="SelectedDetails" loc="10,300" showChannelIcons="true"/>
</SpecialElements>
<!-- Composite Images -->
<CompositeImages>
<!-- static background image -->
<CompositeImage name="Background" size="720,480">
<DrawImage filename="..\background.jpg" loc="0,0" size="715,475"/>
<DrawText text="Search Guide" loc="5,12" size="160,120" textStyle="ScreenName" align="Left"/>
<DrawRoundedRect loc="10,105" size="35,180" radius="7" borderWidth="4" borderColor="LightGray" fillColor="Black"/>
<DrawRoundedRect loc="55,105" size="320,180" radius="7" borderWidth="4" borderColor="LightGray" fillColor="Black"/>
<DrawRoundedRect loc="385,105" size="320,180" radius="7" borderWidth="4" borderColor="LightGray" fillColor="Black"/>
<DrawRoundedRect loc="10,300" size="695,160" radius="7" borderWidth="4" borderColor="LightGray" fillColor="Black"/>
<!-- free text box -->
<DrawRoundedRect loc="10,55" size="695,35" radius="7" borderWidth="4" borderColor="LightGray" fillColor="Black"/>
<DrawText text="Search Text:" loc="15,62" size="200,22" textStyle="GeneralText" align="Left"/>
<Element name="SearchText" loc="110,62" size="600,22"/>
<Element name="SearchTextHighlight" loc="105,60" size="615,25"/>
</CompositeImage>
<CompositeImage name="SearchTextSelectedItem" size="480,25">
<DrawRoundedRect loc="0,0" size="475,22" radius="5" borderWidth="0" borderColor="Transparent" fillColor="StandardSelectionBackground"/>
</CompositeImage>
<CompositeImage name="StartCharSelectedItem" size="28,25">
<DrawRoundedRect loc="0,0" size="26,22" radius="5" borderWidth="0" borderColor="Transparent" fillColor="StandardSelectionBackground"/>
</CompositeImage>
<CompositeImage name="TitleSelectedItem" size="270,22">
<DrawRoundedRect loc="0,0" size="270,22" radius="5" borderWidth="0" borderColor="Transparent" fillColor="StandardSelectionBackground"/>
</CompositeImage>
<CompositeImage name="AirDateSelectedItem" loc="10,0" size="270,22">
<DrawRoundedRect loc="0,0" size="270,22" radius="25" borderWidth="0" borderColor="Transparent" fillColor="StandardSelectionBackground"/>
</CompositeImage>
<CompositeImage name="ScheduledAirDateItem" size="270,22">
<DrawRoundedRect loc="0,0" size="270,22" radius="5" borderWidth="0" borderColor="Transparent" fillColor="DarkRed"/>
</CompositeImage>
<CompositeImage name="ScheduledAirDateSelectedItem" size="270,22">
<DrawRoundedRect loc="0,0" size="270,22" radius="5" borderWidth="0" borderColor="Transparent" fillColor="Red"/>
</CompositeImage>
</CompositeImages>
</settings>