--- a/middleware/src/Debug/DebugWindow.xaml Thu Mar 15 13:35:25 2012 +0100
+++ b/middleware/src/Debug/DebugWindow.xaml Mon Mar 19 10:21:56 2012 +0100
@@ -2,7 +2,7 @@
Projet : TraKERS
Module : MIDDLEWARE
Sous-Module : Debug
-Classe : Debug
+Classe : DebugWindow
Auteur : alexandre.bastien@iri.centrepompidou.fr
@@ -28,10 +28,20 @@
<Grid Grid.Row="0" Grid.Column="0">
<Grid.RowDefinitions>
+ <RowDefinition Height="20" />
<RowDefinition Height="40" />
<RowDefinition />
</Grid.RowDefinitions>
- <Grid Grid.Row="0">
+ <Grid Grid.Row="0" Background="LightGray">
+ <!-- Menu de la fenêtre de debug. -->
+ <Menu Grid.Row="0" VerticalAlignment="Top" HorizontalAlignment="Left" Height="20" Width="50" Background="LightGray" Foreground="White">
+ <MenuItem Header="Fichier" Background="Black">
+ <MenuItem Header="Paramètres" Background="White" Foreground="Black" Click="Parameters_Click" />
+ <MenuItem Header="Quitter" Background="White" Foreground="Black" Click="Quit_Click" />
+ </MenuItem>
+ </Menu>
+ </Grid>
+ <Grid Grid.Row="1">
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
@@ -42,7 +52,7 @@
<Label Name="RightHand" Grid.Column="1" Background="DarkGray" FontSize="14" FontWeight="Bold" />
</Grid>
<!-- Cette partie permet d'afficher les erreurs survenant dans le programme. -->
- <Label Name="ExceptionLbl" Height="30" VerticalAlignment="Bottom" Grid.Row="1" Content="" HorizontalContentAlignment="Center" />
+ <Label Name="ExceptionLbl" Height="30" VerticalAlignment="Bottom" Grid.Row="2" Content="" HorizontalContentAlignment="Center" />
</Grid>
<!-- Ce bouton permet d'allumer/éteindre la Kinect. -->
@@ -52,21 +62,14 @@
<!-- 0-1 m : Rouge. 1-2 : Orange. 2-3 : Jaune. 3-4 : Blanc. -->
<StackPanel Grid.Row="0" Grid.Column="1" Name="List">
<Label Name="DistanceLbl" Content="Distance :" />
- <Rectangle Name="R1" Height="50" Fill="DarkGray" />
- <Rectangle Name="R2" Height="50" Fill="DarkGray" />
- <Rectangle Name="R3" Height="50" Fill="DarkGray" />
- <Rectangle Name="R4" Height="50" Fill="DarkGray" />
- <Rectangle Name="R5" Height="50" Fill="DarkGray" />
- <Rectangle Name="R6" Height="50" Fill="DarkGray" />
- <Rectangle Name="R7" Height="50" Fill="DarkGray" />
- <!--<Label Name="D1" Content="0 < D < 1" />
+ <Label Name="D1" Content="0 < D < 1" />
<Rectangle Name="R1" Height="70" Fill="DarkGray" />
<Label Name="D2" Content="1 < D < 2" />
<Rectangle Name="R2" Height="70" Fill="DarkGray" />
<Label Name="D3" Content="2 < D < 3" />
<Rectangle Name="R3" Height="70" Fill="DarkGray" />
<Label Name="D4" Content="3 < D < 4" />
- <Rectangle Name="R4" Height="70" Fill="DarkGray" />-->
+ <Rectangle Name="R4" Height="70" Fill="DarkGray" />
</StackPanel>
</Grid>
</Window>