<Window x:Class="RIMSI_Audio_multiplayer.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:k="http://schemas.microsoft.com/kinect/2013" 
        Title="MainWindow" Height="900" Width="1024" Topmost="False" VerticalAlignment="Stretch">
    <k:KinectRegion Name="kinectRegion" Height="768" Width="1024">
        <Canvas Height="768" Width="1024" Name="mainCanvas">
        
        <k:KinectSensorChooserUI Canvas.Left="290" VerticalAlignment="Top" Name="sensorChooserUi" Canvas.Top="0" />
        <Image x:Name="DepthImage" Canvas.Left="147" Canvas.Top="325"/>
        <Ellipse Canvas.Left="0" Canvas.Top="0" Height="30" Name="ellipse1" Stroke="Black" Width="30" Fill="Red"  Visibility="Hidden" />
        <Ellipse Canvas.Left="0" Canvas.Top="0" Height="30" Name="ellipse2" Stroke="Black" Width="30" Fill="Red" Visibility="Hidden" />
        <Ellipse Canvas.Left="0" Canvas.Top="0" Height="30" Name="ellipse3" Stroke="Black" Width="30" Fill="Red" Visibility="Hidden" />
        <Ellipse Canvas.Left="0" Canvas.Top="0" Height="30" Name="ellipse4" Stroke="Black" Width="30" Fill="Red" Visibility="Hidden" />
        <Ellipse Canvas.Left="0" Canvas.Top="0" Height="30" Name="ellipse5" Stroke="Black" Width="30" Fill="Red" Visibility="Hidden" />
        <Ellipse Canvas.Left="0" Canvas.Top="0" Height="30" Name="ellipse6" Stroke="Black" Width="30" Fill="Red" Visibility="Hidden" />
        <Rectangle Canvas.Left="146" Canvas.Top="325" Height="480" Name="rectangleLeft" Stroke="{x:Null}" Width="213" Fill="#FFF86F6F" Opacity="0.1"/>
        <Rectangle Canvas.Left="359" Canvas.Top="325" Height="480" Name="rectangleCenter" Stroke="{x:Null}" Width="213" Fill="#FF00DF00" Opacity="0.1" />
        <Rectangle Canvas.Left="572" Canvas.Top="325" Height="480" Name="rectangleRight" Stroke="{x:Null}" Width="213" Fill="#F83B3BFF" Opacity="0.1"/>
        <Button BorderThickness="2" Canvas.Left="207" Canvas.Top="777" Content="Anestesista" Height="28" Name="labelAnes" Background="White" BorderBrush="#FF010000" Click="labelAnes_Click" />
        <Button BorderThickness="2" Canvas.Left="436" Canvas.Top="777" Content="Chirurgo" Height="28" Name="labelChir" Background="White" BorderBrush="#FF010000" Click="labelChir_Click"/>
        <Button BorderThickness="2" Canvas.Left="654" Canvas.Top="777" Content="Infermiere" Height="28" Name="labelInf" Background="White" BorderBrush="#FF010000" Click="labelInf_Click"/>

        
            
        
        <StackPanel Margin="5" Orientation="Horizontal" Height="35" Width="140" Canvas.Left="0" Canvas.Top="376" Background="White">
            <TextBlock Text="Audio angle : "/>
            <TextBlock Text="0.0" Name="audioAngleLabel"/>
        </StackPanel>
        <StackPanel Margin="5" Orientation="Horizontal" Height="35" Width="140" Canvas.Left="0" Canvas.Top="420" Background="White">
            <TextBlock Text="Pressed : "/>
            <TextBlock Text="0" Name="pressedCounter"/>
        </StackPanel>
        <Ellipse Canvas.Left="672" Canvas.Top="741" Height="20" Name="activePlayerMarker" Stroke="Black" Width="20" Fill="#FF31C748" Visibility="Hidden" />
        <Image Canvas.Left="0" Canvas.Top="0" Height="43" Name="handPointer" Visibility="Hidden" Stretch="Fill" Width="43" Source="/RIMSI-Audio-multiplayer;component/Images/Very-Basic-Hand-cursor-icon.png" />
        <Border BorderBrush="Silver" BorderThickness="1" Canvas.Left="150" Canvas.Top="820" Height="111" Name="border1" Width="213" />
        <Label Canvas.Left="7" Canvas.Top="650" Content="Next action" Height="28" Name="label1" FontSize="14" FontWeight="Bold" />
        <Label Canvas.Left="7" Canvas.Top="673" Content="ID:" Height="28" Name="label2" FontWeight="Bold" />
        <Label Canvas.Left="62" Canvas.Top="673" Content="" Height="28" Name="labelCommandID" />
        <Label Canvas.Left="7" Canvas.Top="693" Content="Player:" Height="28" Name="label3" FontWeight="Bold" />
        <Label Canvas.Left="62" Canvas.Top="693" Content="" Height="28" Name="labelCommandPlayer" />
        <Label Canvas.Left="7" Canvas.Top="713" Content="Answer:" Height="28" Name="label4" FontWeight="Bold" />
        <Label Canvas.Left="62" Canvas.Top="713" Content="" Height="28" Name="labelCommandAnswer" />
        <Label Canvas.Left="7" Canvas.Top="733" Content="Type:" Height="28" Name="label5" FontWeight="Bold" />
        <Label Canvas.Left="62" Canvas.Top="733" Content="" Height="28" Name="labelCommandType" />
        <Button Canvas.Left="7" Canvas.Top="773" Content="Send correct answer" Height="36" Name="button1" Width="133" Click="button1_Click" />
        <Image Height="43" Name="handPointerPush" Visibility="Hidden" Stretch="Fill" Width="52" Source="/RIMSI-Audio-multiplayer;component/Images/Very-Basic-Hand-cursor-icon-push.png" Canvas.Left="-6" Canvas.Top="1" />
            <k:KinectTileButton Height="768" Width="1024" Background="#11000000" Click="KinectTileButton_Click" Canvas.Left="0" Canvas.Top="0"></k:KinectTileButton>

        </Canvas>
    </k:KinectRegion>
</Window>
