| 1234567891011121314151617181920212223242526272829303132333435363738 |
- <Window xmlns="https://github.com/avaloniaui"
- xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
- x:Class="SlamCross.Views.SettingsWindow"
- Title="Settings" Width="480" Height="400"
- WindowStartupLocation="CenterOwner">
- <ScrollViewer>
- <StackPanel Margin="16" Spacing="10">
- <TextBlock Text="Settings" FontSize="18" FontWeight="Bold"/>
- <CheckBox x:Name="StartEnabled" Content="Start polling on launch"/>
- <CheckBox x:Name="StartMinimized" Content="Start minimized"/>
- <CheckBox x:Name="HoldToPlay" Content="Hold key to play (instead of toggle)"/>
- <CheckBox x:Name="LogError" Content="Log errors to errorlog.txt"/>
- <CheckBox x:Name="WriteTags" Content="Show tags in track list"/>
- <Separator/>
- <TextBlock Text="Relay key (the key CS2 writes the command to):"/>
- <TextBox x:Name="RelayKeyBox" MaxLength="20" PlaceholderText="default: ="/>
- <Separator/>
- <CheckBox x:Name="OverrideFolders" Content="Override Steam folder detection"
- IsCheckedChanged="OverrideChanged"/>
- <Grid x:Name="OverridePanel" ColumnDefinitions="Auto,*" RowDefinitions="Auto,8,Auto"
- IsVisible="False">
- <TextBlock Grid.Row="0" Grid.Column="0" Text="steamapps path:" VerticalAlignment="Center" Margin="0,0,8,0"/>
- <TextBox Grid.Row="0" Grid.Column="1" x:Name="SteamAppsBox"/>
- <TextBlock Grid.Row="2" Grid.Column="0" Text="userdata path:" VerticalAlignment="Center" Margin="0,0,8,0"/>
- <TextBox Grid.Row="2" Grid.Column="1" x:Name="UserDataBox"/>
- </Grid>
- <Separator/>
- <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" Spacing="8">
- <Button Content="Save" Click="Save_Click"/>
- <Button Content="Close" Click="Close_Click"/>
- </StackPanel>
- </StackPanel>
- </ScrollViewer>
- </Window>
|