54 lines
2.7 KiB
XML
54 lines
2.7 KiB
XML
<UserControl xmlns="https://github.com/avaloniaui"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
x:Class="gregExtractor.GUI.Views.SettingsView">
|
|
<Grid RowDefinitions="*,Auto">
|
|
<Border Classes="greg-card" Grid.Row="0">
|
|
<ScrollViewer>
|
|
<StackPanel Spacing="10">
|
|
<TextBlock Text="Pfade" FontWeight="SemiBold"/>
|
|
<TextBlock Text="Game" Classes="greg-secondary"/>
|
|
<Grid ColumnDefinitions="*,Auto,Auto">
|
|
<TextBox Text="{Binding GamePath}" Classes="greg-input"/>
|
|
<Button Grid.Column="1" Content="Auto" Classes="greg-secondary" Command="{Binding AutoDetectGamePathCommand}"/>
|
|
<Button Grid.Column="2" Content="Browse" Classes="greg-secondary" Command="{Binding BrowseGamePathCommand}"/>
|
|
</Grid>
|
|
|
|
<TextBlock Text="Framework" Classes="greg-secondary"/>
|
|
<Grid ColumnDefinitions="*,Auto">
|
|
<TextBox Text="{Binding FrameworkSourcePath}" Classes="greg-input"/>
|
|
<Button Grid.Column="1" Content="Browse" Classes="greg-secondary" Command="{Binding BrowseFrameworkPathCommand}"/>
|
|
</Grid>
|
|
|
|
<TextBlock Text="Mod Output" Classes="greg-secondary"/>
|
|
<Grid ColumnDefinitions="*,Auto">
|
|
<TextBox Text="{Binding ModsOutputPath}" Classes="greg-input"/>
|
|
<Button Grid.Column="1" Content="Browse" Classes="greg-secondary" Command="{Binding BrowseOutputPathCommand}"/>
|
|
</Grid>
|
|
|
|
<Separator/>
|
|
<TextBlock Text="Optionen" FontWeight="SemiBold"/>
|
|
<CheckBox Content="Getter/Setter ignorieren" IsChecked="{Binding IgnoreGettersSetters}"/>
|
|
<CheckBox Content="Private Methoden einbeziehen" IsChecked="{Binding IncludePrivateMethods}"/>
|
|
<CheckBox Content="Backup vor Sync" IsChecked="{Binding BackupBeforeSync}"/>
|
|
<CheckBox Content="Git-Diff nach Sync" IsChecked="{Binding GitDiffAfterSync}"/>
|
|
<CheckBox Content="Animationen reduzieren" IsChecked="{Binding ReduceAnimations}"/>
|
|
<CheckBox Content="Monospace überall" IsChecked="{Binding MonospaceEverywhere}"/>
|
|
</StackPanel>
|
|
</ScrollViewer>
|
|
</Border>
|
|
|
|
<Border Grid.Row="1" Classes="greg-card">
|
|
<StackPanel Orientation="Horizontal" Spacing="8">
|
|
<Button Content="Debug-Info erzeugen" Classes="greg-primary" Command="{Binding CopyDebugInfoCommand}"/>
|
|
</StackPanel>
|
|
</Border>
|
|
|
|
<Border IsVisible="{Binding IsLoading}" Background="#880B1220" CornerRadius="12">
|
|
<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Spacing="8">
|
|
<ProgressBar IsIndeterminate="True" Width="220"/>
|
|
<TextBlock Text="Einstellungen werden geladen..."/>
|
|
</StackPanel>
|
|
</Border>
|
|
</Grid>
|
|
</UserControl>
|