Skip to content

Commit 6cf63a8

Browse files
authored
Update MainWindow.xaml
1 parent 0b5f0ef commit 6cf63a8

File tree

1 file changed

+61
-43
lines changed

1 file changed

+61
-43
lines changed

Sadcoy/MainWindow.xaml

+61-43
Original file line numberDiff line numberDiff line change
@@ -526,6 +526,40 @@
526526
</EasingDoubleKeyFrame.EasingFunction>
527527
</EasingDoubleKeyFrame>
528528
</DoubleAnimationUsingKeyFrames>
529+
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="nameofcomputer">
530+
<EasingDoubleKeyFrame KeyTime="0" Value="0">
531+
<EasingDoubleKeyFrame.EasingFunction>
532+
<QuarticEase EasingMode="EaseInOut"/>
533+
</EasingDoubleKeyFrame.EasingFunction>
534+
</EasingDoubleKeyFrame>
535+
<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0">
536+
<EasingDoubleKeyFrame.EasingFunction>
537+
<QuarticEase EasingMode="EaseInOut"/>
538+
</EasingDoubleKeyFrame.EasingFunction>
539+
</EasingDoubleKeyFrame>
540+
<EasingDoubleKeyFrame KeyTime="0:0:3" Value="1">
541+
<EasingDoubleKeyFrame.EasingFunction>
542+
<QuarticEase EasingMode="EaseInOut"/>
543+
</EasingDoubleKeyFrame.EasingFunction>
544+
</EasingDoubleKeyFrame>
545+
</DoubleAnimationUsingKeyFrames>
546+
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.Opacity)" Storyboard.TargetName="services">
547+
<EasingDoubleKeyFrame KeyTime="0" Value="0">
548+
<EasingDoubleKeyFrame.EasingFunction>
549+
<QuarticEase EasingMode="EaseInOut"/>
550+
</EasingDoubleKeyFrame.EasingFunction>
551+
</EasingDoubleKeyFrame>
552+
<EasingDoubleKeyFrame KeyTime="0:0:2" Value="0">
553+
<EasingDoubleKeyFrame.EasingFunction>
554+
<QuarticEase EasingMode="EaseInOut"/>
555+
</EasingDoubleKeyFrame.EasingFunction>
556+
</EasingDoubleKeyFrame>
557+
<EasingDoubleKeyFrame KeyTime="0:0:3" Value="0.9">
558+
<EasingDoubleKeyFrame.EasingFunction>
559+
<QuarticEase EasingMode="EaseInOut"/>
560+
</EasingDoubleKeyFrame.EasingFunction>
561+
</EasingDoubleKeyFrame>
562+
</DoubleAnimationUsingKeyFrames>
529563
</Storyboard>
530564
<Storyboard x:Key="StarMeAnimationBegin">
531565
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="SupportMe">
@@ -616,36 +650,6 @@
616650
</Setter.Value>
617651
</Setter>
618652
</Style>
619-
<Storyboard x:Key="ButtonAnimationEnter"/>
620-
<Storyboard x:Key="ButtonAnimationLeave"/>
621-
<Storyboard x:Key="TextBlockAnimationEnter">
622-
<ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="textBlock4">
623-
<EasingThicknessKeyFrame KeyTime="0" Value="278,150,278,0">
624-
<EasingThicknessKeyFrame.EasingFunction>
625-
<QuarticEase EasingMode="EaseInOut"/>
626-
</EasingThicknessKeyFrame.EasingFunction>
627-
</EasingThicknessKeyFrame>
628-
<EasingThicknessKeyFrame KeyTime="0:0:0.4" Value="278,140,278,0">
629-
<EasingThicknessKeyFrame.EasingFunction>
630-
<QuarticEase EasingMode="EaseInOut"/>
631-
</EasingThicknessKeyFrame.EasingFunction>
632-
</EasingThicknessKeyFrame>
633-
</ThicknessAnimationUsingKeyFrames>
634-
</Storyboard>
635-
<Storyboard x:Key="TextBlockAnimationLeave">
636-
<ThicknessAnimationUsingKeyFrames Storyboard.TargetProperty="(FrameworkElement.Margin)" Storyboard.TargetName="textBlock4">
637-
<EasingThicknessKeyFrame KeyTime="0" Value="278,140,278,0">
638-
<EasingThicknessKeyFrame.EasingFunction>
639-
<QuarticEase EasingMode="EaseInOut"/>
640-
</EasingThicknessKeyFrame.EasingFunction>
641-
</EasingThicknessKeyFrame>
642-
<EasingThicknessKeyFrame KeyTime="0:0:0.4" Value="278,150,278,0">
643-
<EasingThicknessKeyFrame.EasingFunction>
644-
<QuarticEase EasingMode="EaseInOut"/>
645-
</EasingThicknessKeyFrame.EasingFunction>
646-
</EasingThicknessKeyFrame>
647-
</ThicknessAnimationUsingKeyFrames>
648-
</Storyboard>
649653
<Storyboard x:Key="convertnormalanimationstart">
650654
<DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="button">
651655
<EasingDoubleKeyFrame KeyTime="0" Value="0">
@@ -702,8 +706,6 @@
702706
<Window.Triggers>
703707
<EventTrigger RoutedEvent="FrameworkElement.Loaded">
704708
<BeginStoryboard Storyboard="{StaticResource Startup}"/>
705-
<BeginStoryboard x:Name="TextBlockAnimationEnter_BeginStoryboard" Storyboard="{StaticResource TextBlockAnimationEnter}"/>
706-
<BeginStoryboard x:Name="TextBlockAnimationLeave_BeginStoryboard" Storyboard="{StaticResource TextBlockAnimationLeave}"/>
707709
</EventTrigger>
708710
<EventTrigger RoutedEvent="UIElement.MouseEnter" SourceName="button">
709711
<BeginStoryboard x:Name="convertnormalanimationstart_BeginStoryboard" Storyboard="{StaticResource convertnormalanimationstart}"/>
@@ -717,12 +719,6 @@
717719
<EventTrigger RoutedEvent="UIElement.MouseLeave" SourceName="SupportMe">
718720
<BeginStoryboard x:Name="StarMeAnimationStop_BeginStoryboard" Storyboard="{StaticResource StarMeAnimationStop}"/>
719721
</EventTrigger>
720-
<EventTrigger RoutedEvent="UIElement.MouseEnter" SourceName="textBlock4">
721-
<BeginStoryboard x:Name="TextBlockAnimationEnter_BeginStoryboard1" Storyboard="{StaticResource TextBlockAnimationEnter}"/>
722-
</EventTrigger>
723-
<EventTrigger RoutedEvent="UIElement.MouseLeave" SourceName="textBlock4">
724-
<BeginStoryboard x:Name="TextBlockAnimationLeave_BeginStoryboard1" Storyboard="{StaticResource TextBlockAnimationLeave}"/>
725-
</EventTrigger>
726722
</Window.Triggers>
727723
<Grid x:Name="grid">
728724
<Grid.ColumnDefinitions>
@@ -785,7 +781,7 @@
785781
<DropShadowEffect ShadowDepth="0" RenderingBias="Quality" BlurRadius="10" Color="#FF131313"/>
786782
</Border.Effect>
787783
</Border>
788-
<TextBlock x:Name="textBlock4" HorizontalAlignment="Center" TextWrapping="Wrap" VerticalAlignment="Top" Height="146" Width="244" Foreground="#FFA5A5A5" FontFamily="Yu Gothic UI Semibold" FontSize="14" TextAlignment="Center" FontWeight="Normal" Margin="284.5,150,262.5,0" RenderTransformOrigin="0.5,0.5">
784+
<TextBlock x:Name="textBlock4" HorizontalAlignment="Left" TextWrapping="Wrap" VerticalAlignment="Top" Height="151" Width="244" Foreground="#FFA5A5A5" FontFamily="Yu Gothic UI Semibold" FontSize="16" TextAlignment="Center" FontWeight="Normal" Margin="285,148.654,0,0" RenderTransformOrigin="0.5,0.5">
789785
<TextBlock.RenderTransform>
790786
<TransformGroup>
791787
<ScaleTransform/>
@@ -794,7 +790,7 @@
794790
<TranslateTransform/>
795791
</TransformGroup>
796792
</TextBlock.RenderTransform><Run Text="Sadcoy is designed to improve performance and latency in games to enhance your gaming experience."/><LineBreak/><Run Text="This is an early alpha version, we are open for improvements and suggestions."/></TextBlock>
797-
<TextBlock x:Name="textBlock" HorizontalAlignment="Center" TextWrapping="Wrap" Text="WELCOME TO SADCOY" VerticalAlignment="Top" Height="31" Width="244" Foreground="White" FontSize="20" Margin="284.5,98,262.5,0" FontWeight="Normal" TextAlignment="Center" FontFamily="Yu Gothic UI Semibold" RenderTransformOrigin="0.5,0.5">
793+
<TextBlock x:Name="textBlock" HorizontalAlignment="Left" TextWrapping="Wrap" Text="WELCOME TO SADCOY" VerticalAlignment="Top" Height="31" Width="644" Foreground="White" FontSize="20" Margin="84,68,0,0" FontWeight="Normal" TextAlignment="Center" FontFamily="Yu Gothic UI Semibold" RenderTransformOrigin="0.5,0.5">
798794
<TextBlock.RenderTransform>
799795
<TransformGroup>
800796
<ScaleTransform/>
@@ -813,7 +809,7 @@
813809
<TranslateTransform/>
814810
</TransformGroup>
815811
</TextBlock.RenderTransform><Run Text="© 2022 Sadcoy, Inc"/><Run Language="de-de" Text="."/></TextBlock>
816-
<Button Style="{DynamicResource ExitButton}" x:Name="Exit" Content="&#xF13D;" Margin="690,44,63,0" VerticalAlignment="Top" Height="26" Foreground="#FF444444" BorderBrush="{x:Null}" Background="#FF131313" FontFamily="Segoe Fluent Icons" FontSize="24" Click="Exit_Click" FontWeight="Normal" RenderTransformOrigin="0.5,0.5" Cursor="Hand">
812+
<Button Style="{DynamicResource ExitButton}" x:Name="Exit" Content="&#xF13D;" Margin="700,44,63,0" VerticalAlignment="Top" Height="26" Foreground="#FF444444" BorderBrush="{x:Null}" Background="#FF131313" FontFamily="Segoe Fluent Icons" FontSize="24" Click="Exit_Click" FontWeight="Normal" RenderTransformOrigin="0.5,0.5" Cursor="Hand">
817813
<Button.RenderTransform>
818814
<TransformGroup>
819815
<ScaleTransform/>
@@ -832,7 +828,7 @@
832828
<TranslateTransform/>
833829
</TransformGroup>
834830
</TextBlock.RenderTransform><Run Text="SADCOY"/><Run Language="de-de" Text=" [BETA]"/></TextBlock>
835-
<Button Style="{DynamicResource ConvertNormal}" x:Name="SupportMe" Content="Star Me!" HorizontalAlignment="Left" Margin="634,48,0,0" VerticalAlignment="Top" Background="#FF131313" BorderBrush="{x:Null}" Foreground="#FF444444" FontFamily="Yu Gothic UI Semibold" Click="SupportMe_Click" RenderTransformOrigin="0.5,0.5" Cursor="Hand">
831+
<Button Style="{DynamicResource ConvertNormal}" x:Name="SupportMe" Content="Star Me!" HorizontalAlignment="Left" Margin="647,48,0,0" VerticalAlignment="Top" Background="#FF131313" BorderBrush="{x:Null}" Foreground="#FF444444" FontFamily="Yu Gothic UI Semibold" Click="SupportMe_Click" RenderTransformOrigin="0.5,0.5" Cursor="Hand">
836832
<Button.RenderTransform>
837833
<TransformGroup>
838834
<ScaleTransform/>
@@ -852,7 +848,29 @@
852848
</TransformGroup>
853849
</Button.RenderTransform>
854850
</Button>
855-
<Button Style="{DynamicResource RunOptimizerHover}" x:Name="accept" Margin="318,312,296,95" BorderBrush="{x:Null}" Background="#00171717" Foreground="White" FontSize="14" FontFamily="Yu Gothic UI Semibold" Click="RunSw_Click" FontWeight="Normal" RenderTransformOrigin="0.5,0.5" Content="RUN OPTIMIZER" Cursor="Hand">
851+
<Button Style="{DynamicResource RunOptimizerHover}" x:Name="accept" Margin="322.5,325.654,0,0" BorderBrush="{x:Null}" Background="#00171717" Foreground="White" FontSize="14" FontFamily="Yu Gothic UI Semibold" Click="RunSw_Click" FontWeight="Normal" RenderTransformOrigin="0.5,0.5" Content="RUN OPTIMIZER" Cursor="Hand" Height="43" VerticalAlignment="Top" HorizontalAlignment="Left" Width="169">
852+
<Button.Effect>
853+
<DropShadowEffect ShadowDepth="0" Color="#FF7DFF00" BlurRadius="100" Opacity="0.2"/>
854+
</Button.Effect>
855+
<Button.RenderTransform>
856+
<TransformGroup>
857+
<ScaleTransform/>
858+
<SkewTransform/>
859+
<RotateTransform/>
860+
<TranslateTransform/>
861+
</TransformGroup>
862+
</Button.RenderTransform>
863+
</Button>
864+
<TextBlock x:Name="nameofcomputer" HorizontalAlignment="Left" TextWrapping="Wrap" VerticalAlignment="Top" Height="31" Width="645" Foreground="White" FontSize="20" Margin="84,99,0,0" FontWeight="Normal" TextAlignment="Center" FontFamily="Yu Gothic UI" RenderTransformOrigin="0.5,0.5" Initialized="nameofcomputer_Initialized">
865+
<TextBlock.RenderTransform>
866+
<TransformGroup>
867+
<ScaleTransform/>
868+
<SkewTransform/>
869+
<RotateTransform/>
870+
<TranslateTransform/>
871+
</TransformGroup>
872+
</TextBlock.RenderTransform><Run Language="de-de" Text="NAME"/></TextBlock>
873+
<Button Style="{DynamicResource RunOptimizerHover}" x:Name="services" Margin="358,374,0,0" BorderBrush="{x:Null}" Background="#00171717" Foreground="White" FontSize="14" FontFamily="Yu Gothic UI Semibold" FontWeight="Normal" RenderTransformOrigin="0.5,0.5" Content="Services" Cursor="Hand" Height="24.63" VerticalAlignment="Top" HorizontalAlignment="Left" Width="96" Click="services_Click" Opacity="0.7">
856874
<Button.Effect>
857875
<DropShadowEffect ShadowDepth="0" Color="#FF7DFF00" BlurRadius="100" Opacity="0.2"/>
858876
</Button.Effect>

0 commit comments

Comments
 (0)