|
1 <!-- |
|
2 Projet : TraKERS |
|
3 Module : MIDDLEWARE |
|
4 Sous-Module : Debug |
|
5 Classe : DebugParameters |
|
6 |
|
7 Auteur : alexandre.bastien@iri.centrepompidou.fr |
|
8 |
|
9 Fonctionnalités : Affiche la fenêtre de paramétrage du Middleware, contenant : |
|
10 La distance min et max du champ de recherche. |
|
11 L'host et le port du serveur TUIO. |
|
12 L'intervalle de temps entre le début et la fin du timer pour la détection des gestures. |
|
13 --> |
|
14 |
|
15 <Window x:Class="Trakers.Debug.DebugParameters" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Title="DebugParameters" Height="300" Width="300" Closed="Window_Closed"> |
|
16 <Grid> |
|
17 <StackPanel> |
|
18 <Label Content="Limites du champ de recherche (ex : 1.5 - 2) [1, 4] :" Height="30" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" Width="300" /> |
|
19 <Grid> |
|
20 <Grid.RowDefinitions> |
|
21 <RowDefinition Height="30" /> |
|
22 <RowDefinition Height="30" /> |
|
23 </Grid.RowDefinitions> |
|
24 <Grid.ColumnDefinitions> |
|
25 <ColumnDefinition Width="20*" /> |
|
26 <ColumnDefinition Width="80*" /> |
|
27 </Grid.ColumnDefinitions> |
|
28 |
|
29 <!-- Limites min et max du champ de recherche. --> |
|
30 <Label Grid.Row="0" Grid.Column="0" Content="Min :" Height="25" HorizontalAlignment="Left" Name="label2" VerticalAlignment="Top" /> |
|
31 <TextBox Grid.Row="0" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="searchMinDistanceTB" VerticalAlignment="Top" Width="120" /> |
|
32 <Label Grid.Row="1" Grid.Column="0" Content="Max :" Height="25" HorizontalAlignment="Left" Name="label3" VerticalAlignment="Top" /> |
|
33 <TextBox Grid.Row="1" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="searchMaxDistanceTB" VerticalAlignment="Top" Width="120" /> |
|
34 </Grid> |
|
35 |
|
36 <Label Content="Serveur TUIO :" Height="30" HorizontalAlignment="Left" Name="label4" VerticalAlignment="Top" Width="300" /> |
|
37 |
|
38 <Grid> |
|
39 <Grid.RowDefinitions> |
|
40 <RowDefinition Height="30" /> |
|
41 <RowDefinition Height="30" /> |
|
42 <RowDefinition Height="30" /> |
|
43 </Grid.RowDefinitions> |
|
44 <Grid.ColumnDefinitions> |
|
45 <ColumnDefinition Width="50*" /> |
|
46 <ColumnDefinition Width="50*" /> |
|
47 </Grid.ColumnDefinitions> |
|
48 |
|
49 <!-- Paramètres du serveur TUIO. --> |
|
50 <Label Grid.Row="0" Grid.Column="0" Content="Host (ip) :" HorizontalAlignment="Left" Name="label5" VerticalAlignment="Top" /> |
|
51 <TextBox Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" Name="connexionHostTB" VerticalAlignment="Top" Width="120" /> |
|
52 <Label Grid.Row="1" Grid.Column="0" Content="Port :" HorizontalAlignment="Left" Name="label6" VerticalAlignment="Top" /> |
|
53 <TextBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" Name="connexionPortTB" VerticalAlignment="Top" Width="120" /> |
|
54 <Label Grid.Row="2" Grid.Column="0" Content="Timer (temps en ms) :" Height="30" HorizontalAlignment="Left" Name="label7" VerticalAlignment="Top" /> |
|
55 <TextBox Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" Name="timerElapsingTB" VerticalAlignment="Top" Width="120" /> |
|
56 </Grid> |
|
57 <Button Content="Modifier" Click="Button_Click" /> |
|
58 <!-- Affichage des problèmes éventuels lors de la saisie des paramètres. --> |
|
59 <Label Content="" Name="ExceptionInParametersLbl" Height="28" /> |
|
60 </StackPanel> |
|
61 </Grid> |
|
62 </Window> |