|
5
|
1 |
<!--
|
|
8
|
2 |
/*
|
|
|
3 |
* This file is part of the TraKERS\Middleware package.
|
|
|
4 |
*
|
|
|
5 |
* (c) IRI <http://www.iri.centrepompidou.fr/>
|
|
|
6 |
*
|
|
|
7 |
* For the full copyright and license information, please view the LICENSE_MIDDLEWARE
|
|
|
8 |
* file that was distributed with this source code.
|
|
|
9 |
*/
|
|
|
10 |
-->
|
|
|
11 |
|
|
|
12 |
<!--
|
|
5
|
13 |
Projet : TraKERS
|
|
|
14 |
Module : MIDDLEWARE
|
|
|
15 |
Sous-Module : Debug
|
|
|
16 |
Classe : DebugParameters
|
|
|
17 |
|
|
|
18 |
Auteur : alexandre.bastien@iri.centrepompidou.fr
|
|
|
19 |
|
|
|
20 |
Fonctionnalités : Affiche la fenêtre de paramétrage du Middleware, contenant :
|
|
|
21 |
La distance min et max du champ de recherche.
|
|
|
22 |
L'host et le port du serveur TUIO.
|
|
|
23 |
L'intervalle de temps entre le début et la fin du timer pour la détection des gestures.
|
|
|
24 |
-->
|
|
|
25 |
|
|
6
|
26 |
<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="380" Width="300">
|
|
5
|
27 |
<Grid>
|
|
|
28 |
<StackPanel>
|
|
|
29 |
<Label Content="Limites du champ de recherche (ex : 1.5 - 2) [1, 4] :" Height="30" HorizontalAlignment="Left" Name="label1" VerticalAlignment="Top" Width="300" />
|
|
|
30 |
<Grid>
|
|
|
31 |
<Grid.RowDefinitions>
|
|
|
32 |
<RowDefinition Height="30" />
|
|
|
33 |
<RowDefinition Height="30" />
|
|
6
|
34 |
<RowDefinition Height="30" />
|
|
|
35 |
<RowDefinition Height="30" />
|
|
|
36 |
<RowDefinition Height="30" />
|
|
5
|
37 |
</Grid.RowDefinitions>
|
|
|
38 |
<Grid.ColumnDefinitions>
|
|
6
|
39 |
<ColumnDefinition Width="30*" />
|
|
|
40 |
<ColumnDefinition Width="70*" />
|
|
5
|
41 |
</Grid.ColumnDefinitions>
|
|
|
42 |
|
|
|
43 |
<!-- Limites min et max du champ de recherche. -->
|
|
6
|
44 |
<Label Grid.Row="0" Grid.Column="0" Content="Min Mains :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
5
|
45 |
<TextBox Grid.Row="0" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="searchMinDistanceTB" VerticalAlignment="Top" Width="120" />
|
|
6
|
46 |
<Label Grid.Row="1" Grid.Column="0" Content="Max Mains :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
5
|
47 |
<TextBox Grid.Row="1" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="searchMaxDistanceTB" VerticalAlignment="Top" Width="120" />
|
|
6
|
48 |
<Label Grid.Row="2" Grid.Column="0" Content="Min :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
49 |
<TextBox Grid.Row="2" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="minDistanceTB" VerticalAlignment="Top" Width="120" />
|
|
|
50 |
<Label Grid.Row="3" Grid.Column="0" Content="Max :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
51 |
<TextBox Grid.Row="3" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="maxDistanceTB" VerticalAlignment="Top" Width="120" />
|
|
|
52 |
<Label Grid.Row="4" Grid.Column="0" Content="Zero :" Height="25" HorizontalAlignment="Left" VerticalAlignment="Top" />
|
|
|
53 |
<TextBox Grid.Row="4" Grid.Column="1" Height="25" HorizontalAlignment="Left" Name="zeroPointTB" VerticalAlignment="Top" Width="120" />
|
|
5
|
54 |
</Grid>
|
|
|
55 |
|
|
|
56 |
<Label Content="Serveur TUIO :" Height="30" HorizontalAlignment="Left" Name="label4" VerticalAlignment="Top" Width="300" />
|
|
|
57 |
|
|
|
58 |
<Grid>
|
|
|
59 |
<Grid.RowDefinitions>
|
|
|
60 |
<RowDefinition Height="30" />
|
|
|
61 |
<RowDefinition Height="30" />
|
|
|
62 |
<RowDefinition Height="30" />
|
|
|
63 |
</Grid.RowDefinitions>
|
|
|
64 |
<Grid.ColumnDefinitions>
|
|
|
65 |
<ColumnDefinition Width="50*" />
|
|
|
66 |
<ColumnDefinition Width="50*" />
|
|
|
67 |
</Grid.ColumnDefinitions>
|
|
|
68 |
|
|
|
69 |
<!-- Paramètres du serveur TUIO. -->
|
|
|
70 |
<Label Grid.Row="0" Grid.Column="0" Content="Host (ip) :" HorizontalAlignment="Left" Name="label5" VerticalAlignment="Top" />
|
|
|
71 |
<TextBox Grid.Row="0" Grid.Column="1" HorizontalAlignment="Left" Name="connexionHostTB" VerticalAlignment="Top" Width="120" />
|
|
|
72 |
<Label Grid.Row="1" Grid.Column="0" Content="Port :" HorizontalAlignment="Left" Name="label6" VerticalAlignment="Top" />
|
|
|
73 |
<TextBox Grid.Row="1" Grid.Column="1" HorizontalAlignment="Left" Name="connexionPortTB" VerticalAlignment="Top" Width="120" />
|
|
|
74 |
<Label Grid.Row="2" Grid.Column="0" Content="Timer (temps en ms) :" Height="30" HorizontalAlignment="Left" Name="label7" VerticalAlignment="Top" />
|
|
|
75 |
<TextBox Grid.Row="2" Grid.Column="1" HorizontalAlignment="Left" Name="timerElapsingTB" VerticalAlignment="Top" Width="120" />
|
|
|
76 |
</Grid>
|
|
|
77 |
<Button Content="Modifier" Click="Button_Click" />
|
|
|
78 |
<!-- Affichage des problèmes éventuels lors de la saisie des paramètres. -->
|
|
|
79 |
<Label Content="" Name="ExceptionInParametersLbl" Height="28" />
|
|
|
80 |
</StackPanel>
|
|
|
81 |
</Grid>
|
|
|
82 |
</Window>
|