|
3 | 3 | xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
4 | 4 | xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
5 | 5 | xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
6 | | - Width="800" Height="500" ResizeMode="NoResize" WindowStartupLocation="CenterOwner" GlowBrush="{DynamicResource AccentColorBrush}" |
| 6 | + Width="1085" Height="625" ResizeMode="NoResize" WindowStartupLocation="CenterOwner" GlowBrush="{DynamicResource AccentColorBrush}" |
7 | 7 | Title="Configurations" ShowTitleBar="False" Closed="MetroWindow_Closed"> |
8 | 8 | <controls:MetroWindow.Resources> |
9 | 9 | <ResourceDictionary> |
|
35 | 35 | <Grid Margin="0,5,0,5"> |
36 | 36 | <TextBlock Name="NameBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,00,0,0" Text="Name: " IsHitTestVisible="False" /> |
37 | 37 | <TextBlock Name="ScriptingDirBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,30,0,0" Text="Scripting Directories: " IsHitTestVisible="False" /> |
38 | | - <TextBlock Name="DelimitWiBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,43,0,0" Text="(Delimit with ; )" IsHitTestVisible="False" Foreground="Gray" /> |
| 38 | + <TextBlock x:Name="DelimitWiBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,43,0,0" IsHitTestVisible="False" Foreground="Gray" Width="150" ><Run Text="(Delimit with "/><Run Text="sem"/><Run Text="icolon"/><Run Text=" )"/></TextBlock> |
39 | 39 | <TextBlock Name="CopyDirBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,65,0,0" Text="Copy Directory: " IsHitTestVisible="False" /> |
40 | 40 | <TextBlock Name="ServerExeBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,95,0,0" Text="Server Executable: " IsHitTestVisible="False" /> |
41 | 41 | <TextBlock Name="ServerStartArgBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,125,0,0" Text="Server-Start Arguments: " IsHitTestVisible="False" /> |
42 | | - <TextBlock Name="PreBuildBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,160,0,0" Text="Pre-Build Commandline: " IsHitTestVisible="False" /> |
| 42 | + <TextBlock Name="PreBuildBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,158,0,0" Text="Pre-Build Commandline: " IsHitTestVisible="False" /> |
43 | 43 | <TextBlock Name="PostBuildBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,265,0,0" Text="Post-Build Commandline: " IsHitTestVisible="False" /> |
44 | 44 | <TextBlock Name="OptimizeBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,370,0,0" Text="Optimization Level: " IsHitTestVisible="False" /> |
45 | 45 | <TextBlock Name="VerboseBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,400,0,0" Text="Verbose Level: " IsHitTestVisible="False" /> |
46 | | - <CheckBox Name="C_AutoCopy" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="270,375,0,0" Content="Auto Copy after Compile" Checked="C_AutoCopy_Changed" Unchecked="C_AutoCopy_Changed" /> |
47 | | - <CheckBox Name="C_DeleteAfterCopy" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="270,405,0,0" Content="Delete old .smx after copy" Checked="C_DeleteAfterCopy_Changed" Unchecked="C_DeleteAfterCopy_Changed" /> |
48 | | - <TextBox Name="C_Name" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="145,0,5,0" TextChanged="C_Name_TextChanged" /> |
49 | | - <TextBox Name="C_SMDir" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="145,30,5,0" TextChanged="C_SMDir_TextChanged" |
| 46 | + <CheckBox Name="C_AutoCopy" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="321,370,0,0" Content="Auto Copy after Compile" Checked="C_AutoCopy_Changed" Unchecked="C_AutoCopy_Changed" /> |
| 47 | + <CheckBox Name="C_DeleteAfterCopy" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="321,399,0,0" Content="Delete old .smx after copy" Checked="C_DeleteAfterCopy_Changed" Unchecked="C_DeleteAfterCopy_Changed" /> |
| 48 | + <TextBox Name="C_Name" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="195,0,5,0" TextChanged="C_Name_TextChanged" /> |
| 49 | + <TextBox Name="C_SMDir" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="195,30,5,0" TextChanged="C_SMDir_TextChanged" |
50 | 50 | Style="{DynamicResource SearchMetroTextBox}" |
51 | 51 | controls:TextBoxHelper.ButtonCommand="{Binding TextBoxButtonFolderCmd, Mode=OneWay, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}}" /> |
52 | | - <TextBox Name="C_CopyDir" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="145,60,5,0" TextChanged="C_CopyDir_TextChanged" |
| 52 | + <TextBox Name="C_CopyDir" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="195,60,5,0" TextChanged="C_CopyDir_TextChanged" |
53 | 53 | Style="{DynamicResource SearchMetroTextBox}" |
54 | 54 | controls:TextBoxHelper.ButtonCommand="{Binding TextBoxButtonFolderCmd, Mode=OneWay, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}}" /> |
55 | | - <TextBox Name="C_ServerFile" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="145,90,5,0" TextChanged="C_ServerFile_TextChanged" |
| 55 | + <TextBox Name="C_ServerFile" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="195,90,5,0" TextChanged="C_ServerFile_TextChanged" |
56 | 56 | Style="{StaticResource SearchMetroTextBox}" |
57 | 57 | controls:TextBoxHelper.ButtonCommand="{Binding TextBoxButtonFileCmd, Mode=OneWay, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=Window}}" /> |
58 | | - <TextBox Name="C_ServerArgs" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="145,120,5,0" TextChanged="C_ServerArgs_TextChanged" /> |
| 58 | + <TextBox Name="C_ServerArgs" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="195,120,5,0" TextChanged="C_ServerArgs_TextChanged" /> |
59 | 59 | <TextBox Name="C_PreBuildCmd" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="5,180,5,0" Height="80" AcceptsReturn="True" VerticalScrollBarVisibility="Visible" TextChanged="C_PreBuildCmd_TextChanged" /> |
60 | 60 | <TextBox Name="C_PostBuildCmd" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="5,285,5,0" Height="80" AcceptsReturn="True" VerticalScrollBarVisibility="Visible" TextChanged="C_PostBuildCmd_TextChanged" /> |
61 | | - <Slider Name="C_OptimizationLevel" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="140,370,0,0" Width="75" Minimum="0" Maximum="2" TickFrequency="2" IsSnapToTickEnabled="True" TickPlacement="BottomRight" AutoToolTipPlacement="TopLeft" ValueChanged="C_OptimizationLevel_ValueChanged" /> |
62 | | - <Slider Name="C_VerboseLevel" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="140,400,0,0" Width="75" Minimum="0" Maximum="2" TickFrequency="1" IsSnapToTickEnabled="True" TickPlacement="BottomRight" AutoToolTipPlacement="TopLeft" ValueChanged="C_VerboseLevel_ValueChanged" /> |
| 61 | + <Slider Name="C_OptimizationLevel" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="195,370,0,0" Width="75" Minimum="0" Maximum="2" TickFrequency="2" IsSnapToTickEnabled="True" TickPlacement="BottomRight" AutoToolTipPlacement="TopLeft" ValueChanged="C_OptimizationLevel_ValueChanged" /> |
| 62 | + <Slider Name="C_VerboseLevel" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="195,400,0,0" Width="75" Minimum="0" Maximum="2" TickFrequency="1" IsSnapToTickEnabled="True" TickPlacement="BottomRight" AutoToolTipPlacement="TopLeft" ValueChanged="C_VerboseLevel_ValueChanged" /> |
63 | 63 | <TextBlock Name="FTPHostBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,435,0,0" Text="FTP Host:" IsHitTestVisible="False" /> |
64 | 64 | <TextBlock Name="FTPUserBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,465,0,0" Text="FTP User:" IsHitTestVisible="False" /> |
65 | 65 | <TextBlock Name="FTPPWBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,495,0,0" Text="FTP Password:" IsHitTestVisible="False" /> |
66 | 66 | <TextBlock Name="FTPDirBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,525,0,0" Text="FTP Directory:" IsHitTestVisible="False" /> |
67 | | - <TextBox Name="C_FTPHost" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="140,430,5,0" TextChanged="C_FTPHost_TextChanged" /> |
68 | | - <TextBox Name="C_FTPUser" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="140,460,5,0" TextChanged="C_FTPUser_TextChanged" /> |
69 | | - <PasswordBox Name="C_FTPPW" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="140,490,5,0" PasswordChanged="C_FTPPW_TextChanged" /> |
70 | | - <TextBox Name="C_FTPDir" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="140,520,5,0" TextChanged="C_FTPDir_TextChanged" /> |
| 67 | + <TextBox Name="C_FTPHost" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="195,430,5,0" TextChanged="C_FTPHost_TextChanged" /> |
| 68 | + <TextBox Name="C_FTPUser" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="195,460,5,0" TextChanged="C_FTPUser_TextChanged" /> |
| 69 | + <PasswordBox Name="C_FTPPW" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="195,490,5,0" PasswordChanged="C_FTPPW_TextChanged" /> |
| 70 | + <TextBox Name="C_FTPDir" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="195,520,5,0" TextChanged="C_FTPDir_TextChanged" /> |
71 | 71 | <ComboBox Name="CMD_ItemC" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,150,5,0" Text="Commandline variables" Width="200" SelectedIndex="0"> |
72 | 72 | <ComboBoxItem Name="ItemC_EditorDir" Content="{}{editordir} - Directory of the SPEdit binary" /> |
73 | 73 | <ComboBoxItem Name="ItemC_ScriptDir" Content="{}{scriptdir} - Directory of the Compiling script" /> |
|
82 | 82 | <TextBlock Name="RConPortBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,630,0,0" Text="RCon Server Port:" IsHitTestVisible="False" /> |
83 | 83 | <TextBlock Name="RConPWBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,660,0,0" Text="RCon Password:" IsHitTestVisible="False" /> |
84 | 84 | <TextBlock Name="RConComBlock" HorizontalAlignment="Left" VerticalAlignment="Top" Margin="5,690,0,0" Text="RCon Commands:" IsHitTestVisible="False" /> |
85 | | - <ComboBox Name="C_RConEngine" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="140,565,5,0" SelectionChanged="C_RConEngine_Changed"> |
| 85 | + <ComboBox Name="C_RConEngine" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="195,565,5,0" SelectionChanged="C_RConEngine_Changed"> |
86 | 86 | <ComboBoxItem Content="Source Engine" IsSelected="True" /> |
87 | 87 | <ComboBoxItem Content="Gold Source Engine" /> |
88 | 88 | </ComboBox> |
89 | | - <TextBox Name="C_RConIP" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="140,595,5,0" TextChanged="C_RConIP_TextChanged" /> |
90 | | - <TextBox Name="C_RConPort" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="140,625,5,0" TextChanged="C_RConPort_TextChanged" /> |
91 | | - <PasswordBox Name="C_RConPW" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="140,655,5,0" PasswordChanged="C_RConPW_TextChanged" /> |
| 89 | + <TextBox Name="C_RConIP" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="195,595,5,0" TextChanged="C_RConIP_TextChanged" /> |
| 90 | + <TextBox Name="C_RConPort" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="195,625,5,0" TextChanged="C_RConPort_TextChanged" /> |
| 91 | + <PasswordBox Name="C_RConPW" HorizontalAlignment="Stretch" VerticalAlignment="Top" Margin="195,655,5,0" PasswordChanged="C_RConPW_TextChanged" /> |
92 | 92 | <ComboBox Name="Rcon_MenuC" HorizontalAlignment="Right" VerticalAlignment="Top" Margin="0,685,5,0" Text="Rcon commandline variables" Width="200" SelectedIndex="0"> |
93 | 93 | <ComboBoxItem Name="MenuC_PluginsReload" Content="{}{plugins_reload} - Reloads all compiled plugins" /> |
94 | 94 | <ComboBoxItem Name="MenuC_PluginsLoad" Content="{}{plugins_load} - Loads all compiled plugins" /> |
|
0 commit comments