mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-01-01 18:23:32 +00:00
Added UT module Added UT plugin to Git Added Contains, EndWith, StartsWith to string layer conditions
56 lines
3.1 KiB
XML
56 lines
3.1 KiB
XML
<UserControl x:Class="Artemis.Modules.Games.UnrealTournament.UnrealTournamentView"
|
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
|
xmlns:xctk="http://schemas.xceed.com/wpf/xaml/toolkit"
|
|
xmlns:cal="http://www.caliburnproject.org"
|
|
xmlns:controls="http://metro.mahapps.com/winfx/xaml/controls"
|
|
mc:Ignorable="d"
|
|
d:DesignHeight="476.986" d:DesignWidth="538.772">
|
|
<ScrollViewer VerticalScrollBarVisibility="Auto" HorizontalScrollBarVisibility="Auto">
|
|
<Grid Margin="15, 5, 15, 5">
|
|
<Grid.ColumnDefinitions>
|
|
<ColumnDefinition Width="Auto" />
|
|
<ColumnDefinition />
|
|
</Grid.ColumnDefinitions>
|
|
<Grid.RowDefinitions>
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="Auto" />
|
|
<RowDefinition Height="*" />
|
|
|
|
</Grid.RowDefinitions>
|
|
<StackPanel Grid.Row="0" Grid.Column="0" Grid.ColumnSpan="2" Margin="0,0,1,0">
|
|
<Label FontSize="20" HorizontalAlignment="Left">
|
|
<Label.Content>
|
|
<AccessText TextWrapping="Wrap"
|
|
Text="By default shows team, HP armor and ammo on the keyboard and shows team colors on mouse and headset." />
|
|
</Label.Content>
|
|
</Label>
|
|
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right">
|
|
<Label Content="Enable effect" Margin="0 3 0 0" HorizontalAlignment="Right" />
|
|
<ToggleButton x:Name="EffectEnabled" Margin="0 3 0 0" Width="25" Height="25"
|
|
IsChecked="{Binding Path=GameSettings.Enabled, Mode=TwoWay}"
|
|
Style="{DynamicResource MetroCircleToggleButtonStyle}"
|
|
cal:Message.Attach="[Event Click] = [Action ToggleEffect]" />
|
|
</StackPanel>
|
|
</StackPanel>
|
|
|
|
<!-- Profile editor -->
|
|
<ContentControl Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="2" x:Name="ProfileEditor" Margin="0,0,-30,0" />
|
|
|
|
<!-- Buttons -->
|
|
<StackPanel Grid.Column="0" Grid.Row="9" Orientation="Horizontal" VerticalAlignment="Bottom">
|
|
<Button x:Name="ResetSettings" Content="Reset effect" VerticalAlignment="Top" Width="100"
|
|
Style="{DynamicResource SquareButtonStyle}" />
|
|
<Button x:Name="SaveSettings" Content="Save changes" VerticalAlignment="Top" Width="100"
|
|
Margin="10,0,0,0"
|
|
Style="{DynamicResource SquareButtonStyle}" />
|
|
</StackPanel>
|
|
</Grid>
|
|
</ScrollViewer>
|
|
</UserControl> |