-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMainWindow.xaml
102 lines (91 loc) · 10.5 KB
/
MainWindow.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
<Window x:Class="SettingsManager.MainWindow"
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:SettingsManager"
mc:Ignorable="d"
ResizeMode="NoResize"
WindowStartupLocation="CenterScreen"
Title="Settings Manager"
Background="{StaticResource BackgroundImage}"
Width="1280" Height="720">
<Window.Resources>
<Style TargetType="TextBlock">
<Setter Property="HorizontalAlignment" Value="Center" />
<Setter Property="Foreground" Value="#98CDE0" />
<Setter Property="FontSize" Value="18" />
<Setter Property="FontFamily" Value="{StaticResource QuadratGrotesk}" />
</Style>
</Window.Resources>
<Grid>
<Image Source="Images/spacewave.png" Stretch="UniformToFill">
<Image.Effect>
<BlurEffect Radius="15" RenderingBias="Quality"/>
</Image.Effect>
</Image>
<TabControl Name="Tabs" Background="Transparent" BorderThickness="0">
<TabControl.Resources>
<Style TargetType="{x:Type TabPanel}">
<Setter Property="HorizontalAlignment" Value="Center" />
</Style>
<Style TargetType="TabItem">
<Style.Triggers>
<Trigger Property="IsSelected" Value="True">
<Setter Property="Foreground" Value="Black" />
</Trigger>
</Style.Triggers>
<Setter Property="Height" Value="30" />
<Setter Property="Background" Value="Transparent" />
<Setter Property="BorderBrush" Value="Transparent" />
<Setter Property="Foreground" Value="#98CDE0" />
<Setter Property="FontFamily" Value="{StaticResource QuadratGrotesk}" />
<Setter Property="FontSize" Value="16" />
<Setter Property="VerticalAlignment" Value="Center"/>
</Style>
<Style TargetType="local:SettingsGroupTab" BasedOn="{StaticResource {x:Type TabItem}}" />
</TabControl.Resources>
<local:SettingsGroupTab local:LocalizationProvider.Path="GameGroup" Group="Game"/>
<local:SettingsGroupTab local:LocalizationProvider.Path="GraphicsGroup" Group="Graphics"/>
<local:SettingsGroupTab local:LocalizationProvider.Path="ControlsGroup" Group="Controls"/>
<local:SettingsGroupTab local:LocalizationProvider.Path="SoundGroup" Group="Sound"/>
<local:SettingsGroupTab local:LocalizationProvider.Path="LanguageGroup" Group="Language"/>
<TabItem local:LocalizationProvider.Path="InformationGroup">
<StackPanel>
<Separator Padding="0" Margin="0" />
<TextBlock TextAlignment="Center" Margin="0, 0, 0, 10">
<Run FontFamily="{StaticResource QuadratGroteskBold}">Settings Manager for Tanki X</Run>
<LineBreak />
Version 1.0
</TextBlock>
<TextBlock Margin="0, 0, 0, 10">Developer: C6OI</TextBlock>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<Viewbox Stretch="Fill" Margin="0, 0, 5, 0">
<Viewbox.LayoutTransform>
<TransformGroup>
<ScaleTransform ScaleX="0.04" ScaleY="0.04" />
<MatrixTransform Matrix="0.1 0 0 -0.1 -0.02672653 1275.2507" />
</TransformGroup>
</Viewbox.LayoutTransform>
<Grid>
<Path Fill="#B6FF16"
Data="m 11640.961,2697.959 c 0.321,17.886 -3.587,49.266 -11.282,69.085 -7.695,19.819 -165.756,259.275 -352.277,532.788 -185.636,273.05 -352.056,520.26 -369.419,549.645 -49.894,85.882 -50.861,81.873 68.628,334.231 l 104.666,223.998 47.593,34.928 c 47.593,34.927 57.462,36.539 679.246,114.372 346.996,44.306 647.808,82.285 668.896,85.932 47.996,7.635 93.777,41.254 117.864,87.338 19.918,38.109 210.588,1214.622 204.724,1261.692 -9.469,70.394 -46.45,103.263 -180.937,161.144 -273.446,115.842 -823.419,350.266 -949.467,404.864 l -141.154,60.237 -37.083,52.105 c -35.773,50.291 -39.118,63.323 -68.856,300.024 -16.784,136.277 -27.908,263.953 -24.424,283.571 16.714,83.79 24.005,91.262 558.944,538.326 549.017,458.886 534.012,445.29 539.124,530.63 1.65,42.015 -473.071,1128.507 -508.662,1164.035 -21.996,20.524 -38.834,29.325 -68.241,35.668 -25.862,4.49 -268.042,-31.412 -675.42,-100.575 -551.833,-92.957 -642.852,-105.186 -685.593,-94.13 -64.09,17.701 -64.09,17.701 -278.608,276.51 -192.22,230.229 -214.74,271.337 -203.424,353.434 3.564,24.09 91.59,317.716 197.378,653.962 201.146,639.582 201.65,642.704 168.857,709.491 -37.95,78.51 -1039.9171,747.769 -1081.5283,722.127 -6.3243,-3.464 -233.2094,-208.716 -504.2227,-455.219 -271.0133,-246.503 -507.3848,-456.951 -524.122,-467.385 -64.2496,-40.89 -109.3064,-34.266 -431.3328,66.348 -164.1351,50.81 -316.6285,102.305 -340.5571,114.812 -27.4736,14.359 -53.437,38.085 -69.9944,62.536 -18.7528,26.727 -79.5082,229.992 -196.6089,657.913 -92.7258,340.71 -177.816,633.422 -186.9005,650.583 -12.5894,21.248 -32.8524,38.609 -63.448,53.472 -40.7673,21.308 -97.5462,22.776 -600.2376,25.998 -305.4859,0.571 -572.582,-3.127 -593.7102,-9.009 -19.7787,-5.459 -50.0908,-24.595 -66.0623,-42.199 -27.8141,-29.468 -42.0723,-76.177 -194.6397,-650.88 -171.7792,-648.161 -179.7745,-669.934 -243.7216,-718.881 -34.9041,-25.762 -675.6974,-215.522 -732.9797,-217.176 -79.6394,-1.252 -96.4379,9.784 -401.9154,284.541 -703.831,633.038 -688.4222,619.342 -732.5526,627.739 -22.2766,4.873 -55.3892,4.127 -73.3553,-0.02 -17.966,-4.15 -244.1489,-145.452 -502.5771,-313.907 -425.8802,-277.265 -472.5462,-310.42 -491.5382,-346.756 -12.507,-23.929 -20.24,-55.994 -19.252,-75.693 1.874,-20.161 90.207,-306.67 197.394,-639.141 107.187,-332.471 195.016,-622.102 194.151,-645.345 0.749,-82.761 -10.288,-99.56 -252.497,-385.942 -124.771,-148.045 -238.001,-276.17 -251.999,-283.522 -71.843,-40.306 -81.672,-39.682 -747.534,68.006 -627.51199,101.184 -644.47099,103.278 -692.20599,85.35 -27.916,-10.233 -59.154,-31.141 -72.89,-48.786 -57.219,-72.773 -287.958,-591.95 -414.875,-934.079 -57.356,-155.072 -58.502,-193.965 -5.004,-253.521 17.101,-19.093 250.63,-215.624 519.065,-436.041 319.97899,-264.283 494.87399,-413.242 507.03999,-433.141 36.882,-63.283 36.742,-95.933 -1.735,-419.971 -40.731,-349.939 -52.21,-391.331 -120.588,-437.961 -17.2,-11.323 -284.15099,-131.318 -593.39699,-265.312 -309.71,-134.881 -575.734,-253.102 -592.471,-263.536 -21.712,-13.476 -35.911,-32.007 -50.854,-67.074 -20.9659997,-46.588 -18.9709997,-60.042 40.401,-414.913 120.779,-720.959 133.411,-789.621 148.538,-818.966 7.312,-16.234 32.349,-41.732 55.351,-56.011 36.679,-24.813 97.345,-33.955 688.3,-103.619 357.06999,-42.201 663.64499,-81.706 681.40999,-88.735 65.783,-23.099 93.238,-63.401 214.097,-307.108 63.854,-130.413 121.625,-250.877 126.701,-267.071 18.351,-49.084 13.601,-114.302 -13.225,-163.468 -12.507,-23.929 -177.596,-275.02 -366.491,-556.546 l -341.981,-511.809 -3.08,-46.91 c -0.905,-25.479 1.654,-57.282 6.771,-71.24 7.695,-19.819 676.867,-764.502 806.866,-897.893 47.415,-49.607 102.644,-62.676 172.352,-41.565 27.876,7.997 308.481,141.165 623.9106,295.623 565.8834,277.433 573.0939,280.434 633.4178,277.114 l 60.3239,-3.321 184.9841,-110.227 c 241.6235,-144.343 252.2182,-152.138 282.9364,-209.943 24.2121,-46.505 25.0793,-72.911 14.713,-699.372 -6.007,-359.06196 -8.3103,-661.38596 -6.2756,-672.60496 6.6479,-28.298 50.3172,-87.231 74.2458,-99.737 37.2223,-19.455 1198.5335,-334.197 1233.4185,-334.377 19.2351,0.102 51.159,9.368 73.294,21.494 43.3837,24.716 20.8067,-12.003 548.114,856.54 202.3473,333.16896 207.3623,338.44696 284.3218,364.79496 56.2544,19.117 440.0705,21.61 491.1702,2.8 25.7815,-8.962 53.1747,-27.793 70.7389,-46 15.7917,-17.281 181.0838,-277.44096 367.1234,-577.78296 322.4875,-522.859 339.0449,-547.31 381.5846,-569.545 24.3919,-11.62 56.4173,-21.589 72.0672,-21.87 28.1779,-0.06 1177.1747,343.825 1232.2002,369.226 17.5832,7.735 39.4559,30.153 57.4409,60.245 l 29.9483,48.663 -16.1407,644.82896 c -8.8371,354.41 -13.1202,663.561 -10.0194,686.764 10.692,72.268 44.8304,105.201 223.1582,221.868 180.1404,117.977 202.6984,128.753 266.6477,128.051 56.3559,-0.118 44.3715,5.017 688.2676,-304.449 532.149,-255.573 551.223,-264.415 600.409,-265.299 83.607,-1.95 30.295,-56.455 718.133,734.954 115.123,133.905 215.202,251.979 220.76,262.614 4.672,11.098 10.009,34.261 11.68,52.569 z M 9470.7495,4266.687 C 9311.4602,4039.646 9160.6484,3861.206 8980.8527,3687.76 8028.9852,2764.675 6621.7548,2412.461 5355.8265,2779.627 c -277.2107,80.574 -403.7618,132.05 -695.3365,284.449 -275.1992,142.711 -340.2378,182.346 -541.921,334.023 -947.0831,711.659 -1504.7094,1864.051 -1477.4684,3056.025 10.354,451.573 79.424,810.396 247.0215,1275.692 52.2609,145.323 314.2806,637.995 412.0616,777.58 510.3143,719.455 1200.0584,1218.752 2019.3635,1460.767 1171.394,345.718 2411.8983,106.933 3383.1934,-651.232 638.7079,-498.575 1112.5678,-1234.827 1309.7664,-2034.093 193.815,-788.471 132.358,-1594.717 -180.5079,-2353.057 -57.5382,-140.308 -276.3181,-541.617 -361.2496,-663.094 z" />
<Path Fill="#B6FF16"
Data="M 4954.957,8461.3347 H 3466.222 L 5532.2722,3673.2534 6266.9714,5315.372 Z" />
<Path Fill="#B6FF16"
Data="m 7852.1217,8461.3347 h 1488.735 L 7148.1356,3668.832 H 5659.3999 Z" />
</Grid>
</Viewbox>
<TextBlock VerticalAlignment="Center">
<Hyperlink FontFamily="{StaticResource QuadratGroteskBold}" FontSize="24"
Foreground="#B6FF16" NavigateUri="https://vint-official.site/"
RequestNavigate="Hyperlink_OnRequestNavigate">
Join to Vint!
</Hyperlink>
</TextBlock>
</StackPanel>
</StackPanel>
</TabItem>
</TabControl>
</Grid>
</Window>