2025-11-16 15:44:14 +08:00
|
|
|
<Window x:Class="BallanceTasEditor.Views.PreferenceDialog"
|
|
|
|
|
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:BallanceTasEditor.Views"
|
|
|
|
|
mc:Ignorable="d" WindowStartupLocation="CenterOwner" WindowStyle="ToolWindow"
|
2025-11-17 10:42:50 +08:00
|
|
|
Title="Editor Preference" Height="450" Width="400" Icon="/Assets/Preference.ico">
|
2025-11-16 15:44:14 +08:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.RowDefinitions>
|
|
|
|
|
<RowDefinition Height="*"/>
|
|
|
|
|
<RowDefinition Height="auto"/>
|
|
|
|
|
</Grid.RowDefinitions>
|
|
|
|
|
|
|
|
|
|
<ScrollViewer Grid.Row="0" VerticalScrollBarVisibility="Visible">
|
|
|
|
|
<StackPanel Orientation="Vertical">
|
2025-11-17 10:42:50 +08:00
|
|
|
<GroupBox Margin="10" Padding="10">
|
|
|
|
|
<GroupBox.Header>
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
<ContentControl Content="{StaticResource IconGroupEditorLayout}" Height="16" Width="16"/>
|
|
|
|
|
<TextBlock Text="Editor Layout" Margin="5,0,0,0" VerticalAlignment="Center"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</GroupBox.Header>
|
2025-11-16 15:44:14 +08:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<RadioButton Content="Horizontal Layout" GroupName="EditorLayout" Grid.Column="0"/>
|
|
|
|
|
<RadioButton Content="Vertical Layout" GroupName="EditorLayout" Grid.Column="1"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</GroupBox>
|
2025-11-17 10:42:50 +08:00
|
|
|
<GroupBox Margin="10" Padding="10">
|
|
|
|
|
<GroupBox.Header>
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
<ContentControl Content="{StaticResource IconGroupPasteBehavior}" Height="16" Width="16"/>
|
|
|
|
|
<TextBlock Text="Paste Behavior" Margin="5,0,0,0" VerticalAlignment="Center"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</GroupBox.Header>
|
2025-11-16 15:44:14 +08:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<RadioButton Content="Insert Paste" GroupName="PasteBehavior" Grid.Column="0"/>
|
|
|
|
|
<RadioButton Content="Overwritten Paste" GroupName="PasteBehavior" Grid.Column="1"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</GroupBox>
|
2025-11-17 10:42:50 +08:00
|
|
|
<GroupBox Margin="10" Padding="10">
|
|
|
|
|
<GroupBox.Header>
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
<ContentControl Content="{StaticResource IconGroupFrameCount}" Height="16" Width="16"/>
|
|
|
|
|
<TextBlock Text="Frame Count" Margin="5,0,0,0" VerticalAlignment="Center"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</GroupBox.Header>
|
2025-11-16 15:44:14 +08:00
|
|
|
<TextBox Padding="3"/>
|
|
|
|
|
</GroupBox>
|
2025-11-17 10:42:50 +08:00
|
|
|
<GroupBox Margin="10" Padding="10">
|
|
|
|
|
<GroupBox.Header>
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
<ContentControl Content="{StaticResource IconGroupGamePath}" Height="16" Width="16"/>
|
|
|
|
|
<TextBlock Text="Game Path" Margin="5,0,0,0" VerticalAlignment="Center"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</GroupBox.Header>
|
2025-11-16 15:44:14 +08:00
|
|
|
<Grid>
|
|
|
|
|
<Grid.ColumnDefinitions>
|
|
|
|
|
<ColumnDefinition Width="*"/>
|
|
|
|
|
<ColumnDefinition Width="auto"/>
|
|
|
|
|
</Grid.ColumnDefinitions>
|
|
|
|
|
<TextBox IsReadOnly="True" Padding="3" Grid.Column="0"/>
|
|
|
|
|
<Button Content="Browse" Margin="5,0,0,0" MinWidth="80" Grid.Column="1"/>
|
|
|
|
|
</Grid>
|
|
|
|
|
</GroupBox>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</ScrollViewer>
|
|
|
|
|
|
|
|
|
|
<StackPanel Grid.Row="1" HorizontalAlignment="Right" Orientation="Horizontal" Margin="10">
|
2025-11-17 10:42:50 +08:00
|
|
|
<Button IsDefault="True" Padding="5" Margin="5" MinWidth="80">
|
|
|
|
|
<Button.Content>
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
<ContentControl Content="{StaticResource IconBtnOk}" Width="24" Height="24"/>
|
|
|
|
|
<TextBlock Text="OK" Margin="5,0,0,0" VerticalAlignment="Center"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Button.Content>
|
|
|
|
|
</Button>
|
|
|
|
|
<Button Padding="5" Margin="5" MinWidth="80">
|
|
|
|
|
<Button.Content>
|
|
|
|
|
<StackPanel Orientation="Horizontal">
|
|
|
|
|
<ContentControl Content="{StaticResource IconBtnCancel}" Width="24" Height="24"/>
|
|
|
|
|
<TextBlock Text="Cancel" Margin="5,0,0,0" VerticalAlignment="Center"/>
|
|
|
|
|
</StackPanel>
|
|
|
|
|
</Button.Content>
|
|
|
|
|
</Button>
|
2025-11-16 15:44:14 +08:00
|
|
|
</StackPanel>
|
|
|
|
|
</Grid>
|
|
|
|
|
</Window>
|