26 <Image Name="DebugImage" Opacity="1" Grid.Row="0" Grid.Column="0"/> |
26 <Image Name="DebugImage" Opacity="1" Grid.Row="0" Grid.Column="0"/> |
27 </Canvas> |
27 </Canvas> |
28 |
28 |
29 <Grid Grid.Row="0" Grid.Column="0"> |
29 <Grid Grid.Row="0" Grid.Column="0"> |
30 <Grid.RowDefinitions> |
30 <Grid.RowDefinitions> |
|
31 <RowDefinition Height="20" /> |
31 <RowDefinition Height="40" /> |
32 <RowDefinition Height="40" /> |
32 <RowDefinition /> |
33 <RowDefinition /> |
33 </Grid.RowDefinitions> |
34 </Grid.RowDefinitions> |
34 <Grid Grid.Row="0"> |
35 <Grid Grid.Row="0" Background="LightGray"> |
|
36 <!-- Menu de la fenêtre de debug. --> |
|
37 <Menu Grid.Row="0" VerticalAlignment="Top" HorizontalAlignment="Left" Height="20" Width="50" Background="LightGray" Foreground="White"> |
|
38 <MenuItem Header="Fichier" Background="Black"> |
|
39 <MenuItem Header="Paramètres" Background="White" Foreground="Black" Click="Parameters_Click" /> |
|
40 <MenuItem Header="Quitter" Background="White" Foreground="Black" Click="Quit_Click" /> |
|
41 </MenuItem> |
|
42 </Menu> |
|
43 </Grid> |
|
44 <Grid Grid.Row="1"> |
35 <Grid.ColumnDefinitions> |
45 <Grid.ColumnDefinitions> |
36 <ColumnDefinition /> |
46 <ColumnDefinition /> |
37 <ColumnDefinition /> |
47 <ColumnDefinition /> |
38 </Grid.ColumnDefinitions> |
48 </Grid.ColumnDefinitions> |
39 |
49 |
40 <!-- Cette partie permet d'afficher les mains se trouvant dans le champ de recherche. --> |
50 <!-- Cette partie permet d'afficher les mains se trouvant dans le champ de recherche. --> |
41 <Label Name="LeftHand" Grid.Column="0" Background="DarkGray" FontSize="14" FontWeight="Bold" /> |
51 <Label Name="LeftHand" Grid.Column="0" Background="DarkGray" FontSize="14" FontWeight="Bold" /> |
42 <Label Name="RightHand" Grid.Column="1" Background="DarkGray" FontSize="14" FontWeight="Bold" /> |
52 <Label Name="RightHand" Grid.Column="1" Background="DarkGray" FontSize="14" FontWeight="Bold" /> |
43 </Grid> |
53 </Grid> |
44 <!-- Cette partie permet d'afficher les erreurs survenant dans le programme. --> |
54 <!-- Cette partie permet d'afficher les erreurs survenant dans le programme. --> |
45 <Label Name="ExceptionLbl" Height="30" VerticalAlignment="Bottom" Grid.Row="1" Content="" HorizontalContentAlignment="Center" /> |
55 <Label Name="ExceptionLbl" Height="30" VerticalAlignment="Bottom" Grid.Row="2" Content="" HorizontalContentAlignment="Center" /> |
46 </Grid> |
56 </Grid> |
47 |
57 |
48 <!-- Ce bouton permet d'allumer/éteindre la Kinect. --> |
58 <!-- Ce bouton permet d'allumer/éteindre la Kinect. --> |
49 <Button Name="Switch" Content="ON" Grid.Row="1" Grid.Column="0" Width="30" Click="Switch_Click" /> |
59 <Button Name="Switch" Content="ON" Grid.Row="1" Grid.Column="0" Width="30" Click="Switch_Click" /> |
50 |
60 |
51 <!-- Ce panneau affiche la distance actuelle de l'utilisateur à la Kinect et indique une couleur pour chaque mètre. --> |
61 <!-- Ce panneau affiche la distance actuelle de l'utilisateur à la Kinect et indique une couleur pour chaque mètre. --> |
52 <!-- 0-1 m : Rouge. 1-2 : Orange. 2-3 : Jaune. 3-4 : Blanc. --> |
62 <!-- 0-1 m : Rouge. 1-2 : Orange. 2-3 : Jaune. 3-4 : Blanc. --> |
53 <StackPanel Grid.Row="0" Grid.Column="1" Name="List"> |
63 <StackPanel Grid.Row="0" Grid.Column="1" Name="List"> |
54 <Label Name="DistanceLbl" Content="Distance :" /> |
64 <Label Name="DistanceLbl" Content="Distance :" /> |
55 <Rectangle Name="R1" Height="50" Fill="DarkGray" /> |
65 <Label Name="D1" Content="0 < D < 1" /> |
56 <Rectangle Name="R2" Height="50" Fill="DarkGray" /> |
|
57 <Rectangle Name="R3" Height="50" Fill="DarkGray" /> |
|
58 <Rectangle Name="R4" Height="50" Fill="DarkGray" /> |
|
59 <Rectangle Name="R5" Height="50" Fill="DarkGray" /> |
|
60 <Rectangle Name="R6" Height="50" Fill="DarkGray" /> |
|
61 <Rectangle Name="R7" Height="50" Fill="DarkGray" /> |
|
62 <!--<Label Name="D1" Content="0 < D < 1" /> |
|
63 <Rectangle Name="R1" Height="70" Fill="DarkGray" /> |
66 <Rectangle Name="R1" Height="70" Fill="DarkGray" /> |
64 <Label Name="D2" Content="1 < D < 2" /> |
67 <Label Name="D2" Content="1 < D < 2" /> |
65 <Rectangle Name="R2" Height="70" Fill="DarkGray" /> |
68 <Rectangle Name="R2" Height="70" Fill="DarkGray" /> |
66 <Label Name="D3" Content="2 < D < 3" /> |
69 <Label Name="D3" Content="2 < D < 3" /> |
67 <Rectangle Name="R3" Height="70" Fill="DarkGray" /> |
70 <Rectangle Name="R3" Height="70" Fill="DarkGray" /> |
68 <Label Name="D4" Content="3 < D < 4" /> |
71 <Label Name="D4" Content="3 < D < 4" /> |
69 <Rectangle Name="R4" Height="70" Fill="DarkGray" />--> |
72 <Rectangle Name="R4" Height="70" Fill="DarkGray" /> |
70 </StackPanel> |
73 </StackPanel> |
71 </Grid> |
74 </Grid> |
72 </Window> |
75 </Window> |
73 |
76 |