|
526 | 526 | </EasingDoubleKeyFrame.EasingFunction>
|
527 | 527 | </EasingDoubleKeyFrame>
|
528 | 528 | </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> |
529 | 563 | </Storyboard>
|
530 | 564 | <Storyboard x:Key="StarMeAnimationBegin">
|
531 | 565 | <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="SupportMe">
|
|
616 | 650 | </Setter.Value>
|
617 | 651 | </Setter>
|
618 | 652 | </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> |
649 | 653 | <Storyboard x:Key="convertnormalanimationstart">
|
650 | 654 | <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[2].(RotateTransform.Angle)" Storyboard.TargetName="button">
|
651 | 655 | <EasingDoubleKeyFrame KeyTime="0" Value="0">
|
|
702 | 706 | <Window.Triggers>
|
703 | 707 | <EventTrigger RoutedEvent="FrameworkElement.Loaded">
|
704 | 708 | <BeginStoryboard Storyboard="{StaticResource Startup}"/>
|
705 |
| - <BeginStoryboard x:Name="TextBlockAnimationEnter_BeginStoryboard" Storyboard="{StaticResource TextBlockAnimationEnter}"/> |
706 |
| - <BeginStoryboard x:Name="TextBlockAnimationLeave_BeginStoryboard" Storyboard="{StaticResource TextBlockAnimationLeave}"/> |
707 | 709 | </EventTrigger>
|
708 | 710 | <EventTrigger RoutedEvent="UIElement.MouseEnter" SourceName="button">
|
709 | 711 | <BeginStoryboard x:Name="convertnormalanimationstart_BeginStoryboard" Storyboard="{StaticResource convertnormalanimationstart}"/>
|
|
717 | 719 | <EventTrigger RoutedEvent="UIElement.MouseLeave" SourceName="SupportMe">
|
718 | 720 | <BeginStoryboard x:Name="StarMeAnimationStop_BeginStoryboard" Storyboard="{StaticResource StarMeAnimationStop}"/>
|
719 | 721 | </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> |
726 | 722 | </Window.Triggers>
|
727 | 723 | <Grid x:Name="grid">
|
728 | 724 | <Grid.ColumnDefinitions>
|
|
785 | 781 | <DropShadowEffect ShadowDepth="0" RenderingBias="Quality" BlurRadius="10" Color="#FF131313"/>
|
786 | 782 | </Border.Effect>
|
787 | 783 | </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"> |
789 | 785 | <TextBlock.RenderTransform>
|
790 | 786 | <TransformGroup>
|
791 | 787 | <ScaleTransform/>
|
|
794 | 790 | <TranslateTransform/>
|
795 | 791 | </TransformGroup>
|
796 | 792 | </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"> |
798 | 794 | <TextBlock.RenderTransform>
|
799 | 795 | <TransformGroup>
|
800 | 796 | <ScaleTransform/>
|
|
813 | 809 | <TranslateTransform/>
|
814 | 810 | </TransformGroup>
|
815 | 811 | </TextBlock.RenderTransform><Run Text="© 2022 Sadcoy, Inc"/><Run Language="de-de" Text="."/></TextBlock>
|
816 |
| - <Button Style="{DynamicResource ExitButton}" x:Name="Exit" Content="" 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="" 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"> |
817 | 813 | <Button.RenderTransform>
|
818 | 814 | <TransformGroup>
|
819 | 815 | <ScaleTransform/>
|
|
832 | 828 | <TranslateTransform/>
|
833 | 829 | </TransformGroup>
|
834 | 830 | </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"> |
836 | 832 | <Button.RenderTransform>
|
837 | 833 | <TransformGroup>
|
838 | 834 | <ScaleTransform/>
|
|
852 | 848 | </TransformGroup>
|
853 | 849 | </Button.RenderTransform>
|
854 | 850 | </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"> |
856 | 874 | <Button.Effect>
|
857 | 875 | <DropShadowEffect ShadowDepth="0" Color="#FF7DFF00" BlurRadius="100" Opacity="0.2"/>
|
858 | 876 | </Button.Effect>
|
|
0 commit comments