forked from crosire/reshade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Wizard.xaml
86 lines (86 loc) · 2.13 KB
/
Wizard.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
<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="ReShade.Setup.WizardWindow"
Title="Welcome"
Width="500"
Height="146"
WindowStyle="SingleBorderWindow"
WindowStartupLocation="CenterScreen"
ResizeMode="NoResize"
SourceInitialized="OnWindowInit"
Loaded="OnWindowLoaded">
<DockPanel
LastChildFill="True">
<Border
x:Name="ApiGroup"
DockPanel.Dock="Bottom"
IsEnabled="False"
VerticalAlignment="Top"
Margin="5,0,5,5"
BorderThickness="1"
CornerRadius="3"
Padding="5"
BorderBrush="White">
<StackPanel
Orientation="Horizontal"
HorizontalAlignment="Center">
<RadioButton
x:Name="ApiDirect3D9"
Content="Direct3D 9"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="8,0,0,0"
Click="OnApiChecked" />
<RadioButton
x:Name="ApiDirectXGI"
Content="Direct3D 10+"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="8,0,0,0"
Click="OnApiChecked" />
<RadioButton
x:Name="ApiOpenGL"
Content="OpenGL"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="8,0,0,0"
Click="OnApiChecked" />
</StackPanel>
</Border>
<Button
x:Name="SetupButton"
DockPanel.Dock="Top"
Margin="5,5,5,5"
AllowDrop="True"
Click="OnSetupButtonClick"
Drop="OnSetupButtonDragDrop">
<Grid
HorizontalAlignment="Stretch"
VerticalAlignment="Stretch"
Width="auto">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Label
x:Name="Message"
Grid.Row="0"
Grid.Column="0"
HorizontalAlignment="Center"
FontSize="14"
Content="Select game" />
<Label
x:Name="MessageDescription"
Grid.Row="1"
Grid.Column="0"
HorizontalAlignment="Center"
FontSize="10"
Content="(Press 'Ctrl' while clicking to extract binaries for manual installation)"/>
</Grid>
</Button>
</DockPanel>
</Window>