Files
SpdUp/Views/BoostView.xaml
T
Phil-icyou 19ba425e79 Initial commit: SpdUp Windows Gaming Booster v1.0.0
- .NET 8 WPF app with full MVVM architecture
- One-click boost: CPU, RAM, GPU, network, services, timer resolution
- Real-time system monitor (LibreHardwareMonitor)
- Auto game detection (30+ games)
- RAM optimizer with kernel-level cleanup
- Network optimizer (TCP registry tweaks)
- Service manager, process manager, shader cache cleaner
- Desktop widget overlay
- Debug log viewer
- Custom dark gaming theme with trans pride colors
- 84 unit tests (xUnit)
- Inno Setup installer script
- Landing page website
2026-03-08 17:34:45 +01:00

56 lines
3.0 KiB
XML

<UserControl x:Class="SpdUp.Views.BoostView"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:conv="clr-namespace:SpdUp.Converters">
<UserControl.Resources>
<conv:BoostButtonTextConverter x:Key="BoostText" />
<conv:BoostButtonColorConverter x:Key="BoostColor" />
<conv:BoolToVisibilityConverter x:Key="BoolVis" />
</UserControl.Resources>
<StackPanel>
<!-- BOOST Button Hero -->
<Border Style="{StaticResource Card}" Padding="40" HorizontalAlignment="Stretch">
<StackPanel HorizontalAlignment="Center">
<TextBlock Text="One-Click Game Boost" FontSize="18" FontWeight="Bold"
Foreground="{StaticResource TextPrimaryBrush}" HorizontalAlignment="Center"
Margin="0,0,0,8" />
<TextBlock Text="Frees RAM · Stops services · Sets priority · Reduces latency"
FontSize="12" Foreground="{StaticResource TextSecondaryBrush}"
HorizontalAlignment="Center" Margin="0,0,0,20" />
<Button MinWidth="260" MinHeight="56" FontSize="18"
Style="{StaticResource PrimaryButton}"
Content="{Binding Main.IsBoosted, Converter={StaticResource BoostText}}"
Background="{Binding Main.IsBoosted, Converter={StaticResource BoostColor}}"
Command="{Binding BoostCommand}" HorizontalAlignment="Center" />
<TextBlock Text="{Binding Main.StatusText}" FontSize="12" Margin="0,12,0,0"
Foreground="{StaticResource TextSecondaryBrush}" HorizontalAlignment="Center" />
</StackPanel>
</Border>
<!-- Quick Tools -->
<TextBlock Text="Quick Tools" FontSize="14" FontWeight="Bold"
Foreground="{StaticResource TextPrimaryBrush}" Margin="0,8,0,12" />
<WrapPanel>
<Button Style="{StaticResource SecondaryButton}" Content="🧹 Clean RAM"
Command="{Binding CleanRamCommand}" Margin="0,0,8,8" MinWidth="140" />
<Button Style="{StaticResource SecondaryButton}" Content="🗑 Clean Shader Cache"
Command="{Binding CleanShadersCommand}" Margin="0,0,8,8" MinWidth="160" />
</WrapPanel>
<!-- Boost Log -->
<TextBlock Text="Boost Log" FontSize="14" FontWeight="Bold"
Foreground="{StaticResource TextPrimaryBrush}" Margin="0,12,0,8" />
<Border Style="{StaticResource Card}" MaxHeight="300">
<ScrollViewer VerticalScrollBarVisibility="Auto">
<TextBlock Text="{Binding BoostLog}" FontSize="11" FontFamily="Consolas"
Foreground="{StaticResource TextSecondaryBrush}" TextWrapping="Wrap" />
</ScrollViewer>
</Border>
</StackPanel>
</UserControl>