Skip to content

Commit

Permalink
Created example "blue" theme with other background and OSD color
Browse files Browse the repository at this point in the history
  • Loading branch information
morpheusxx committed Dec 23, 2012
1 parent e01562d commit 5a1973d
Show file tree
Hide file tree
Showing 10 changed files with 32 additions and 4 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<ResourceDictionary
xmlns="www.team-mediaportal.com/2008/mpf/directx"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
>

<ResourceWrapper x:Key="OSDPlayerControlBackgroundColor1" Resource="#D7515772"/>
<ResourceWrapper x:Key="OSDPlayerControlBackgroundColor2" Resource="#FF0B1745"/>

</ResourceDictionary>
10 changes: 10 additions & 0 deletions MediaPortal/Incubator/Titanium/Skin/Titanium/themes/blue/theme.xml
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Theme Name="blue" Version="1.0">
<ShortDescription>Titanium blue theme</ShortDescription>
<Preview>images\preview.jpg</Preview>
<Author>Team MediaPortal</Author>
<ThemeVersion>1.0</ThemeVersion>
<SkinEngine>1.0</SkinEngine>

<MinColorDepth>16</MinColorDepth>
</Theme>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Expand Up @@ -28,7 +28,7 @@
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Image VerticalAlignment="Stretch" Stretch="Uniform" Grid.Row="0" Grid.Column="0" Source="Reflex.jpg"/>
<Image VerticalAlignment="Stretch" Stretch="Uniform" Grid.Row="0" Grid.Column="0" Source="background.png"/>
</Grid>
</VisualBrush.Visual>
</VisualBrush>
Expand Down
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Theme Name="default" Version="1.0">
<ShortDescription>Titanium default theme</ShortDescription>
<Preview>images\preview.png</Preview>
<Preview>images\preview.jpg</Preview>
<Author>Team MediaPortal</Author>
<ThemeVersion>1.0</ThemeVersion>
<SkinEngine>1.0</SkinEngine>
Expand Down
12 changes: 10 additions & 2 deletions MediaPortal/Incubator/Titanium/Titanium.csproj
Expand Up @@ -195,6 +195,9 @@
<Content Include="Skin\Titanium\screens\FSCWindowButtons.inc" />
<Content Include="Skin\Titanium\screens\ProgramInfoSlim.inc" />
<Content Include="Skin\Titanium\skin.xml" />
<Content Include="Skin\Titanium\themes\blue\images\background.png" />
<Content Include="Skin\Titanium\themes\blue\images\preview.jpg" />
<Content Include="Skin\Titanium\themes\blue\theme.xml" />
<Content Include="Skin\Titanium\themes\default\images\Controls\Bar.png" />
<Content Include="Skin\Titanium\themes\default\images\Controls\GaussianNoise.jpg" />
<Content Include="Skin\Titanium\themes\default\images\Controls\Glass.png" />
Expand All @@ -212,15 +215,15 @@
<Content Include="Skin\Titanium\themes\default\images\NavigationSmall.png" />
<Content Include="Skin\Titanium\themes\default\images\PictureLarge.png" />
<Content Include="Skin\Titanium\themes\default\images\PictureSmall.png" />
<Content Include="Skin\Titanium\themes\default\images\preview.png" />
<None Include="Skin\Titanium\fonts\TitanBold.desc" />
<None Include="Skin\Titanium\fonts\Titan.desc" />
<None Include="Skin\Titanium\fonts\TITAN.TTF" />
<None Include="Skin\Titanium\fonts\TITANLIGHT.TTF" />
<None Include="Skin\Titanium\fonts\TITANMEDIUM.TTF" />
<None Include="Skin\Titanium\fonts\TITANSMALL.TTF" />
<None Include="Skin\Titanium\themes\default\styles\OtherControlsOverrides.xaml" />
<Content Include="Skin\Titanium\themes\default\images\Reflex.jpg" />
<Content Include="Skin\Titanium\themes\default\images\background.png" />
<Content Include="Skin\Titanium\themes\default\images\preview.jpg" />
<Content Include="Skin\Titanium\themes\default\theme.xml" />
</ItemGroup>
<ItemGroup>
Expand Down Expand Up @@ -402,6 +405,11 @@
</Content>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<Content Include="Skin\Titanium\themes\blue\styles\Colors.xaml">
<SubType>Designer</SubType>
</Content>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
Expand Down

0 comments on commit 5a1973d

Please sign in to comment.