2007-03-07, 07:55 PM
I want to consolidate the OSD skin.xml, so doing things like
but it seems like I cant draw elements using "DrawCompositeImage" is there a way to do this?
also regarding the OSD, what is the point of the "-selected" images, is there some way that they are used?
Code:
<CompositeImage name="ChannelControls" size="70,35">
<DrawImage filename="pbnextchbtn.png" loc="0,0" size="35,35"/>
<Element name="NextChannel" loc="0,0" size="35,35"/>
<DrawImage filename="pbprevchbtn.png" loc="35,0" size="35,35"/>
<Element name="PrevChannel" loc="35,0" size="35,35"/>
</CompositeImage>
<CompositeImage name="PlayControls" size="175,35">
<DrawImage filename="pbsbbtn.png" loc="0,0" size="35,35"/>
<Element name="SkipBack" loc="0,0" size="35,35"/>
<DrawImage filename="pbrwbtn.png" loc="35,0" size="35,35"/>
<Element name="Rewind" loc="35,0" size="35,35"/>
<DrawImage filename="pbpausebtn.png" loc="70,0" size="35,35"/>
<Element name="Pause" loc="70,0" size="35,35"/>
<DrawImage filename="pbffbtn.png" loc="105,0" size="35,35"/>
<Element name="FastForward" loc="105,0" size="35,35"/>
<DrawImage filename="pbsfbtn.png" loc="140,0" size="35,35"/>
<Element name="SkipForward" loc="140,0" size="35,35"/>
</CompositeImage>
<CompositeImage name="TimeshiftControls" size="720,480">
<DrawImage filename="..\_res\osd_controls.png" size="720,20" loc="0,332"/>
<DrawCompositeImage name="ChannelControls" loc="170,336" size="70,35"/>
<DrawCompositeImage name="PlayControls" loc="260,336" size="175,35"/>
<DrawImage filename="pbexitbtn.png" loc="458,334" size="74,35"/>
<Element name="Exit" loc="458,336" size="74,35"/>
</CompositeImage>
but it seems like I cant draw elements using "DrawCompositeImage" is there a way to do this?
also regarding the OSD, what is the point of the "-selected" images, is there some way that they are used?