2015-04-20 20:57:01 +04:00
|
|
|
<Grid x:Class="GameRes.Formats.GUI.WidgetWARC"
|
|
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
|
|
xmlns:fmt="clr-namespace:GameRes.Formats.ShiinaRio"
|
|
|
|
xmlns:p="clr-namespace:GameRes.Formats.Properties"
|
|
|
|
MaxWidth="250">
|
2015-06-11 12:32:52 +04:00
|
|
|
<Grid.RowDefinitions>
|
|
|
|
<RowDefinition/>
|
|
|
|
<RowDefinition/>
|
|
|
|
</Grid.RowDefinitions>
|
2015-04-20 20:57:01 +04:00
|
|
|
<ComboBox Name="Scheme" ItemsSource="{Binding Source={x:Static fmt:Decoder.KnownSchemes}, Mode=OneWay}"
|
|
|
|
SelectedValue="{Binding Source={x:Static p:Settings.Default}, Path=WARCScheme, Mode=TwoWay}"
|
|
|
|
SelectedValuePath="Name"
|
|
|
|
DisplayMemberPath="Name"
|
2015-06-11 12:32:52 +04:00
|
|
|
Width="200" Grid.Row="0"/>
|
|
|
|
<TextBox Name="Original" Background="Transparent" BorderThickness="0" Text="{Binding Path=OriginalTitle}"
|
|
|
|
IsReadOnly="True" TextWrapping="NoWrap" Grid.Row="1" Margin="0,3,0,3"
|
|
|
|
DataContext="{Binding ElementName=Scheme, Path=SelectedItem}"/>
|
2015-04-20 20:57:01 +04:00
|
|
|
</Grid>
|