forked from topher-au/Farplane
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMainWindow.xaml
62 lines (59 loc) · 2.61 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
<Controls:MetroWindow x:Class="Farplane.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:Controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:local="clr-namespace:Farplane"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:p="clr-namespace:Farplane.Properties"
Title="Farplane v{0} - Final Fantasy X/X-2 HD Remaster Editor"
Width="540"
Height="400"
BorderThickness="0"
GlowBrush="Black"
Icon="Resources/Farplane_Icon.ico"
IsMaxRestoreButtonEnabled="False"
ResizeMode="NoResize"
ShowIconOnTitleBar="False"
ShowMaxRestoreButton="False"
TitleCaps="False"
WindowStartupLocation="CenterScreen"
mc:Ignorable="d">
<Controls:MetroWindow.RightWindowCommands>
<Controls:WindowCommands>
<Button Name="ButtonConfig" Click="ButtonConfig_Click">
<Image Width="16"
Height="16"
Source="Resources/Images/settings.png" />
</Button>
</Controls:WindowCommands>
</Controls:MetroWindow.RightWindowCommands>
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="280" />
<RowDefinition Height="90" />
</Grid.RowDefinitions>
<Image Grid.Row="0"
Margin="5"
MouseDown="SplashLogo_MouseDown"
Source="Resources/Farplane_Splash.png" />
<DockPanel Grid.Row="1">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<Button Grid.Column="0"
Margin="5"
Click="FFX_Click"
Content="Final Fantasy X"
FontSize="16" />
<Button Grid.Column="1"
Margin="5"
Click="FFX2_Click"
Content="Final Fantasy X-2"
FontSize="16" />
</Grid>
</DockPanel>
</Grid>
</Controls:MetroWindow>