-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSettingsMenu.xaml
112 lines (106 loc) · 6.98 KB
/
SettingsMenu.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<Window x:Class="Maid.SettingsMenu"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Maid"
xmlns:materialDesign="http://materialdesigninxaml.net/winfx/xaml/themes"
xmlns:System="clr-namespace:System;assembly=mscorlib"
xmlns:tz="http://schemas.abtsoftware.co.uk/transitionz"
xmlns:syncfusion="http://schemas.syncfusion.com/wpf"
TextElement.FontWeight="Regular"
TextElement.FontSize="13"
TextOptions.TextFormattingMode="Ideal"
TextOptions.TextRenderingMode="Auto"
materialDesign:ButtonAssist.CornerRadius="10"
FontFamily="Fredoka"
FontSize="20"
mc:Ignorable="d"
Title="SettingsMenu" Width="980" Height="720"
WindowStartupLocation="CenterScreen"
Left="700" Top="500"
WindowStyle="None"
ResizeMode="NoResize"
Background="White"
AllowsTransparency="True"
>
<Window.Resources>
<System:String x:Key="mainColor">#ff6599</System:String>
</Window.Resources>
<Canvas MouseLeftButtonDown="Canvas_MouseLeftButtonDown">
<Canvas.Background>
<ImageBrush ImageSource="images/Menu/bgPattern2.png" Opacity="0.5"/>
</Canvas.Background>
<Rectangle Height="30" Canvas.Left="935" StrokeThickness="5" Width="30" MouseLeftButtonDown="Rectangle_MouseLeftButtonDown" Canvas.Top="15" RenderTransformOrigin="-1.914,0.429">
<Rectangle.Fill>
<ImageBrush ImageSource="images/icon_x.png" Opacity="0.8"/>
</Rectangle.Fill>
</Rectangle>
<Grid x:Name ="Skin" Height="195" Canvas.Left="340" Canvas.Top="135"
tz:Transitionz.Visibility="{Binding IsVisible, ElementName=Skin}"
tz:Transitionz.Translate="{tz:TranslateParams Duration=400, From=0\,10, TransitionOn=Visibility, To=0\,0}"
tz:Transitionz.Opacity="{tz:OpacityParams Duration=200, From=0, TransitionOn=Visibility, To=1}">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="23*"/>
<ColumnDefinition Width="4*"/>
</Grid.ColumnDefinitions>
<Button Content="Default" FontSize="22" Width="135" Height="50" Background="{Binding Source={StaticResource mainColor}}" BorderBrush="White" BorderThickness="3" Margin="0,105,0,40" Grid.ColumnSpan="2" Foreground="White"/>
<Button x:Name="BtnChange" Content="Change" FontSize="22" Width="135" Height="50" Background="{Binding Source={StaticResource mainColor}}" BorderBrush="White" BorderThickness="3" Margin="0,22,0,123" Grid.ColumnSpan="2" Foreground="White"/>
</Grid>
<Button Content="Apply" FontSize="24" Canvas.Left="305" Canvas.Top="640" Width="150" Height="60" Background="{Binding Source={StaticResource mainColor}}" Foreground="White" BorderBrush="White" BorderThickness="3"
tz:Transitionz.Visibility="{Binding IsVisible, ElementName=Skin}"
tz:Transitionz.Translate="{tz:TranslateParams Duration=400, From=0\,10, TransitionOn=Visibility, To=0\,0}"
tz:Transitionz.Opacity="{tz:OpacityParams Duration=200, From=0, TransitionOn=Visibility, To=1}"/>
<Button Content="Cancel" FontSize="24" Canvas.Left="525" Canvas.Top="640" Width="150" Height="60" Background="{Binding Source={StaticResource mainColor}}" BorderBrush="White" BorderThickness="3" Foreground="White" />
<CheckBox x:Name="CbDisableFullScreen" Content="Disable in fullscreen" FontSize="10" Canvas.Left="615" Canvas.Top="85" Height="24" Width="171" Background="{Binding Source={StaticResource mainColor}}">
<CheckBox.LayoutTransform>
<ScaleTransform ScaleX="2" ScaleY="2" />
</CheckBox.LayoutTransform>
</CheckBox>
<CheckBox x:Name="CbSleep" Content="Sleep" FontSize="10" Canvas.Left="615" Canvas.Top="145" Height="24" Width="171" Background="{Binding Source={StaticResource mainColor}}" BorderBrush="{Binding Source={StaticResource mainColor}}">
<CheckBox.LayoutTransform>
<ScaleTransform ScaleX="2" ScaleY="2" />
</CheckBox.LayoutTransform>
</CheckBox>
<CheckBox x:Name="CbClimb" Content="Climb" FontSize="10" Canvas.Left="615" Canvas.Top="205" Height="24" Width="171" Background="{Binding Source={StaticResource mainColor}}">
<CheckBox.LayoutTransform>
<ScaleTransform ScaleX="2" ScaleY="2" />
</CheckBox.LayoutTransform>
</CheckBox>
<CheckBox x:Name="CbSeeScreen" Content="See screen activity" FontSize="10" Canvas.Left="615" Canvas.Top="265" Height="24" Width="171" Background="{Binding Source={StaticResource mainColor}}">
<CheckBox.LayoutTransform>
<ScaleTransform ScaleX="2" ScaleY="2" />
</CheckBox.LayoutTransform>
</CheckBox>
<CheckBox x:Name="CbSeeScreen_Copy" Content="Something something" FontSize="10" Canvas.Left="615" Canvas.Top="325" Height="24" Width="171" Background="{Binding Source={StaticResource mainColor}}">
<CheckBox.LayoutTransform>
<ScaleTransform ScaleX="2" ScaleY="2" />
</CheckBox.LayoutTransform>
</CheckBox>
<CheckBox x:Name="CbSeeScreen_Copy2" Content="Yepp" FontSize="10" Canvas.Left="615" Canvas.Top="385" Height="24" Width="171" Background="{Binding Source={StaticResource mainColor}}">
<CheckBox.LayoutTransform>
<ScaleTransform ScaleX="2" ScaleY="2" />
</CheckBox.LayoutTransform>
</CheckBox>
<TextBlock Text="Skin" FontSize="26" Canvas.Left="153" Canvas.Top="49"/>
<Rectangle Height="250" StrokeThickness="5" Width="250" Canvas.Left="60" Canvas.Top="110" Stroke="#FFFF6599">
<Rectangle.Fill>
<ImageBrush ImageSource="images/Menu/grid.jpg" Opacity="0.5"/>
</Rectangle.Fill>
</Rectangle>
<Rectangle Height="250" Width="250" Canvas.Left="70" Canvas.Top="180">
<Rectangle.Fill>
<ImageBrush ImageSource="images/idle1.png"/>
</Rectangle.Fill>
</Rectangle>
<TextBlock Text="Size" FontSize="26" Canvas.Left="215" Canvas.Top="464"/>
<Slider Canvas.Left="95" Canvas.Top="495" Width="200" Foreground="{Binding Source={StaticResource mainColor}}" BorderBrush="White" BorderThickness="3">
<Slider.LayoutTransform>
<ScaleTransform ScaleX="1.5" ScaleY="1.5" />
</Slider.LayoutTransform>
</Slider>
<TextBlock Canvas.Left="377" TextWrapping="Wrap" Text="500px" Canvas.Top="540"/>
<TextBlock Canvas.Left="72" TextWrapping="Wrap" Text="50px" Canvas.Top="540"/>
<TextBlock Canvas.Left="53" TextWrapping="Wrap" Canvas.Top="367"><Run Text="Recommended size: 125x125"/></TextBlock>
</Canvas>
</Window>