2006-12-29, 01:04 AM
Like the title says, I wish for a font style that will automatically shadow the text. If DrawTextWithOutline can be done, I'm hoping a shadow can be also.
Yes..., I know the work around by displaying it twice with the first slightly offset to make it appear to have a shadow (i've used that a ton in my past skins), but for alot of text, this cannot be done because some elements don't explicitly call text styles (Timeperiods, SelectedProgrammeTitle, SelectedProgrammeDesc, etc).
Maybe something that can be defined in baseskin.xml like:
[DrawTextWithShadow Name="shadow1" ForegroundColor="White" BackgroundColor="Black" Offset="1,1"]
- Name can be referenced to text in other skin files by using "textStyle="
- Foreground/Background colors are self explanatory
- Offset is shadow offset (in pixels). 1,1 would be a offset down and to the right. Negative values could be used to shift shadow up and left.
Yes..., I know the work around by displaying it twice with the first slightly offset to make it appear to have a shadow (i've used that a ton in my past skins), but for alot of text, this cannot be done because some elements don't explicitly call text styles (Timeperiods, SelectedProgrammeTitle, SelectedProgrammeDesc, etc).
Maybe something that can be defined in baseskin.xml like:
[DrawTextWithShadow Name="shadow1" ForegroundColor="White" BackgroundColor="Black" Offset="1,1"]
- Name can be referenced to text in other skin files by using "textStyle="
- Foreground/Background colors are self explanatory
- Offset is shadow offset (in pixels). 1,1 would be a offset down and to the right. Negative values could be used to shift shadow up and left.
MY PVR:
OS: Windows 7 Home Premium
Hardware: Silverstone LC13-E, Athlon II 250, Asrock 785GMH, 2GB Corsair RAM, 250GB WD HDD, 1TB WD Black, Hauppauge PVR-150 MCE tuner (s-video to Dish STB), HDHomeRun (ATSC x2), MCE2004 for Rx, USB-UIRT for Tx, Sony VL600 Remote, 36" Sony Wega HD CRT on DVI to embedded ATI HD4200.
TV Service: Dish Network and Antenna Pics 'n Details
OS: Windows 7 Home Premium
Hardware: Silverstone LC13-E, Athlon II 250, Asrock 785GMH, 2GB Corsair RAM, 250GB WD HDD, 1TB WD Black, Hauppauge PVR-150 MCE tuner (s-video to Dish STB), HDHomeRun (ATSC x2), MCE2004 for Rx, USB-UIRT for Tx, Sony VL600 Remote, 36" Sony Wega HD CRT on DVI to embedded ATI HD4200.
TV Service: Dish Network and Antenna Pics 'n Details