-
Notifications
You must be signed in to change notification settings - Fork 1
/
MainWindow.xaml
94 lines (79 loc) · 6.65 KB
/
MainWindow.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<Window x:Class="rev2_Labtool_Framework_.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:rev2_Labtool_Framework_"
mc:Ignorable="d"
Title="rev2-Labtool (v0.5.1)" Height="468" Width="auto"
Loaded="Window_Loaded" Closed="Window_Closed"
WindowStartupLocation="Manual" Topmost="True"
SizeToContent="WidthAndHeight"
MinWidth="200"
ResizeMode="CanMinimize"
>
<DockPanel>
<Menu DockPanel.Dock="Top">
<MenuItem Header="Github" Click="MenuItem_Click"></MenuItem>
</Menu>
<Grid Margin="0,0,0,0">
<Grid.RowDefinitions>
<RowDefinition Height="*" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Expander Grid.Row="0" Name="myExpander" HorizontalAlignment="Center" Header="Info" ExpandDirection="Down" IsExpanded="True" Width="auto" Margin="10,0,10,10">
<GroupBox Margin="10,10,10,10" Height="164">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="2*" />
<ColumnDefinition Width="1*" />
<ColumnDefinition Width="2*" />
</Grid.ColumnDefinitions>
<Label x:Name="p1CharLabel" Grid.Column="0" Content="Character" HorizontalAlignment="Right" Margin="0,0,0,0" VerticalAlignment="Top" FontWeight="SemiBold"/>
<Label x:Name="p1DefModifLabel" Grid.Column="0" Content="[x1.00]" HorizontalAlignment="Right" Margin="0,30,80,0" VerticalAlignment="Top"/>
<Label x:Name="p1GutsLabel" Grid.Column="0" Content="(x1.00)" HorizontalAlignment="Right" Margin="0,30,40,0" VerticalAlignment="Top"/>
<Label x:Name="p1HPLabel" Grid.Column="0" Content="420" HorizontalAlignment="Right" Margin="0,30,0,0" VerticalAlignment="Top"/>
<Label x:Name="p1MeterLabel" Grid.Column="0" Content="100" HorizontalAlignment="Right" Margin="0,55,0,0" VerticalAlignment="Top"/>
<Label x:Name="p1RISCLabel" Grid.Column="0" Content="128" HorizontalAlignment="Right" Margin="0,80,0,0" VerticalAlignment="Top"/>
<Label x:Name="p1StunLabel" Grid.Column="0" Content="0/stun" HorizontalAlignment="Right" Margin="0,105,0,0" VerticalAlignment="Top"/>
<Label x:Name="p1xPosLabel" Grid.Column="0" Content="x: -1515" HorizontalAlignment="Right" Margin="0,130,50,0" VerticalAlignment="Top"/>
<Label x:Name="p1yPosLabel" Grid.Column="0" Content="y: 1515" HorizontalAlignment="Right" Margin="0,130,0,0" VerticalAlignment="Top"/>
<Label x:Name="HPLabel" Grid.Column="1" Background="#FFE0E0E0" HorizontalContentAlignment="Center" Content="HP" HorizontalAlignment="Center" Margin="0,30,0,0" VerticalAlignment="Top" Width="47"/>
<Label x:Name="MeterLabel" Grid.Column="1" Background="#FFE0E0E0" HorizontalContentAlignment="Center" Content="Meter" HorizontalAlignment="Center" Margin="0,55,0,0" VerticalAlignment="Top" Width="47"/>
<Label x:Name="RISCLabel" Grid.Column="1" Background="#FFE0E0E0" HorizontalContentAlignment="Center" Content="RISC" HorizontalAlignment="Center" Margin="0,80,0,0" VerticalAlignment="Top" Width="47"/>
<Label x:Name="DizzyLabel" Grid.Column="1" Background="#FFE0E0E0" HorizontalContentAlignment="Center" Content="Stun" HorizontalAlignment="Center" Margin="0,105,0,0" VerticalAlignment="Top" Width="47"/>
<Label x:Name="posLabel" Grid.Column="1" Background="#FFE0E0E0" HorizontalContentAlignment="Center" Content="Pos" HorizontalAlignment="Center" Margin="0,130,0,0" VerticalAlignment="Top" Width="47"/>
<Label x:Name="p2CharLabel" Grid.Column="2" Content="Character" HorizontalAlignment="Left" Margin="0,0,0,0" VerticalAlignment="Top" FontWeight="SemiBold"/>
<Label x:Name="p2HPLabel" Grid.Column="2" Content="420" HorizontalAlignment="Left" Margin="0,30,0,0" VerticalAlignment="Top"/>
<Label x:Name="p2GutsLabel" Grid.Column="2" Content="(x1.00)" HorizontalAlignment="Left" Margin="40,30,0,0" VerticalAlignment="Top"/>
<Label x:Name="p2DefModifLabel" Grid.Column="2" Content="[x1.00]" HorizontalAlignment="Left" Margin="80,30,0,0" VerticalAlignment="Top"/>
<Label x:Name="p2MeterLabel" Grid.Column="2" Content="100" HorizontalAlignment="Left" Margin="0,55,0,0" VerticalAlignment="Top"/>
<Label x:Name="p2RISCLabel" Grid.Column="2" Content="128" HorizontalAlignment="Left" Margin="0,80,0,0" VerticalAlignment="Top"/>
<Label x:Name="p2StunLabel" Grid.Column="2" Content="0/stun" HorizontalAlignment="Left" Margin="0,105,0,0" VerticalAlignment="Top"/>
<Label x:Name="p2xPosLabel" Grid.Column="2" Content="x: 1515" HorizontalAlignment="Left" Margin="0,130,0,0" VerticalAlignment="Top"/>
<Label x:Name="p2yPosLabel" Grid.Column="2" Content="y: 1515" HorizontalAlignment="Left" Margin="50,130,0,0" VerticalAlignment="Top"/>
</Grid>
</GroupBox>
</Expander>
<Expander Grid.Row="1" Name="my2Expander" HorizontalAlignment="Center" Header="Framedata" ExpandDirection="Down" IsExpanded="True" Width="auto" Margin="58,32,57,10">
<GroupBox Height="auto" >
<Grid Margin="0,0,0,0">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="1.5*" />
<ColumnDefinition Width="3*" />
<ColumnDefinition Width="1.5*" />
</Grid.ColumnDefinitions>
<Label x:Name="frameAdvantageLabel" Grid.Column="1" Content="P1 frame advantage: " HorizontalAlignment="Center" VerticalAlignment="Top" Margin="0,0,0,0"/>
<Label x:Name="fa1Label" Grid.Column="1" Content="F" HorizontalAlignment="Center" Margin="0,20,0,0" VerticalAlignment="Top"/>
<Button x:Name="clearButton" Grid.Column="1" Content="Clear" HorizontalAlignment="Center" VerticalAlignment="Top" Margin="45,90,45,0" Click="clearGapsString"/>
<Label x:Name="gapsLabel" Grid.Column="0" Content="Gaps:" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,10,0,0" />
<TextBox x:Name="gaps1Textblock" Grid.Column="0" Text="" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="0,48,0,0" TextWrapping="Wrap" IsReadOnly="True" Height="60" Width="50"/>
<Label x:Name="gaps2Label" Grid.Column="2" Content="Gaps:" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,10,0,0" />
<TextBox x:Name="gaps2Textblock" Grid.Column="2" Text="" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,48,0,0" TextWrapping="Wrap" IsReadOnly="True" Height="60" Width="50" />
</Grid>
</GroupBox>
</Expander>
<CheckBox x:Name="checkbox" Content="Save/Reset keys" HorizontalAlignment="Center" Margin="123,0,124,0" Grid.Row="1" VerticalAlignment="Top" Click="MenuItem_Click_1"/>
</Grid>
</DockPanel>
</Window>