first commit

This commit is contained in:
Beyhan Oğur
2026-09-03 04:45:36 +03:00
commit d5f52cc3d3
1038 changed files with 169579 additions and 0 deletions
+318
View File
@@ -0,0 +1,318 @@
<Application x:Class="ClassicAssist.Launcher.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:ClassicAssist.Launcher"
StartupUri="MainWindow.xaml">
<Application.Resources>
<ResourceDictionary>
<DrawingImage x:Key="PlayIcon">
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V512 H512 V0 H0 Z">
<GeometryDrawing Brush="#FFDEECF1"
Geometry="F1 M512,512z M0,0z M256,512C115.390625,512 0,396.609375 0,256 0,115.390625 115.390625,0 256,0 396.609375,0 512,115.390625 512,256 512,396.609375 396.609375,512 256,512z M256,512" />
<GeometryDrawing Brush="#FFC6E2E7"
Geometry="F1 M512,512z M0,0z M512,256C512,115.390625,396.609375,0,256,0L256,512C396.609375,512,512,396.609375,512,256z M512,256" />
<GeometryDrawing Brush="#FF384949"
Geometry="F1 M512,512z M0,0z M181,107.976562L181,404.023438 403.039062,256z M181,107.976562" />
<GeometryDrawing Brush="#FF293939"
Geometry="F1 M512,512z M0,0z M256,354.023438L403.039062,256 256,157.976562z M256,354.023438" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
<DrawingImage x:Key="RefreshButton">
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V512 H512 V0 H0 Z">
<GeometryDrawing Brush="#FF32D736"
Geometry="F1 M512,512z M0,0z M443.5,15.099C441.7,3.1,426.7,-2.001,418.001,6.7L387.1,37.599C347.5,13.599 302.5,0 256,0 116.499,0 3.6,110.2 0,249.399 0,257.199 5.4,263.8 12.9,264.699L73.9,273.398C82.9,274.599 91,267.7 91,258.398 90.399,213.698 107.199,172 138.701,140.2 169.9,108.399 211.601,91 256,91 278.2,91 300.399,95.499 320.501,104.2L290.799,133.9C282.1,142.599,287.199,157.599,299.2,159.399L447.7,180.7C457.599,182.2,466.3,173.5,464.8,163.6L443.5,15.099z" />
<GeometryDrawing Brush="#FFFD003A"
Geometry="F1 M512,512z M0,0z M499.1,248.5L438.1,239.799C430,238.9 421,245.799 421,256 421,346.899 346.901,421 256,421 233.8,421 211.901,416.499 191.8,407.8L220.601,378.999C229.3,370.3,224.201,355.3,211.902,353.8L63.401,332.5C53.801,331,45.1,339.399,46.601,349.3L67.9,497.8C69.401,510.099,84.401,515.201,93.101,506.499L124.901,474.699C164.5,498.399 209.5,512 256,512 394.9,512 507.8,402.4 512,263.8 512,256 506.6,249.399 499.1,248.5z" />
<GeometryDrawing Brush="#FF10BB67"
Geometry="F1 M512,512z M0,0z M320.501,104.2C300.399,95.499,278.2,91,256,91L256,0C302.5,0,347.5,13.599,387.1,37.599L418.001,6.7C426.7,-2.001,441.7,3.1,443.5,15.099L464.801,163.599C466.301,173.5,457.599,182.199,447.701,180.699L299.201,159.398C287.2,157.598,282.101,142.598,290.8,133.899L320.501,104.2z" />
<GeometryDrawing Brush="#FFE50027"
Geometry="F1 M512,512z M0,0z M512,263.8C507.8,402.4,394.9,512,256,512L256,421C346.901,421 421,346.899 421,256 421,245.799 430,238.9 438.1,239.799L499.1,248.5C506.6,249.399,512,256,512,263.8z" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
<DrawingImage x:Key="AddIcon">
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V512 H512 V0 H0 Z">
<DrawingGroup Opacity="1">
<DrawingGroup Opacity="1">
<GeometryDrawing Brush="#FF000000"
Geometry="F1 M512,512z M0,0z M492,236L276,236 276,20C276,8.954 267.046,0 256,0 244.954,0 236,8.954 236,20L236,236 20,236C8.954,236 0,244.954 0,256 0,267.046 8.954,276 20,276L236,276 236,492C236,503.046 244.954,512 256,512 267.046,512 276,503.046 276,492L276,276 492,276C503.046,276 512,267.046 512,256 512,244.954 503.046,236 492,236z" />
</DrawingGroup>
</DrawingGroup>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
<DrawingImage x:Key="RemoveIcon">
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V512.001 H512.001 V0 H0 Z">
<DrawingGroup Opacity="1">
<DrawingGroup Opacity="1">
<GeometryDrawing Brush="#FF000000"
Geometry="F1 M512.001,512.001z M0,0z M294.111,256.001L504.109,46.003C514.632,35.479 514.632,18.417 504.109,7.894 493.585,-2.63 476.522,-2.63 465.999,7.894L256,217.892 46.002,7.894C35.478,-2.63 18.416,-2.63 7.893,7.894 -2.63,18.418 -2.631,35.48 7.893,46.003L217.891,256.001 7.893,465.999C-2.631,476.523 -2.631,493.585 7.893,504.108 18.417,514.632 35.479,514.631 46.002,504.108L256,294.11 465.997,504.108C476.521,514.632 493.584,514.631 504.107,504.108 514.63,493.584 514.63,476.522 504.107,465.999L294.111,256.001z" />
</DrawingGroup>
</DrawingGroup>
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
<DrawingImage x:Key="RefreshIcon">
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,0 V512 H512 V0 H0 Z">
<GeometryDrawing Brush="#FF000000"
Geometry="F1 M512,512z M0,0z M61.496094,279.609375C60.507812,271.375 60,263.195312 60,256 60,148.597656 148.597656,60 256,60 306.097656,60 353,80.199219 387.5,111.699219L370.199219,129.300781C366.300781,133.199219 364.800781,138.898438 366.300781,144.300781 368.101562,149.398438 372.300781,153.300781 377.699219,154.5 380.71875,155.105469 479.914062,187.070312 473.597656,185.800781 481.632812,188.476562 493.515625,179.90625 491.300781,168.101562 490.691406,165.078125 468.730469,54.886719 470,61.199219 468.800781,55.800781 464.898438,51.300781 459.5,49.800781 454.402344,48.300781 448.699219,49.800781 444.800781,53.699219L430.101562,68.097656C384.800781,25.800781 322.597656,0 256,0 115.300781,0 5.6843418860808E-14,115.300781 5.6843418860808E-14,256L5.6843418860808E-14,256.597656C5.6843418860808E-14,265.054688 0.386719000000057,271.589844 0.835938000000057,276.589844 1.43359400000006,283.214844 6.31640600000006,288.640625 12.8398440000001,289.949219L43.6562500000001,296.109375C53.6875000000001,298.117188,62.7070310000001,289.707031,61.4960940000001,279.609375z M61.496094,279.609375" />
<GeometryDrawing Brush="#FF000000"
Geometry="F1 M512,512z M0,0z M499.25,222.027344L468.34375,215.730469C458.300781,213.683594 449.21875,222.101562 450.453125,232.246094 451.523438,241 452,249.511719 452,256 452,363.398438 363.402344,452 256,452 205.902344,452 159,431.800781 124.5,400L141.800781,382.699219C145.699219,378.800781 147.199219,373.101562 145.699219,367.699219 143.898438,362.597656 139.699219,358.699219 134.300781,357.5 131.28125,356.890625 32.085938,324.929688 38.402344,326.199219 33.300781,325.300781 28.199219,326.800781 24.902344,330.398438 21.300781,333.699219 19.800781,339.097656 20.699219,343.898438 21.308594,346.917969 43.273438,456.109375 42.003906,449.796875 43.199219,455.199219 47.101562,459.699219 52.5,461.195312 58.761719,462.765625 63.988281,460.867188 67.199219,457.296875L81.601562,442.898438C126.898438,485.199219 189.101562,512 256,512 396.699219,512 512,396.699219 512,256L512,255.097656C512,248.449219 511.757812,241.921875 511.203125,235.433594 510.632812,228.804688 505.769531,223.359375 499.25,222.027344z M499.25,222.027344" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
<DrawingImage x:Key="OptionsIcon">
<DrawingImage.Drawing>
<DrawingGroup ClipGeometry="M0,-76 V436 H512 V0 H-76 Z">
<DrawingGroup.Transform>
<TranslateTransform X="0" Y="76" />
</DrawingGroup.Transform>
<DrawingGroup Opacity="1">
<GeometryDrawing Brush="#FF1B5C91"
Geometry="F1 M512,512z M0,0z M0,44.59375L512,44.59375 512,74.59375 0,74.59375z M0,44.59375" />
<GeometryDrawing Brush="#FF1B5C91"
Geometry="F1 M512,512z M0,0z M0,165.09375L512,165.09375 512,195.09375 0,195.09375z M0,165.09375" />
<GeometryDrawing Brush="#FF1B5C91"
Geometry="F1 M512,512z M0,0z M0,290.574219L512,290.574219 512,320.574219 0,320.574219z M0,290.574219" />
</DrawingGroup>
<GeometryDrawing Brush="#FF0E2E4B"
Geometry="F1 M512,512z M0,0z M264.410156,290.574219L512,290.574219 512,320.574219 264.410156,320.574219z M264.410156,290.574219" />
<GeometryDrawing Brush="#FFFB4C2E"
Geometry="F1 M512,512z M0,0z M96.152344,125.484375C66.042969,125.484375 41.546875,149.980469 41.546875,180.09375 41.546875,210.203125 66.042969,234.699219 96.152344,234.699219 126.265625,234.699219 150.761719,210.203125 150.761719,180.09375 150.761719,149.980469 126.265625,125.484375 96.152344,125.484375z M96.152344,125.484375" />
<GeometryDrawing Brush="#FFFDBF00"
Geometry="F1 M512,512z M0,0z M264.410156,250.964844C234.296875,250.964844 209.800781,275.464844 209.800781,305.574219 209.800781,335.683594 234.296875,360.183594 264.410156,360.183594 294.519531,360.183594 319.019531,335.683594 319.019531,305.574219 319.019531,275.464844 294.519531,250.964844 264.410156,250.964844z M264.410156,250.964844" />
<GeometryDrawing Brush="#FFFF9100"
Geometry="F1 M512,512z M0,0z M264.410156,250.964844L264.410156,360.183594C294.519531,360.183594 319.019531,335.6875 319.019531,305.574219 319.019531,275.464844 294.519531,250.964844 264.410156,250.964844z M264.410156,250.964844" />
<GeometryDrawing Brush="#FF0E2E4B"
Geometry="F1 M512,512z M0,0z M264.410156,44.59375L512,44.59375 512,74.59375 264.410156,74.59375z M264.410156,44.59375" />
<GeometryDrawing Brush="#FF0E2E4B"
Geometry="F1 M512,512z M0,0z M264.410156,165.09375L512,165.09375 512,195.09375 264.410156,195.09375z M264.410156,165.09375" />
<GeometryDrawing Brush="#FF00D7DF"
Geometry="F1 M512,512z M0,0z M373.828125,0C343.71875,0 319.21875,24.496094 319.21875,54.609375 319.21875,84.71875 343.71875,109.21875 373.828125,109.21875 403.941406,109.21875 428.4375,84.71875 428.4375,54.609375 428.4375,24.496094 403.941406,0 373.828125,0z M373.828125,0" />
</DrawingGroup>
</DrawingImage.Drawing>
</DrawingImage>
<SolidColorBrush x:Key="ToolBarHorizontalBackground" Color="#FFEEF5FD" />
<SolidColorBrush x:Key="ToolBarToggleButtonVerticalBackground" Color="#FFEEF5FD" />
<SolidColorBrush x:Key="ToolBarButtonHover" Color="#210080FF" />
<SolidColorBrush x:Key="ToolBarGripper" Color="#FF6D6D6D" />
<Style x:Key="ToolBarVerticalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
<Setter Property="Background" Value="Transparent" />
<Setter Property="MinHeight" Value="0" />
<Setter Property="MinWidth" Value="0" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ToggleButton}">
<Border x:Name="Bd" SnapsToDevicePixels="true" CornerRadius="0,0,3,3"
Background="{TemplateBinding Background}">
<Canvas Width="7" VerticalAlignment="Bottom" SnapsToDevicePixels="true"
Margin="2,7,2,2" Height="6" HorizontalAlignment="Right">
<Path Data="M 1.5 1 L 1.5 6" Stroke="White" />
<Path Data="M 0.5 0 L 0.5 5" Stroke="{TemplateBinding Foreground}" />
<Path Data="M 3.5 0.5 L 7 3.5 L 4 6.5 Z" Fill="White" />
<Path Data="M 3 -0.5 L 6 2.5 L 3 5.5 Z" Fill="{TemplateBinding Foreground}" />
</Canvas>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="true">
<Setter Property="Background" TargetName="Bd"
Value="{StaticResource ToolBarButtonHover}" />
</Trigger>
<Trigger Property="IsKeyboardFocused" Value="true">
<Setter Property="Background" TargetName="Bd"
Value="{StaticResource ToolBarButtonHover}" />
</Trigger>
<Trigger Property="IsEnabled" Value="false">
<Setter Property="Foreground" Value="{StaticResource ToolBarGripper}" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true">
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
</DataTrigger>
</Style.Triggers>
</Style>
<SolidColorBrush x:Key="ToolBarVerticalBackground" Color="#FFEEF5FD" />
<SolidColorBrush x:Key="ToolBarToggleButtonHorizontalBackground" Color="#FFEEF5FD" />
<Style x:Key="ToolBarHorizontalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
<Setter Property="Background" Value="Transparent" />
<Setter Property="MinHeight" Value="0" />
<Setter Property="MinWidth" Value="0" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ToggleButton}">
<Border x:Name="Bd" SnapsToDevicePixels="true" CornerRadius="0,3,3,0"
Background="{TemplateBinding Background}">
<Canvas Width="6" VerticalAlignment="Bottom" SnapsToDevicePixels="true"
Margin="7,2,2,2" Height="7" HorizontalAlignment="Right">
<Path Data="M 1 1.5 L 6 1.5" Stroke="White" />
<Path Data="M 0 0.5 L 5 0.5" Stroke="{TemplateBinding Foreground}" />
<Path Data="M 0.5 4 L 6.5 4 L 3.5 7 Z" Fill="White" />
<Path Data="M -0.5 3 L 5.5 3 L 2.5 6 Z" Fill="{TemplateBinding Foreground}" />
</Canvas>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="true">
<Setter Property="Background" TargetName="Bd"
Value="{StaticResource ToolBarButtonHover}" />
</Trigger>
<Trigger Property="IsKeyboardFocused" Value="true">
<Setter Property="Background" TargetName="Bd"
Value="{StaticResource ToolBarButtonHover}" />
</Trigger>
<Trigger Property="IsEnabled" Value="false">
<Setter Property="Foreground" Value="{StaticResource ToolBarGripper}" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true">
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
</DataTrigger>
</Style.Triggers>
</Style>
<SolidColorBrush x:Key="ToolBarMenuBorder" Color="#FFB6BDC5" />
<SolidColorBrush x:Key="ToolBarSubMenuBackground" Color="#FFEEF5FD" />
<Style x:Key="ToolBarThumbStyle" TargetType="{x:Type Thumb}">
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type Thumb}">
<Border SnapsToDevicePixels="True" Padding="{TemplateBinding Padding}"
Background="Transparent">
<Rectangle>
<Rectangle.Fill>
<DrawingBrush ViewboxUnits="Absolute" ViewportUnits="Absolute"
Viewport="0,0,4,4" Viewbox="0,0,4,4" TileMode="Tile">
<DrawingBrush.Drawing>
<DrawingGroup>
<GeometryDrawing Brush="White" Geometry="M 1 1 L 1 3 L 3 3 L 3 1 z" />
<GeometryDrawing Brush="{StaticResource ToolBarGripper}"
Geometry="M 0 0 L 0 2 L 2 2 L 2 0 z" />
</DrawingGroup>
</DrawingBrush.Drawing>
</DrawingBrush>
</Rectangle.Fill>
</Rectangle>
</Border>
<ControlTemplate.Triggers>
<Trigger Property="IsMouseOver" Value="true">
<Setter Property="Cursor" Value="SizeAll" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
</Style>
<Style x:Key="ToolBarMainPanelBorderStyle" TargetType="{x:Type Border}">
<Setter Property="Margin" Value="0,0,11,0" />
<Setter Property="CornerRadius" Value="3,3,3,3" />
<Style.Triggers>
<DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true">
<Setter Property="CornerRadius" Value="0,0,0,0" />
</DataTrigger>
</Style.Triggers>
</Style>
<Style x:Key="ToolBarStyle1" TargetType="{x:Type ToolBar}">
<Setter Property="Background" Value="Transparent" />
<Setter Property="Template">
<Setter.Value>
<ControlTemplate TargetType="{x:Type ToolBar}">
<Grid x:Name="Grid" Margin="3,1,1,1" SnapsToDevicePixels="true">
<Grid x:Name="OverflowGrid" HorizontalAlignment="Right">
<ToggleButton x:Name="OverflowButton" ClickMode="Press" FocusVisualStyle="{x:Null}"
IsChecked="{Binding IsOverflowOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
IsEnabled="{TemplateBinding HasOverflowItems}"
Style="{StaticResource ToolBarHorizontalOverflowButtonStyle}" />
<Popup x:Name="OverflowPopup" AllowsTransparency="true" Focusable="false"
IsOpen="{Binding IsOverflowOpen, RelativeSource={RelativeSource TemplatedParent}}"
PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}"
Placement="Bottom" StaysOpen="false">
<Border x:Name="ToolBarSubMenuBorder"
BorderBrush="{StaticResource ToolBarMenuBorder}"
BorderThickness="1"
Background="{StaticResource ToolBarSubMenuBackground}"
RenderOptions.ClearTypeHint="Enabled">
<ToolBarOverflowPanel x:Name="PART_ToolBarOverflowPanel"
KeyboardNavigation.DirectionalNavigation="Cycle"
FocusVisualStyle="{x:Null}" Focusable="true"
Margin="2"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
KeyboardNavigation.TabNavigation="Cycle"
WrapWidth="200" />
</Border>
</Popup>
</Grid>
<Border x:Name="MainPanelBorder" BorderBrush="{TemplateBinding BorderBrush}"
BorderThickness="{TemplateBinding BorderThickness}"
Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}"
Style="{StaticResource ToolBarMainPanelBorderStyle}" HorizontalAlignment="Left"
Margin="0" Width="532.6">
<DockPanel KeyboardNavigation.TabIndex="1" KeyboardNavigation.TabNavigation="Local">
<Thumb x:Name="ToolBarThumb" Margin="-3,-1,0,0" Padding="6,5,1,6"
Style="{StaticResource ToolBarThumbStyle}" Width="10"
Visibility="Collapsed" />
<ContentPresenter x:Name="ToolBarHeader" ContentSource="Header"
HorizontalAlignment="Center" Margin="4,0,4,0"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
VerticalAlignment="Center" />
<ToolBarPanel x:Name="PART_ToolBarPanel" IsItemsHost="true" Margin="0,1,2,2"
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
</DockPanel>
</Border>
</Grid>
<ControlTemplate.Triggers>
<Trigger Property="IsOverflowOpen" Value="true">
<Setter Property="IsEnabled" TargetName="ToolBarThumb" Value="false" />
</Trigger>
<Trigger Property="Header" Value="{x:Null}">
<Setter Property="Visibility" TargetName="ToolBarHeader" Value="Collapsed" />
</Trigger>
<Trigger Property="ToolBarTray.IsLocked" Value="true">
<Setter Property="Visibility" TargetName="ToolBarThumb" Value="Collapsed" />
</Trigger>
<Trigger Property="Orientation" Value="Vertical">
<Setter Property="Margin" TargetName="Grid" Value="1,3,1,1" />
<Setter Property="Style" TargetName="OverflowButton"
Value="{StaticResource ToolBarVerticalOverflowButtonStyle}" />
<Setter Property="Height" TargetName="ToolBarThumb" Value="10" />
<Setter Property="Width" TargetName="ToolBarThumb" Value="Auto" />
<Setter Property="Margin" TargetName="ToolBarThumb" Value="-1,-3,0,0" />
<Setter Property="Padding" TargetName="ToolBarThumb" Value="5,6,6,1" />
<Setter Property="Margin" TargetName="ToolBarHeader" Value="0,0,0,4" />
<Setter Property="Margin" TargetName="PART_ToolBarPanel" Value="1,0,2,2" />
<Setter Property="DockPanel.Dock" TargetName="ToolBarThumb" Value="Top" />
<Setter Property="DockPanel.Dock" TargetName="ToolBarHeader" Value="Top" />
<Setter Property="HorizontalAlignment" TargetName="OverflowGrid" Value="Stretch" />
<Setter Property="VerticalAlignment" TargetName="OverflowGrid" Value="Bottom" />
<Setter Property="Placement" TargetName="OverflowPopup" Value="Right" />
<Setter Property="Margin" TargetName="MainPanelBorder" Value="0,0,0,11" />
<Setter Property="Background" Value="{StaticResource ToolBarVerticalBackground}" />
</Trigger>
<Trigger Property="IsEnabled" Value="false">
<Setter Property="Foreground"
Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
</Trigger>
</ControlTemplate.Triggers>
</ControlTemplate>
</Setter.Value>
</Setter>
<Style.Triggers>
<DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true">
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
</DataTrigger>
</Style.Triggers>
</Style>
</ResourceDictionary>
</Application.Resources>
</Application>