GARbro-mirror/ArcFormats/NScripter/CreateONSWidget.xaml

22 lines
1.2 KiB
XML

<Grid x:Class="GameRes.Formats.GUI.CreateONSWidget"
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:gui="clr-namespace:GameRes.Formats.GUI">
<Grid.Resources>
<gui:CompressionToStringConverter x:Key="guiCompressionConverter" />
</Grid.Resources>
<StackPanel Orientation="Vertical">
<Label Content="{x:Static s:arcStrings.ONSCompression}" Target="{Binding ElementName=Compression}" Padding="4,0,0,5"/>
<ComboBox Name="Compression" Width="120" HorizontalAlignment="Left" SelectedValuePath="Content"
SelectedValue="{Binding Source={x:Static p:Settings.Default}, Path=ONSCompression, Mode=TwoWay, Converter={StaticResource guiCompressionConverter}}">
<ComboBoxItem Content="{x:Static s:arcStrings.ONSCompressionNone}"/>
<ComboBoxItem Content="SPB"/>
<ComboBoxItem Content="LZSS"/>
<!--not implemented
<ComboBoxItem Content="NBZ" Tag="NBZ"/>-->
</ComboBox>
</StackPanel>
</Grid>