mirror of
https://github.com/crskycode/GARbro.git
synced 2024-12-12 22:36:58 +08:00
34 lines
2.0 KiB
XML
34 lines
2.0 KiB
XML
<Grid x:Class="GameRes.Formats.GUI.WidgetDPK"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:s="clr-namespace:GameRes.Formats.Strings"
|
|
xmlns:p="clr-namespace:GameRes.Formats.Properties"
|
|
xmlns:dac="clr-namespace:GameRes.Formats.Dac">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto"/>
|
|
<ColumnDefinition MinWidth="130" Width="*"/>
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
<RowDefinition/>
|
|
</Grid.RowDefinitions>
|
|
<Label Content="{x:Static s:arcStrings.LabelEncScheme}" Target="{Binding ElementName=EncScheme}"
|
|
Grid.Column="0" Grid.Row="0" HorizontalAlignment="Right"/>
|
|
<ComboBox Name="EncScheme" Grid.Column="1" Grid.Row="0" Margin="0,3,0,0" Width="200"
|
|
ItemsSource="{Binding Source={x:Static dac:DpkOpener.KnownSchemes}, Mode=OneWay}"
|
|
DisplayMemberPath="Name" SelectedValuePath="Name"
|
|
SelectedValue="{Binding Source={x:Static p:Settings.Default}, Path=DPKLastScheme, Mode=TwoWay}"/>
|
|
<TextBox Name="Original" Background="Transparent" BorderThickness="0" Text="{Binding Path=OriginalTitle}"
|
|
IsReadOnly="True" TextWrapping="NoWrap" Grid.Column="1" Grid.Row="1" Margin="0,3,0,3"
|
|
DataContext="{Binding ElementName=EncScheme, Path=SelectedItem}"/>
|
|
<Label Content="{x:Static s:arcStrings.DPKKeys}" Target="{Binding ElementName=Key1}"
|
|
ToolTip="{x:Static s:arcStrings.ArcHex32Bit}"
|
|
Grid.Column="0" Grid.Row="2" HorizontalAlignment="Right"/>
|
|
<TextBox Name="Key1" Grid.Column="1" Grid.Row="2" Margin="0,3,0,3" Width="100" HorizontalAlignment="Left"
|
|
ToolTip="{x:Static s:arcStrings.ArcHex32Bit}"/>
|
|
<TextBox Name="Key2" Grid.Column="1" Grid.Row="3" Margin="0,3,0,3" Width="100" HorizontalAlignment="Left"
|
|
ToolTip="{x:Static s:arcStrings.ArcHex32Bit}"/>
|
|
</Grid>
|