-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMainWindow.xaml
More file actions
120 lines (108 loc) · 5.06 KB
/
Copy pathMainWindow.xaml
File metadata and controls
120 lines (108 loc) · 5.06 KB
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
113
114
115
116
117
118
119
120
<Window x:Class="SboxCllGui.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Sbox CLL Tool"
ResizeMode="NoResize"
Width="500"
Height="320"
Background="#222">
<Window.Resources>
<SolidColorBrush x:Key="DarkBackgroundBrush" Color="#222" />
<SolidColorBrush x:Key="AccentBrush" Color="#FFA500" />
<SolidColorBrush x:Key="LightForegroundBrush" Color="#FFF" />
<Style x:Key="FlatButtonStyle" TargetType="Button">
<Setter Property="Background" Value="{StaticResource AccentBrush}" />
<Setter Property="Foreground" Value="{StaticResource LightForegroundBrush}" />
<Setter Property="FontSize" Value="14" />
<Setter Property="Padding" Value="10,5" />
<Setter Property="Margin" Value="6" />
<Setter Property="BorderThickness" Value="0" />
<Setter Property="HorizontalAlignment" Value="Left" />
<Setter Property="VerticalAlignment" Value="Center" />
</Style>
<Style TargetType="TextBlock">
<Setter Property="Foreground" Value="{StaticResource LightForegroundBrush}" />
<Setter Property="FontSize" Value="14" />
<Setter Property="Margin" Value="6" />
<Setter Property="VerticalAlignment" Value="Center" />
</Style>
<Style TargetType="TextBox">
<Setter Property="Background" Value="#333" />
<Setter Property="Foreground" Value="{StaticResource LightForegroundBrush}" />
<Setter Property="BorderBrush" Value="#444" />
<Setter Property="BorderThickness" Value="1" />
<Setter Property="FontSize" Value="14" />
<Setter Property="Padding" Value="6" />
<Setter Property="Margin" Value="6" />
</Style>
</Window.Resources>
<Grid Margin="10">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<StackPanel Orientation="Horizontal" Grid.Row="0" HorizontalAlignment="Center">
<Button Content="Extract CLL"
Click="BtnExtract_Click"
Style="{StaticResource FlatButtonStyle}" />
<Button Content="Pack Folder to CLL"
Click="BtnPack_Click"
Style="{StaticResource FlatButtonStyle}" />
</StackPanel>
<Border Grid.Row="1" BorderBrush="#333" BorderThickness="0" Background="#222" Padding="0" Margin="0,20,0,0">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<TextBlock Text="CLL Metadata"
Grid.Row="0"
Grid.ColumnSpan="2"
FontWeight="Bold"
FontSize="16"
Margin="0,0,0,10" />
<TextBlock Text="Package Ident:"
Grid.Row="1"
Grid.Column="0" />
<TextBox x:Name="TxtPackageIdent"
Grid.Row="1"
Grid.Column="1"
Width="300"
Text="dxura.rp" />
<TextBlock Text="Compiler Settings:"
Grid.Row="2"
Grid.Column="0" />
<TextBox x:Name="TxtCompilerSettings"
Grid.Row="2"
Grid.Column="1"
Width="300">
<TextBox.Text>
<![CDATA[
{"RootNamespace":"Dxura.RP.Game","DefineConstants":"SANDBOX;ADDON;DEBUG","NoWarn":"1701;1702;1591;","WarningsAsErrors":"","TreatWarningsAsErrors":false,"Nullables":true,"ReleaseMode":1,"AssemblyReferences":[],"IgnoreFolders":["editor","unittest"],"DistinctAssemblyReferences":[]}
]]>
</TextBox.Text>
</TextBox>
<TextBlock Text="Project References:"
Grid.Row="3"
Grid.Column="0" />
<TextBox x:Name="TxtProjectReferences"
Grid.Row="3"
Grid.Column="1"
Width="300">
<TextBox.Text>
<![CDATA[
["Sandbox.System","Sandbox.Engine","Sandbox.Filesystem","Sandbox.Reflection","package.base","Sandbox.Game"]
]]>
</TextBox.Text>
</TextBox>
</Grid>
</Border>
</Grid>
</Window>