src/FingersDance/MainSurfaceWindow.xaml
changeset 46 f1a26ca4177e
parent 45 f003ae353cd7
child 48 50f075139497
equal deleted inserted replaced
45:f003ae353cd7 46:f1a26ca4177e
     1 <s:SurfaceWindow
     1 <s:SurfaceWindow
     2     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     2     xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
     3     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     3     xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
     4     xmlns:s="http://schemas.microsoft.com/surface/2008"
     4     xmlns:s="http://schemas.microsoft.com/surface/2008"
     5     xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
     5     xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"
       
     6     xmlns:FingersDance_Control_UserPanel="clr-namespace:FingersDance.Control.UserPanel;assembly=FingersDance.Control.UserPanel"
     6     x:Class="FingersDance.SurfaceWindow1"
     7     x:Class="FingersDance.SurfaceWindow1"
     7     Title="FingersDance"
     8     Title="FingersDance"
     8     Width="1024" Height="768" x:Name="mainSurfaceWindow"
     9     Width="1024" Height="768" x:Name="mainSurfaceWindow"
     9     xmlns:FingersDance_Control_UserPanel="clr-namespace:FingersDance.Control.UserPanel;assembly=FingersDance.Control.UserPanel"
    10     xmlns:FingersDance_Control_Pivot="clr-namespace:FingersDance.Control.Pivot;assembly=FingersDance.Control.Pivot" Background="{x:Null}"
    10     >
    11     >
    11   <s:SurfaceWindow.Resources>
    12   <s:SurfaceWindow.Resources>
    12     <ImageBrush x:Key="WindowBackground" Stretch="None" Opacity="0.6" ImageSource="pack://application:,,,/Resources/WindowBackground.jpg"/>
    13     <ImageBrush x:Key="WindowBackground" Stretch="None" Opacity="0.6" ImageSource="pack://application:,,,/Resources/WindowBackground.jpg"/>
    13   </s:SurfaceWindow.Resources>
    14   </s:SurfaceWindow.Resources>
    14 
    15 
    15   <Grid Background="{StaticResource WindowBackground}" x:Name="MainGrid" Width="1024" Height="768" >
    16   <Grid x:Name="MainGrid" Width="1024" Height="768" >
       
    17   	<Grid.Background>
       
    18   		<LinearGradientBrush EndPoint="0.505,0.985" StartPoint="0.505,-0.015">
       
    19   			<GradientStop Color="#FF000000" Offset="0"/>
       
    20   			<GradientStop Color="#FF2A2A2A" Offset="0.544"/>
       
    21   			<GradientStop Color="#FF000000" Offset="1"/>
       
    22   		</LinearGradientBrush>
       
    23   	</Grid.Background>
    16 
    24 
    17   	<Grid HorizontalAlignment="Left" x:Name="Grid1" VerticalAlignment="Top" Width="100" Height="100" Background="#7EFAFAFA">
    25   	<Grid HorizontalAlignment="Left" x:Name="Grid1" VerticalAlignment="Top" Width="100" Height="100" Background="{x:Null}">
    18   		<FingersDance_Control_UserPanel:UserControlUserPanel/>
    26   		<FingersDance_Control_UserPanel:UserControlUserPanel/>
    19   		<Rectangle Fill="{x:Null}" Stroke="#FFFFFFFF"/>
    27   		<Rectangle Fill="{x:Null}" Stroke="#FFFFFFFF"/>
    20   	</Grid>
    28   	</Grid>
    21   	<Grid HorizontalAlignment="Right" Margin="0,0,0,0" x:Name="Grid4" VerticalAlignment="Top" Width="100" Height="100" Background="#7FFFFFFF">
    29   	<Grid HorizontalAlignment="Right" Margin="0,0,0,0" x:Name="Grid4" VerticalAlignment="Top" Width="100" Height="100" Background="{x:Null}">
    22   		<FingersDance_Control_UserPanel:UserControlUserPanel/>
    30   		<FingersDance_Control_UserPanel:UserControlUserPanel/>
    23   		<Rectangle Fill="{x:Null}" Stroke="#FFFFFFFF"/>
    31   		<Rectangle Fill="{x:Null}" Stroke="#FFFFFFFF"/>
    24   	</Grid>
    32   	</Grid>
    25   	<Grid HorizontalAlignment="Right" Margin="0,0,0,0" x:Name="Grid3" VerticalAlignment="Bottom" Width="100" Height="100" Background="#7FFFFFFF">
    33   	<Grid HorizontalAlignment="Right" Margin="0,0,0,0" x:Name="Grid3" VerticalAlignment="Bottom" Width="100" Height="100" Background="{x:Null}">
    26   		<FingersDance_Control_UserPanel:UserControlUserPanel/>
    34   		<FingersDance_Control_UserPanel:UserControlUserPanel/>
    27   		<Rectangle Fill="{x:Null}" Stroke="#FFFFFFFF"/>
    35   		<Rectangle Fill="{x:Null}" Stroke="#FFFFFFFF"/>
    28   	</Grid>
    36   	</Grid>
    29   	<Grid RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left" Margin="0,0,0,0" x:Name="Grid2" VerticalAlignment="Bottom" Width="100" Height="100" Background="#7EFFFFFF">
    37   	<Grid RenderTransformOrigin="0.5,0.5" HorizontalAlignment="Left" Margin="0,0,0,0" x:Name="Grid2" VerticalAlignment="Bottom" Width="100" Height="100" Background="{x:Null}">
    30   		<Grid.RenderTransform>
    38   		<Grid.RenderTransform>
    31   			<TransformGroup>
    39   			<TransformGroup>
    32   				<ScaleTransform ScaleX="1" ScaleY="1"/>
    40   				<ScaleTransform ScaleX="1" ScaleY="1"/>
    33   				<SkewTransform AngleX="0" AngleY="0"/>
    41   				<SkewTransform AngleX="0" AngleY="0"/>
    34   				<RotateTransform Angle="0"/>
    42   				<RotateTransform Angle="0"/>
    49   					        <TranslateTransform X="0" Y="0"/>
    57   					        <TranslateTransform X="0" Y="0"/>
    50   				        </TransformGroup>
    58   				        </TransformGroup>
    51   			        </Ellipse.RenderTransform>
    59   			        </Ellipse.RenderTransform>
    52   		        </Ellipse>
    60   		        </Ellipse>
    53                 </s:ScatterViewItem>
    61                 </s:ScatterViewItem>
       
    62   		<s:ScatterViewItem CanMove="True" CanRotate="False" CanScale="False" Width="57" Height="57" >
       
    63   			<FingersDance_Control_Pivot:UserControlPivot/>
       
    64   		</s:ScatterViewItem>
    54   	</s:ScatterView>
    65   	</s:ScatterView>
    55 
    66 
    56   </Grid>
    67   </Grid>
    57 </s:SurfaceWindow>
    68 </s:SurfaceWindow>