<?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"
    DependsOnStyleResources="Colors,Consts"
    >

  <!-- Default brush used to paint the background of a page/window -->
  <ResourceWrapper x:Key="BackgroundBrush">
    <ImageBrush ImageSource="Background.png" />
  </ResourceWrapper>

  <!-- Default brush used to paint the background of a dialog -->
  <ResourceWrapper x:Key="DialogBackgroundBrush" Value="#B0000000" />

  <!-- Home screen tile opacity brush -->
  <ResourceWrapper x:Key="HomeTileOpacityBrush">
    <VisualBrush>
      <VisualBrush.Visual>
        <Rectangle Fill="#FFFFFFFF" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" RadiusX="{ThemeResource ButtonControlRadiusX}" RadiusY="{ThemeResource ButtonControlRadiusY}" />
      </VisualBrush.Visual>
    </VisualBrush>
  </ResourceWrapper>


  

  <!-- MediaItem's opacity brush -->
  <ResourceWrapper x:Key="MediaItemsOpacityBrush">
    <ImageBrush ImageSource="MediaItem_OpacityMask.png" />
  </ResourceWrapper>

  <ResourceWrapper x:Key="MediaItemsOpacityBrushLarge">
    <ImageBrush ImageSource="MediaItem_OpacityMask_Large.png" />
  </ResourceWrapper>
  
  <ResourceWrapper x:Key="AudioItemsOpacityBrush">
    <ImageBrush ImageSource="AudioItem_OpacityMask.png" />
  </ResourceWrapper>

  <ResourceWrapper x:Key="AudioItemsOpacityBrushLarge">
    <ImageBrush ImageSource="AudioItem_OpacityMask_large.png" />
  </ResourceWrapper>

  <ResourceWrapper x:Key="MediaItemsOpacityBrushWide">
    <ImageBrush ImageSource="MediaItem_OpacityMask_wide.png" />
  </ResourceWrapper>

  <ResourceWrapper x:Key="MediaItemsOpacityBrushNormal">
    <ImageBrush ImageSource="MediaItem_OpacityMask_normal.png" />
  </ResourceWrapper>

  <ResourceWrapper x:Key="MediaItemsOpacityBrushNormalLarge">
    <ImageBrush ImageSource="MediaItem_OpacityMask_normal_Large.png" />
  </ResourceWrapper>

  <ResourceWrapper x:Key="MediaItemsFocusedBorderBrush">
    <LinearGradientBrush StartPoint="0,0" EndPoint="1,1">
      <GradientStop Color="{ThemeResource HomeNonFocusedColor}" Offset="0"/>
      <GradientStop Color="{ThemeResource TextColor}" Offset="0.30"/>
      <GradientStop Color="{ThemeResource TextColor}" Offset="0.70"/>
      <GradientStop Color="{ThemeResource HomeNonFocusedColor}" Offset="1"/>
    </LinearGradientBrush>
  </ResourceWrapper>


</ResourceDictionary>
