- Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathDeviceSimulator.xaml
54 lines (48 loc) · 2.39 KB
/
DeviceSimulator.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<UserControlx:Class="Buttplug.Apps.DeviceSimulatorGUI.DeviceSimulator"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:devicesimulatorgui="clr-namespace:Buttplug.Apps.DeviceSimulatorGUI"
xmlns:talex="http://schemas.talex-soft.com/2010/xaml/presentation"
mc:Ignorable="d"
d:DesignHeight="400"d:DesignWidth="600">
<ScrollViewerVerticalScrollBarVisibility="Auto">
<GridBackground="#FFE5E5E5">
<Grid.RowDefinitions>
<RowDefinitionHeight="auto"/>
<RowDefinitionHeight="auto"/>
<RowDefinitionHeight="auto"/>
<RowDefinitionHeight="auto"/>
<RowDefinitionHeight="auto"/>
<RowDefinitionHeight="auto"/>
<RowDefinitionHeight="auto"/>
<RowDefinitionHeight="auto"/>
<RowDefinitionHeight="auto"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinitionWidth="auto"/>
<ColumnDefinitionWidth="*"/>
<ColumnDefinitionWidth="auto"/>
</Grid.ColumnDefinitions>
<LabelContent="DeviceName" Grid.Column="0" Grid.Row="0"/>
<TextBoxName="DeviceName" Grid.Column="1" Grid.Row="0"/>
<LabelContent="DeviceId" Grid.Column="0" Grid.Row="1"/>
<TextBoxName="DeviceId" Grid.Column="1" Grid.Row="1"/>
<CheckBoxName="DeviceHasLinear"Content="Linear" Grid.Column="0" Grid.Row="2" Grid.ColumnSpan="2"/>
<LabelContent="Linear Position" Grid.Column="0" Grid.Row="3"/>
<ProgressBarName="LinearPosition" Grid.Column="1" Grid.Row="3"/>
<LabelContent="Vibrators" Grid.Column="0" Grid.Row="4"/>
<talex:NumericUpDownName="DeviceHasVibrator" Grid.Column="1" Grid.Row="4"Width="50px"HorizontalAlignment="Left"ValueChanged="DeviceHasVibrator_ValueChanged"/>
<GridName="Vibrators" Grid.Column="0" Grid.Row="5" Grid.ColumnSpan="2"Margin="5">
<Grid.ColumnDefinitions>
<ColumnDefinitionWidth="auto"/>
<ColumnDefinitionWidth="*"/>
</Grid.ColumnDefinitions>
</Grid>
<CheckBoxName="DeviceHasRotator"Content="Rotator" Grid.Column="0" Grid.Row="6" Grid.ColumnSpan="2"/>
<LabelContent="Rotatot Speed" Grid.Column="0" Grid.Row="7"/>
<ProgressBarName="RotatorSpeed" Grid.Column="1" Grid.Row="7"/>
</Grid>
</ScrollViewer>
</UserControl>