This repository has been archived by the owner on Sep 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
MainWindow.xaml
46 lines (43 loc) · 2.43 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
<Window x:Class="Phonon.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:Phonon"
Loaded="OnControlLoaded"
mc:Ignorable="d"
Title="Phonon" Height="1080" Width="1920" Name="Wind">
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="100*"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="2*" />
<RowDefinition Height="100*" />
</Grid.RowDefinitions>
<Menu Grid.Row="0" Background="#3d3d3d" Foreground="#FFE6E6E6">
<MenuItem Header="Texture Format" Background="#3d3d3d" Foreground="#FFE6E6E6">
<RadioButton GroupName="Texture" x:Name="None" Margin="5" Checked="ChangeTextureFormat" Content="None"/>
<RadioButton GroupName="Texture" x:Name="DDS" Margin="5" Checked="ChangeTextureFormat" Content="DDS RGBA"/>
<RadioButton GroupName="Texture" x:Name="TGA" Margin="5" Checked="ChangeTextureFormat" Content="TGA"/>
<RadioButton GroupName="Texture" x:Name="PNG" Margin="5" Checked="ChangeTextureFormat" Content="PNG"/>
</MenuItem>
<MenuItem Header="Version" Background="#3d3d3d" Foreground="#FFE6E6E6">
<RadioButton GroupName="Version" x:Name="Destiny1" Margin="5" Checked="ChangeVersion" Content="Destiny 1"/>
<RadioButton GroupName="Version" x:Name="Destiny2PREBL" Margin="5" Checked="ChangeVersion" Content="D2 Pre-Beyond Light"/>
<RadioButton GroupName="Version" x:Name="Destiny2BL" Margin="5" Checked="ChangeVersion" Content="D2 Beyond Light"/>
</MenuItem>
</Menu>
<TabControl x:Name="MainTabControl" Grid.Row="1" Background="#3d3d3d" Foreground="#FFE6E6E6">
<TabItem Header="Model Viewer" x:Name="ModelViewTab">
<local:ModelView x:Name="ModelViewItem"/>
</TabItem>
<TabItem Header="Map Extraction" x:Name="MapViewTab">
<local:MapView/>
</TabItem>
<TabItem Header="API Extraction" x:Name="APIViewTab">
<local:APIView/>
</TabItem>
</TabControl>
</Grid>
</Window>