first commit
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
<UserControl x:Class="ClassicAssist.UI.Views.Debug.DebugAssembliesControl"
|
||||
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:local="clr-namespace:ClassicAssist.UI.Views.Debug"
|
||||
xmlns:debug="clr-namespace:ClassicAssist.UI.ViewModels.Debug"
|
||||
xmlns:resources="clr-namespace:ClassicAssist.Shared.Resources;assembly=ClassicAssist.Shared"
|
||||
mc:Ignorable="d" Background="White"
|
||||
d:DesignHeight="250" d:DesignWidth="300">
|
||||
<UserControl.DataContext>
|
||||
<debug:DebugAssembliesViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid Margin="10">
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="*" />
|
||||
<RowDefinition Height="Auto" />
|
||||
</Grid.RowDefinitions>
|
||||
<DockPanel Grid.Row="0">
|
||||
<TextBlock Text="{x:Static resources:Strings.Additional_assemblies_to_load_}" DockPanel.Dock="Top" />
|
||||
<ListView x:Name="listView" Margin="0,10,0,10" ItemsSource="{Binding Items}"
|
||||
SelectedItem="{Binding SelectedItem}">
|
||||
<ListView.View>
|
||||
<GridView>
|
||||
<GridViewColumn Header="{x:Static resources:Strings.Name}"
|
||||
Width="{Binding ActualWidth, ElementName=listView, Mode=OneWay}">
|
||||
<GridViewColumn.CellTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding}" ToolTip="{Binding Location, Mode=OneWay}" />
|
||||
</DataTemplate>
|
||||
</GridViewColumn.CellTemplate>
|
||||
</GridViewColumn>
|
||||
</GridView>
|
||||
</ListView.View>
|
||||
</ListView>
|
||||
</DockPanel>
|
||||
<StackPanel Orientation="Horizontal" Grid.Row="1">
|
||||
<StackPanel.Resources>
|
||||
<Style TargetType="{x:Type Button}" BasedOn="{StaticResource {x:Type Button}}">
|
||||
<Setter Property="Padding" Value="20,2,20,2" />
|
||||
<Setter Property="Margin" Value="0,0,10,0" />
|
||||
</Style>
|
||||
</StackPanel.Resources>
|
||||
<Button Content="{x:Static resources:Strings.Load}" Command="{Binding LoadCommand}" />
|
||||
<Button Content="{x:Static resources:Strings.Remove}" Command="{Binding RemoveCommand}"
|
||||
CommandParameter="{Binding SelectedItem, ElementName=listView}" />
|
||||
<Button Content="{x:Static resources:Strings.Save}" Command="{Binding SaveCommand}" />
|
||||
</StackPanel>
|
||||
|
||||
</Grid>
|
||||
|
||||
</UserControl>
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace ClassicAssist.UI.Views.Debug
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for DebugAssembliesControl.xaml
|
||||
/// </summary>
|
||||
public partial class DebugAssembliesControl : UserControl
|
||||
{
|
||||
public DebugAssembliesControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,202 @@
|
||||
<UserControl x:Class="ClassicAssist.UI.Views.Debug.DebugAutolootControl"
|
||||
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:local="clr-namespace:ClassicAssist.UI.Views.Debug"
|
||||
xmlns:debug="clr-namespace:ClassicAssist.Shared.UI.ViewModels.Debug;assembly=ClassicAssist.Shared"
|
||||
xmlns:resources="clr-namespace:ClassicAssist.Shared.Resources;assembly=ClassicAssist.Shared"
|
||||
xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity"
|
||||
xmlns:misc="clr-namespace:ClassicAssist.UI.Misc"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="400" d:DesignWidth="550">
|
||||
<d:DesignerProperties.DesignStyle>
|
||||
<Style TargetType="UserControl">
|
||||
<Setter Property="Background" Value="White" />
|
||||
</Style>
|
||||
</d:DesignerProperties.DesignStyle>
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="../../../Resources/Icons.xaml" />
|
||||
<ResourceDictionary Source="../Debug/DebugToolBarStyle.xaml" />
|
||||
<ResourceDictionary>
|
||||
<DrawingImage x:Key="RefreshIcon">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup ClipGeometry="M0,0 V50 H50 V0 H0 Z">
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FF000000"
|
||||
Geometry="F1 M50,50z M0,0z M25,5C14.351563,5 5.632813,13.378906 5.054688,23.890625 5.007813,24.609375 5.347656,25.296875 5.949219,25.695313 6.550781,26.089844 7.320313,26.132813 7.960938,25.804688 8.601563,25.476563 9.019531,24.828125 9.046875,24.109375 9.511719,15.675781 16.441406,9 25,9 29.585938,9 33.699219,10.925781 36.609375,14L34,14C33.277344,13.988281 32.609375,14.367188 32.246094,14.992188 31.878906,15.613281 31.878906,16.386719 32.246094,17.007813 32.609375,17.632813 33.277344,18.011719 34,18L40.261719,18C40.488281,18.039063,40.71875,18.039063,40.949219,18L44,18 44,8C44.007813,7.460938 43.796875,6.941406 43.414063,6.558594 43.03125,6.175781 42.511719,5.964844 41.96875,5.972656 40.867188,5.988281 39.984375,6.894531 40,8L40,11.777344C36.332031,7.621094,30.964844,5,25,5z M43.03125,23.972656C41.925781,23.925781 40.996094,24.785156 40.953125,25.890625 40.488281,34.324219 33.558594,41 25,41 20.414063,41 16.304688,39.074219 13.390625,36L16,36C16.722656,36.011719 17.390625,35.632813 17.753906,35.007813 18.121094,34.386719 18.121094,33.613281 17.753906,32.992188 17.390625,32.367188 16.722656,31.988281 16,32L9.71875,32C9.507813,31.96875,9.296875,31.96875,9.085938,32L6,32 6,42C5.988281,42.722656 6.367188,43.390625 6.992188,43.753906 7.613281,44.121094 8.386719,44.121094 9.007813,43.753906 9.632813,43.390625 10.011719,42.722656 10,42L10,38.222656C13.667969,42.378906 19.035156,45 25,45 35.648438,45 44.367188,36.621094 44.945313,26.109375 44.984375,25.570313 44.800781,25.039063 44.441406,24.636719 44.078125,24.234375 43.570313,23.996094 43.03125,23.972656z" />
|
||||
</DrawingGroup>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
<DrawingImage x:Key="ContainerIcon">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup ClipGeometry="M0,0 V512 H512 V0 H0 Z">
|
||||
<DrawingGroup.Transform>
|
||||
<TranslateTransform X="0" Y="0.00013560117804445326" />
|
||||
</DrawingGroup.Transform>
|
||||
<GeometryDrawing Brush="#FFC6C5CB"
|
||||
Geometry="F1 M512,512z M0,0z M234.536,85.605L22.362,208.103 22.362,363.766 49.45,379.507 261.624,257.008 261.624,101.346 234.536,85.605z M216.743,230.876L67.682,316.936 67.682,234.236 216.508,148.311 216.743,230.876z" />
|
||||
<DrawingGroup Opacity="1">
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FFE0E0E2"
|
||||
Geometry="F1 M512,512z M0,0z M243.508,246.617L243.508,246.617 216.743,230.876 216.421,116.982 243.508,132.723z" />
|
||||
<GeometryDrawing Brush="#FFE0E0E2"
|
||||
Geometry="F1 M512,512z M0,0z M67.682,348.13L67.682,348.13 40.918,332.389 216.743,230.876 243.508,246.617z" />
|
||||
</DrawingGroup>
|
||||
<GeometryDrawing Brush="#FFD8D8DA"
|
||||
Geometry="F1 M512,512z M0,0z M49.449,379.508L49.449,379.508 22.362,363.765 22.362,208.103 49.449,223.845z" />
|
||||
<GeometryDrawing Brush="#FFE0E0E2"
|
||||
Geometry="F1 M512,512z M0,0z M49.449,223.845L49.449,223.845 22.362,208.103 234.536,85.605 261.623,101.346z" />
|
||||
<GeometryDrawing Brush="#FFC6C5CB"
|
||||
Geometry="F1 M512,512z M0,0z M49.449,223.845L261.623,101.346 261.623,257.008 49.449,379.508 49.449,223.845z M243.508,246.617L243.508,132.723 67.682,234.235 67.682,348.13 243.508,246.617" />
|
||||
</DrawingGroup>
|
||||
<GeometryDrawing Brush="#FFC6C5CB"
|
||||
Geometry="F1 M512,512z M0,0z M261.594,90.904C261.499,57.403 249.59,33.844 230.428,22.815 230.49,22.851 230.553,22.883 230.615,22.918L203.527,7.177C184.226,-4.04 157.511,-2.486 128.074,14.51 69.574,48.284 22.141,130.441 22.331,197.661L22.36,208.104 49.448,223.845 261.622,101.346 261.594,90.904z M215.835,75.483L215.835,75.483 75.351,156.591C89.108,113.677 119.698,71.643 155.22,51.135 172.683,41.053 188.979,37.555 202.704,39.777 209.741,48.512 214.376,60.543 215.835,75.483z" />
|
||||
<DrawingGroup Opacity="1">
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FFE0E0E2"
|
||||
Geometry="F1 M512,512z M0,0z M190.656,29.321L217.744,45.062C231.523,53.07,240.744,68.929,242.924,91.224L215.836,75.483C213.657,53.189,204.436,37.329,190.656,29.321z" />
|
||||
<GeometryDrawing Brush="#FFE0E0E2"
|
||||
Geometry="F1 M512,512z M0,0z M68.03,192.199L68.03,192.199 40.943,176.456 215.835,75.483 242.923,91.224z" />
|
||||
</DrawingGroup>
|
||||
<GeometryDrawing Brush="#FFD8D8DA"
|
||||
Geometry="F1 M512,512z M0,0z M49.449,223.845L49.449,223.845 22.362,208.103 22.331,197.661 49.419,213.402z" />
|
||||
<GeometryDrawing Brush="#FFE0E0E2"
|
||||
Geometry="F1 M512,512z M0,0z M203.527,7.177L230.615,22.918C211.314,11.701,184.599,13.255,155.162,30.251L128.074,14.51C157.511,-2.486,184.226,-4.04,203.527,7.177z" />
|
||||
<GeometryDrawing Brush="#FFD8D8DA"
|
||||
Geometry="F1 M512,512z M0,0z M49.419,213.402L22.331,197.661C22.141,130.441,69.574,48.283,128.073,14.51L155.161,30.251C96.662,64.026,49.229,146.183,49.419,213.402z" />
|
||||
<GeometryDrawing Brush="#FFC6C5CB"
|
||||
Geometry="F1 M512,512z M0,0z M155.161,30.251C213.66,-3.524,261.403,23.684,261.594,90.903L261.623,101.346 49.449,223.845 49.42,213.402C49.229,146.183,96.662,64.026,155.161,30.251z M68.03,192.199L242.923,91.224C238.215,43.05 200.624,24.921 155.22,51.135 109.808,77.354 72.45,138.754 68.03,192.199" />
|
||||
</DrawingGroup>
|
||||
<GeometryDrawing Brush="#FFF18700"
|
||||
Geometry="F1 M512,512z M0,0z M253.127,117.946L253.127,117.946 59.128,229.951 59.51,364.73 284.857,495.91 478.856,383.903 478.856,249.125z" />
|
||||
<DrawingGroup Opacity="1">
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FFFF9911"
|
||||
Geometry="F1 M512,512z M0,0z M284.857,495.91L284.857,495.91 59.51,364.73 59.128,229.951 284.857,361.131z" />
|
||||
<GeometryDrawing Brush="#FFFF9911"
|
||||
Geometry="F1 M512,512z M0,0z M284.857,361.131L284.857,361.131 59.128,229.951 253.127,117.946 478.856,249.125z" />
|
||||
</DrawingGroup>
|
||||
<GeometryDrawing Brush="#FFF18700"
|
||||
Geometry="F1 M512,512z M0,0z M478.856,249.125L478.856,249.125 478.856,383.903 284.857,495.91 284.857,361.131z" />
|
||||
</DrawingGroup>
|
||||
<GeometryDrawing Brush="#FFD8D8DA"
|
||||
Geometry="F1 M512,512z M0,0z M59.388,347.329L59.388,347.329 48.793,353.447 35.891,345.946 35.891,371.551 277.465,512 277.465,486.395 287.212,480.627z" />
|
||||
<GeometryDrawing Brush="#FFE0E0E2"
|
||||
Geometry="F1 M512,512z M0,0z M277.465,486.395L277.465,486.395 287.212,480.627 59.388,347.329 48.793,353.447z" />
|
||||
<GeometryDrawing Brush="#FFC6C5CB"
|
||||
Geometry="F1 M512,512z M0,0z M462.581,218.097L250.407,340.596 250.407,496.259 277.495,512 489.669,389.501 489.669,233.838 462.581,218.097z M444.789,363.368L295.729,449.428 295.729,366.728 444.555,280.803 444.789,363.368z" />
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FFACABB1"
|
||||
Geometry="F1 M512,512z M0,0z M471.554,379.111L471.554,379.111 444.789,363.368 444.466,249.474 471.554,265.216z" />
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FFD8D8DA"
|
||||
Geometry="F1 M512,512z M0,0z M295.729,480.623L295.729,480.623 268.965,464.881 444.789,363.368 471.554,379.111z" />
|
||||
<GeometryDrawing Brush="#FFD8D8DA"
|
||||
Geometry="F1 M512,512z M0,0z M277.495,512L277.495,512 250.407,496.259 250.407,340.596 277.495,356.337z" />
|
||||
</DrawingGroup>
|
||||
<GeometryDrawing Brush="#FFE0E0E2"
|
||||
Geometry="F1 M512,512z M0,0z M277.495,356.337L277.495,356.337 250.407,340.596 462.581,218.097 489.669,233.838z" />
|
||||
<GeometryDrawing Brush="#FFC6C5CB"
|
||||
Geometry="F1 M512,512z M0,0z M277.495,356.337L489.669,233.838 489.669,389.5 277.495,512 277.495,356.337z M471.554,379.111L471.554,265.216 295.729,366.729 295.729,480.623 471.554,379.111" />
|
||||
</DrawingGroup>
|
||||
<GeometryDrawing Brush="#FFF18700"
|
||||
Geometry="F1 M512,512z M0,0z M450.462,167.464C450.518,167.496,450.576,167.526,450.632,167.558L224.903,36.378C207.266,26.129 182.841,27.575 155.881,43.139 102.306,74.071 59.022,149.04 59.197,210.602L284.926,341.782 478.925,229.777C478.839,199.096,467.973,177.541,450.462,167.464z" />
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FFFFA834"
|
||||
Geometry="F1 M512,512z M0,0z M224.903,36.378L450.632,167.558C432.995,157.309,408.57,158.755,381.61,174.319L155.881,43.14C182.841,27.575,207.266,26.129,224.903,36.378z" />
|
||||
<GeometryDrawing Brush="#FFFF9911"
|
||||
Geometry="F1 M512,512z M0,0z M284.927,341.783L59.197,210.603C59.023,149.041,102.306,74.071,155.881,43.14L381.61,174.32C328.035,205.251,284.752,280.221,284.927,341.783z" />
|
||||
<GeometryDrawing Brush="#FFF18700"
|
||||
Geometry="F1 M512,512z M0,0z M381.61,174.32C435.185,143.388,478.752,168.215,478.926,229.777L284.927,341.783C284.752,280.221,328.035,205.251,381.61,174.32z" />
|
||||
</DrawingGroup>
|
||||
<GeometryDrawing Brush="#FFD8D8DA"
|
||||
Geometry="F1 M512,512z M0,0z M287.863,328.139L287.863,328.139 60.039,194.841 49.951,200.666 35.891,192.492 35.891,243.702 277.465,384.151 277.465,332.943 278.639,333.605z" />
|
||||
<GeometryDrawing Brush="#FFE0E0E2"
|
||||
Geometry="F1 M512,512z M0,0z M278.639,333.605L278.639,333.605 287.863,328.139 60.039,194.841 49.968,200.657z" />
|
||||
<GeometryDrawing Brush="#FFC6C5CB"
|
||||
Geometry="F1 M512,512z M0,0z M489.64,223.397C489.545,189.896 477.636,166.336 458.474,155.308 458.536,155.344 458.599,155.376 458.66,155.411L431.572,139.67C412.271,128.453 385.556,130.007 356.119,147.003 297.62,180.777 250.187,262.934 250.378,330.153L250.407,340.596 277.495,356.337 489.669,233.838 489.64,223.397z M443.881,207.975L303.398,289.083C317.155,246.169 347.745,204.135 383.267,183.627 400.73,173.545 417.026,170.047 430.751,172.269 437.786,181.004 442.421,193.037 443.881,207.975z" />
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FFACABB1"
|
||||
Geometry="F1 M512,512z M0,0z M418.702,161.814L445.79,177.555C459.569,185.563,468.79,201.422,470.97,223.717L443.882,207.976C441.703,185.681,432.481,169.821,418.702,161.814z" />
|
||||
<GeometryDrawing Brush="#FFD8D8DA"
|
||||
Geometry="F1 M512,512z M0,0z M296.076,324.691L296.076,324.691 268.989,308.95 443.881,207.975 470.969,223.717z" />
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FFE0E0E2"
|
||||
Geometry="F1 M512,512z M0,0z M277.495,356.337L277.495,356.337 250.407,340.596 250.378,330.154 277.466,345.896z" />
|
||||
<GeometryDrawing Brush="#FFE0E0E2"
|
||||
Geometry="F1 M512,512z M0,0z M431.572,139.669L458.66,155.41C439.359,144.193,412.644,145.747,383.207,162.743L356.119,147.002C385.557,130.006,412.271,128.452,431.572,139.669z" />
|
||||
</DrawingGroup>
|
||||
<GeometryDrawing Brush="#FFD8D8DA"
|
||||
Geometry="F1 M512,512z M0,0z M277.466,345.896L250.378,330.155C250.188,262.936,297.62,180.777,356.119,147.004L383.207,162.745C324.708,196.518,277.275,278.675,277.466,345.896z" />
|
||||
<GeometryDrawing Brush="#FFC6C5CB"
|
||||
Geometry="F1 M512,512z M0,0z M383.207,162.743C441.706,128.968,489.449,156.176,489.64,223.395L489.669,233.838 277.495,356.337 277.466,345.894C277.275,278.675,324.708,196.518,383.207,162.743z M296.076,324.691L470.969,223.717C466.261,175.543 428.67,157.414 383.266,183.628 337.854,209.847 300.497,271.246 296.076,324.691" />
|
||||
</DrawingGroup>
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FFD8D8DA"
|
||||
Geometry="F1 M512,512z M0,0z M277.465,384.151L277.465,384.151 35.891,243.702 35.891,192.492 277.465,332.942z" />
|
||||
<GeometryDrawing Brush="#FFD8D8DA"
|
||||
Geometry="F1 M512,512z M0,0z M277.465,512L277.465,512 35.891,371.551 35.891,345.946 277.465,486.395z" />
|
||||
</DrawingGroup>
|
||||
<DrawingGroup Opacity="1">
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FF898890"
|
||||
Geometry="F1 M512,512z M0,0z M126.232,246.05L126.232,246.05 113.766,253.294 113.766,302.734 156.651,327.574 169.258,320.33 169.258,270.89z" />
|
||||
<GeometryDrawing Brush="#FF898890"
|
||||
Geometry="F1 M512,512z M0,0z M156.791,278.135L156.791,278.135 169.258,270.89 169.258,320.33 156.651,327.574z" />
|
||||
</DrawingGroup>
|
||||
<GeometryDrawing Brush="#FFC6C5CB"
|
||||
Geometry="F1 M512,512z M0,0z M113.766,253.294L113.766,253.294 126.232,246.05 169.258,270.89 156.791,278.135z" />
|
||||
<GeometryDrawing Brush="#FFACABB1"
|
||||
Geometry="F1 M512,512z M0,0z M156.791,278.135L156.791,278.135 156.651,327.574 113.766,302.734 113.766,253.294z" />
|
||||
</DrawingGroup>
|
||||
<GeometryDrawing Brush="#FF77767E"
|
||||
Geometry="F1 M512,512z M0,0z M134.399,277.238C130.349,274.9 127.05,276.773 127.037,281.426 127.028,284.73 128.674,288.545 131.079,291.315L131.05,301.748 137.601,305.53 137.63,295.097C140.035,295.103 141.698,293.199 141.707,289.896 141.721,285.242 138.449,279.575 134.399,277.238z" />
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
<DrawingImage x:Key="RemoveIcon">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup ClipGeometry="M0,0 V512.001 H512.001 V0 H0 Z">
|
||||
<DrawingGroup Opacity="1">
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FF000000"
|
||||
Geometry="F1 M512.001,512.001z M0,0z M294.111,256.001L504.109,46.003C514.632,35.479 514.632,18.417 504.109,7.894 493.585,-2.63 476.522,-2.63 465.999,7.894L256,217.892 46.002,7.894C35.478,-2.63 18.416,-2.63 7.893,7.894 -2.63,18.418 -2.631,35.48 7.893,46.003L217.891,256.001 7.893,465.999C-2.631,476.523 -2.631,493.585 7.893,504.108 18.417,514.632 35.479,514.631 46.002,504.108L256,294.11 465.997,504.108C476.521,514.632 493.584,514.631 504.107,504.108 514.63,493.584 514.63,476.522 504.107,465.999L294.111,256.001z" />
|
||||
</DrawingGroup>
|
||||
</DrawingGroup>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
</ResourceDictionary>
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<UserControl.DataContext>
|
||||
<debug:DebugAutolootViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<ToolBar Style="{DynamicResource ToolBarStyle1}" Grid.Row="0">
|
||||
<Button ToolTip="Test Autoloot" Command="{Binding TestContainerCommand}">
|
||||
<Image Source="{StaticResource ContainerIcon}" Height="16" />
|
||||
</Button>
|
||||
<Button ToolTip="Retest Container" Command="{Binding RetestContainerCommand}">
|
||||
<Image Source="{StaticResource RefreshIcon}" Height="16" />
|
||||
</Button>
|
||||
<Button ToolTip="{x:Static resources:Strings.Clear}" Command="{Binding ClearResultsCommand}">
|
||||
<Image Source="{StaticResource RemoveIcon}" Height="11" />
|
||||
</Button>
|
||||
</ToolBar>
|
||||
<TextBox Grid.Row="1" VerticalScrollBarVisibility="Visible" Text="{Binding TestResults}">
|
||||
<i:Interaction.Behaviors>
|
||||
<misc:AutoScrollTextBoxBehaviour />
|
||||
</i:Interaction.Behaviors>
|
||||
</TextBox>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace ClassicAssist.UI.Views.Debug
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for DebugAutolootControl.xaml
|
||||
/// </summary>
|
||||
public partial class DebugAutolootControl : UserControl
|
||||
{
|
||||
public DebugAutolootControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
<UserControl x:Class="ClassicAssist.UI.Views.Debug.DebugBuffIconsControl"
|
||||
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:local="clr-namespace:ClassicAssist.UI.Views.Debug"
|
||||
xmlns:debug="clr-namespace:ClassicAssist.Shared.UI.ViewModels.Debug;assembly=ClassicAssist.Shared"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="400" d:DesignWidth="550">
|
||||
<d:DesignerProperties.DesignStyle>
|
||||
<Style TargetType="UserControl">
|
||||
<Setter Property="Background" Value="White" />
|
||||
</Style>
|
||||
</d:DesignerProperties.DesignStyle>
|
||||
<UserControl.DataContext>
|
||||
<debug:DebugBuffIconsViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid Margin="10">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="5" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<ListBox Grid.Column="0" MinWidth="120" Margin="0,0,5,0" ItemsSource="{Binding Items}"
|
||||
SelectedItem="{Binding SelectedItem}" />
|
||||
<GridSplitter Grid.Column="1" Width="5" HorizontalAlignment="Stretch" />
|
||||
<ListBox Grid.Column="2" ItemsSource="{Binding Messages}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace ClassicAssist.UI.Views.Debug
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for DebugBuffIconsControl.xaml
|
||||
/// </summary>
|
||||
public partial class DebugBuffIconsControl : UserControl
|
||||
{
|
||||
public DebugBuffIconsControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
<UserControl x:Class="ClassicAssist.UI.Views.Debug.DebugGumpControl"
|
||||
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:local="clr-namespace:ClassicAssist.UI.Views.Debug"
|
||||
xmlns:debug="clr-namespace:ClassicAssist.Shared.UI.ViewModels.Debug;assembly=ClassicAssist.Shared"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="400" d:DesignWidth="550">
|
||||
<d:DesignerProperties.DesignStyle>
|
||||
<Style TargetType="UserControl">
|
||||
<Setter Property="Background" Value="White" />
|
||||
</Style>
|
||||
</d:DesignerProperties.DesignStyle>
|
||||
<UserControl.DataContext>
|
||||
<debug:DebugGumpViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid Margin="10">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="5" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<ListBox Grid.Column="0" MinWidth="120" Margin="0,0,5,0" ItemsSource="{Binding Items}"
|
||||
SelectedItem="{Binding SelectedItem}">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding ID, StringFormat={}0x{0:x8}}" />
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
<GridSplitter Grid.Column="1" Width="5" HorizontalAlignment="Stretch" />
|
||||
<TextBox Grid.Column="2" Text="{Binding Text}" VerticalScrollBarVisibility="Auto" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace ClassicAssist.UI.Views.Debug
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for DebugGumpControl.xaml
|
||||
/// </summary>
|
||||
public partial class DebugGumpControl : UserControl
|
||||
{
|
||||
public DebugGumpControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
<UserControl x:Class="ClassicAssist.UI.Views.Debug.DebugJournalControl"
|
||||
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:debug="clr-namespace:ClassicAssist.Shared.UI.ViewModels.Debug;assembly=ClassicAssist.Shared"
|
||||
xmlns:misc="clr-namespace:ClassicAssist.UI.Misc"
|
||||
xmlns:resources="clr-namespace:ClassicAssist.Shared.Resources;assembly=ClassicAssist.Shared"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="400" d:DesignWidth="550">
|
||||
<d:DesignerProperties.DesignStyle>
|
||||
<Style TargetType="UserControl">
|
||||
<Setter Property="Background" Value="White" />
|
||||
</Style>
|
||||
</d:DesignerProperties.DesignStyle>
|
||||
<UserControl.DataContext>
|
||||
<debug:DebugJournalViewModel />
|
||||
</UserControl.DataContext>
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="DebugToolBarStyle.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<DockPanel>
|
||||
<ToolBar Margin="10,0,10,0" Style="{DynamicResource ToolBarStyle1}" DockPanel.Dock="Top">
|
||||
<Button Command="{Binding ClearCommand}" Margin="0,0,5,0">
|
||||
<Image Source="{StaticResource RemoveIcon}" Height="16"
|
||||
ToolTip="{x:Static resources:Strings.Clear_All}" />
|
||||
</Button>
|
||||
</ToolBar>
|
||||
<ListBox ItemsSource="{Binding Items}" Margin="10" misc:ListBoxBehavior.ScrollOnNewItem="True" />
|
||||
</DockPanel>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace ClassicAssist.UI.Views.Debug
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for DebugJournalControl.xaml
|
||||
/// </summary>
|
||||
public partial class DebugJournalControl : UserControl
|
||||
{
|
||||
public DebugJournalControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
<UserControl x:Class="ClassicAssist.UI.Views.Debug.DebugMenusControl"
|
||||
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:local="clr-namespace:ClassicAssist.UI.Views.Debug"
|
||||
xmlns:debug="clr-namespace:ClassicAssist.Shared.UI.ViewModels.Debug;assembly=ClassicAssist.Shared"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="400" d:DesignWidth="550">
|
||||
<d:DesignerProperties.DesignStyle>
|
||||
<Style TargetType="UserControl">
|
||||
<Setter Property="Background" Value="White" />
|
||||
</Style>
|
||||
</d:DesignerProperties.DesignStyle>
|
||||
<UserControl.DataContext>
|
||||
<debug:DebugMenusViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid Margin="10">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="5" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<ListBox Grid.Column="0" MinWidth="120" Margin="0,0,5,0" ItemsSource="{Binding Items}"
|
||||
SelectedItem="{Binding SelectedItem}">
|
||||
<ListBox.ItemTemplate>
|
||||
<DataTemplate>
|
||||
<TextBlock Text="{Binding ID, StringFormat={}0x{0:x4}}" />
|
||||
</DataTemplate>
|
||||
</ListBox.ItemTemplate>
|
||||
</ListBox>
|
||||
<GridSplitter Grid.Column="1" Width="5" HorizontalAlignment="Stretch" />
|
||||
<TextBox Grid.Column="2" Text="{Binding Text}" VerticalScrollBarVisibility="Auto" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace ClassicAssist.UI.Views.Debug
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for DebugMenusControl.xaml
|
||||
/// </summary>
|
||||
public partial class DebugMenusControl : UserControl
|
||||
{
|
||||
public DebugMenusControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,47 @@
|
||||
<UserControl x:Class="ClassicAssist.UI.Views.Debug.DebugPropertiesControl"
|
||||
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:local="clr-namespace:ClassicAssist.UI.Views.Debug"
|
||||
xmlns:debug="clr-namespace:ClassicAssist.Shared.UI.ViewModels.Debug;assembly=ClassicAssist.Shared"
|
||||
xmlns:resources="clr-namespace:ClassicAssist.Shared.Resources;assembly=ClassicAssist.Shared"
|
||||
xmlns:valueConverters="clr-namespace:ClassicAssist.UI.Misc.ValueConverters"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<UserControl.Resources>
|
||||
<ResourceDictionary>
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary Source="../../../Resources/Icons.xaml" />
|
||||
<ResourceDictionary Source="DebugToolBarStyle.xaml" />
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
<valueConverters:JoinArrayValueConverter x:Key="JoinArrayValueConverter" />
|
||||
</ResourceDictionary>
|
||||
</UserControl.Resources>
|
||||
<UserControl.DataContext>
|
||||
<debug:DebugPropertiesViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid>
|
||||
<Grid.RowDefinitions>
|
||||
<RowDefinition Height="Auto" />
|
||||
<RowDefinition Height="*" />
|
||||
</Grid.RowDefinitions>
|
||||
<ToolBar Grid.Row="0" Style="{DynamicResource ToolBarStyle1}">
|
||||
<Button ToolTip="{x:Static resources:Strings.Target_object___}" Command="{Binding TargetCommand}">
|
||||
<Image Source="{StaticResource CrosshairIcon}" Height="16" />
|
||||
</Button>
|
||||
</ToolBar>
|
||||
<ListView Grid.Row="1" ItemsSource="{Binding Items}" Margin="5">
|
||||
<ListView.View>
|
||||
<GridView>
|
||||
<GridViewColumn Header="{x:Static resources:Strings.Cliloc}" Width="75"
|
||||
DisplayMemberBinding="{Binding Cliloc}" />
|
||||
<GridViewColumn Header="{x:Static resources:Strings.Name}" Width="250"
|
||||
DisplayMemberBinding="{Binding Text}" />
|
||||
<GridViewColumn Header="{x:Static resources:Strings.Arguments}" Width="175"
|
||||
DisplayMemberBinding="{Binding Arguments, Converter={StaticResource JoinArrayValueConverter}}" />
|
||||
</GridView>
|
||||
</ListView.View>
|
||||
</ListView>
|
||||
</Grid>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,13 @@
|
||||
namespace ClassicAssist.UI.Views.Debug
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for DebugPropertiesControl.xaml
|
||||
/// </summary>
|
||||
public partial class DebugPropertiesControl
|
||||
{
|
||||
public DebugPropertiesControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,29 @@
|
||||
<UserControl x:Class="ClassicAssist.UI.Views.Debug.DebugSpecialMovesControl"
|
||||
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:local="clr-namespace:ClassicAssist.UI.Views.Debug"
|
||||
xmlns:debug="clr-namespace:ClassicAssist.Shared.UI.ViewModels.Debug;assembly=ClassicAssist.Shared"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="400" d:DesignWidth="550">
|
||||
<d:DesignerProperties.DesignStyle>
|
||||
<Style TargetType="UserControl">
|
||||
<Setter Property="Background" Value="White" />
|
||||
</Style>
|
||||
</d:DesignerProperties.DesignStyle>
|
||||
<UserControl.DataContext>
|
||||
<debug:DebugSpecialMovesViewModel />
|
||||
</UserControl.DataContext>
|
||||
<Grid Margin="10">
|
||||
<Grid.ColumnDefinitions>
|
||||
<ColumnDefinition Width="Auto" />
|
||||
<ColumnDefinition Width="5" />
|
||||
<ColumnDefinition Width="*" />
|
||||
</Grid.ColumnDefinitions>
|
||||
<ListBox Grid.Column="0" MinWidth="120" Margin="0,0,5,0" ItemsSource="{Binding Items}"
|
||||
SelectedItem="{Binding SelectedItem}" />
|
||||
<GridSplitter Grid.Column="1" Width="5" HorizontalAlignment="Stretch" />
|
||||
<ListBox Grid.Column="2" ItemsSource="{Binding Messages}" />
|
||||
</Grid>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace ClassicAssist.UI.Views.Debug
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for DebugSpecialMovesControl.xaml
|
||||
/// </summary>
|
||||
public partial class DebugSpecialMovesControl : UserControl
|
||||
{
|
||||
public DebugSpecialMovesControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,274 @@
|
||||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
|
||||
|
||||
<ResourceDictionary.MergedDictionaries>
|
||||
<ResourceDictionary>
|
||||
<DrawingImage x:Key="RemoveIcon">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup ClipGeometry="M0,0 V512.001 H512.001 V0 H0 Z">
|
||||
<DrawingGroup Opacity="1">
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FF000000"
|
||||
Geometry="F1 M512.001,512.001z M0,0z M294.111,256.001L504.109,46.003C514.632,35.479 514.632,18.417 504.109,7.894 493.585,-2.63 476.522,-2.63 465.999,7.894L256,217.892 46.002,7.894C35.478,-2.63 18.416,-2.63 7.893,7.894 -2.63,18.418 -2.631,35.48 7.893,46.003L217.891,256.001 7.893,465.999C-2.631,476.523 -2.631,493.585 7.893,504.108 18.417,514.632 35.479,514.631 46.002,504.108L256,294.11 465.997,504.108C476.521,514.632 493.584,514.631 504.107,504.108 514.63,493.584 514.63,476.522 504.107,465.999L294.111,256.001z" />
|
||||
</DrawingGroup>
|
||||
</DrawingGroup>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
<DrawingImage x:Key="PersonIcon">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup ClipGeometry="M-42,0 V512.001 H470 V-42 H0 Z">
|
||||
<DrawingGroup.Transform>
|
||||
<TranslateTransform X="42" Y="0" />
|
||||
</DrawingGroup.Transform>
|
||||
<GeometryDrawing Brush="#FF000000"
|
||||
Geometry="F1 M512,512.001z M0,0z M210.351562,246.632812C244.234375,246.632812 273.570312,234.480469 297.546875,210.503906 321.515625,186.53125 333.671875,157.199219 333.671875,123.3125 333.671875,89.4375 321.519531,60.101562 297.542969,36.121094 273.566406,12.152344 244.230469,0 210.351562,0 176.464844,0 147.132812,12.152344 123.160156,36.125 99.1875,60.097656 87.03125,89.433594 87.03125,123.3125 87.03125,157.199219 99.1875,186.535156 123.160156,210.507812 147.140625,234.476562 176.476562,246.632812 210.351562,246.632812z M144.378906,57.339844C162.773438,38.945312 184.351562,30.003906 210.351562,30.003906 236.347656,30.003906 257.929688,38.945312 276.328125,57.339844 294.722656,75.738281 303.667969,97.320312 303.667969,123.3125 303.667969,149.3125 294.722656,170.890625 276.328125,189.289062 257.929688,207.6875 236.347656,216.628906 210.351562,216.628906 184.359375,216.628906 162.78125,207.683594 144.378906,189.289062 125.980469,170.894531 117.035156,149.3125 117.035156,123.3125 117.035156,97.320312 125.980469,75.738281 144.378906,57.339844z M144.378906,57.339844" />
|
||||
<GeometryDrawing Brush="#FF000000"
|
||||
Geometry="F1 M512,512.001z M0,0z M426.128906,393.703125C425.4375,383.726562 424.039062,372.84375 421.980469,361.351562 419.902344,349.773438 417.226562,338.828125 414.023438,328.824219 410.710938,318.484375 406.214844,308.273438 400.648438,298.488281 394.878906,288.332031 388.097656,279.488281 380.488281,272.210938 372.53125,264.597656 362.789062,258.476562 351.523438,254.011719 340.296875,249.570312 327.855469,247.320312 314.546875,247.320312 309.320312,247.320312 304.265625,249.464844 294.503906,255.820312 288.496094,259.738281 281.46875,264.269531 273.625,269.28125 266.917969,273.554688 257.832031,277.558594 246.609375,281.183594 235.660156,284.726562 224.542969,286.523438 213.566406,286.523438 202.597656,286.523438 191.480469,284.726562 180.523438,281.183594 169.3125,277.5625 160.222656,273.558594 153.527344,269.285156 145.757812,264.320312 138.726562,259.789062 132.628906,255.816406 122.875,249.460938 117.820312,247.316406 112.59375,247.316406 99.28125,247.316406 86.84375,249.570312 75.621094,254.015625 64.363281,258.472656 54.617188,264.59375 46.652344,272.214844 39.042969,279.496094 32.261719,288.335938 26.496094,298.488281 20.9375,308.273438 16.4375,318.480469 13.125,328.828125 9.925781,338.832031 7.25,349.773438 5.171875,361.351562 3.109375,372.828125 1.714844,383.714844 1.023438,393.714844 0.34375,403.492188 -4.44089209850063E-16,413.667969 -4.44089209850063E-16,423.949219 -4.44089209850063E-16,450.675781 8.496094,472.3125 25.25,488.269531 41.796875,504.015625 63.6875,512 90.316406,512L336.847656,512C363.46875,512 385.359375,504.015625 401.910156,488.269531 418.667969,472.324219 427.164062,450.679688 427.164062,423.945312 427.160156,413.628906 426.8125,403.453125 426.128906,393.703125z M381.222656,466.53125C370.289062,476.9375,355.773438,481.996094,336.84375,481.996094L90.316406,481.996094C71.382812,481.996094 56.867188,476.9375 45.9375,466.535156 35.214844,456.328125 30.003906,442.394531 30.003906,423.949219 30.003906,414.355469 30.320312,404.882812 30.953125,395.789062 31.570312,386.867188 32.832031,377.066406 34.703125,366.652344 36.550781,356.367188 38.902344,346.714844 41.699219,337.976562 44.382812,329.597656 48.042969,321.300781 52.582031,313.308594 56.914062,305.691406 61.898438,299.15625 67.398438,293.890625 72.542969,288.964844 79.027344,284.933594 86.667969,281.910156 93.734375,279.113281 101.675781,277.582031 110.296875,277.351562 111.347656,277.910156 113.21875,278.976562 116.25,280.953125 122.417969,284.972656 129.527344,289.558594 137.386719,294.578125 146.246094,300.226562 157.660156,305.328125 171.296875,309.730469 185.238281,314.238281 199.457031,316.527344 213.570312,316.527344 227.683594,316.527344 241.90625,314.238281 255.839844,309.734375 269.488281,305.324219 280.898438,300.226562 289.769531,294.570312 297.8125,289.429688 304.722656,284.976562 310.890625,280.953125 313.921875,278.980469 315.792969,277.910156 316.84375,277.351562 325.46875,277.582031 333.410156,279.113281 340.480469,281.910156 348.117188,284.933594 354.601562,288.96875 359.746094,293.890625 365.246094,299.152344 370.230469,305.6875 374.5625,313.3125 379.105469,321.300781 382.769531,329.601562 385.449219,337.972656 388.25,346.722656 390.605469,356.371094 392.449219,366.648438 394.316406,377.082031 395.582031,386.886719 396.199219,395.792969L396.199219,395.800781C396.835938,404.859375 397.15625,414.328125 397.160156,423.949219 397.15625,442.398438 391.945312,456.328125 381.222656,466.53125z M381.222656,466.53125" />
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
<DrawingImage x:Key="exportIcon">
|
||||
<DrawingImage.Drawing>
|
||||
<DrawingGroup ClipGeometry="M0,0 V502 H502 V0 H0 Z">
|
||||
<DrawingGroup Opacity="1">
|
||||
<DrawingGroup Opacity="1">
|
||||
<DrawingGroup Opacity="1">
|
||||
<GeometryDrawing Brush="#FF000000"
|
||||
Geometry="F1 M502,502z M0,0z M491.951,414.346L425.581,347.976C418.61,341.006 408.221,338.94 399.113,342.712 390.005,346.484 384.12,355.292 384.12,365.15L384.12,375.13C384.12,377.494,382.197,379.417,379.833,379.417L373.12,379.417 373.12,103C373.12,100.348,372.066,97.804,370.191,95.929L277.191,2.929C275.316,1.054,272.772,0,270.12,0L17.12,0C11.597,0,7.12,4.477,7.12,10L7.12,492C7.12,497.523,11.597,502,17.12,502L363.12,502C368.643,502,373.12,497.523,373.12,492L373.12,463.417 379.833,463.417C382.197,463.417,384.12,465.34,384.12,467.704L384.12,477.684C384.12,487.542 390.005,496.35 399.113,500.122 402.136,501.374 405.299,501.983 408.432,501.983 414.74,501.983 420.924,499.514 425.581,494.858L491.951,428.488C493.826,426.613 494.88,424.069 494.88,421.417 494.88,418.765 493.826,416.221 491.951,414.346z M280.12,34.142L338.978,93 280.12,93 280.12,34.142z M353.12,482L27.12,482 27.12,20 260.12,20 260.12,103C260.12,108.523,264.597,113,270.12,113L353.12,113 353.12,379.417 332.12,379.417C326.597,379.417,322.12,383.894,322.12,389.417L322.12,453.417C322.12,458.94,326.597,463.417,332.12,463.417L353.12,463.417 353.12,482z M411.438,480.716C409.676,482.479 407.755,482.054 406.766,481.645 405.778,481.235 404.12,480.177 404.12,477.684L404.12,467.704C404.12,454.312,393.225,443.417,379.833,443.417L342.12,443.417 342.12,399.417 379.833,399.417C393.225,399.417,404.12,388.522,404.12,375.13L404.12,365.15C404.12,362.658 405.778,361.599 406.766,361.19 407.754,360.78 409.676,360.356 411.438,362.119L470.737,421.417 411.438,480.716z" />
|
||||
<GeometryDrawing Brush="#FF000000"
|
||||
Geometry="F1 M502,502z M0,0z M77.62,174L243.12,174C248.643,174 253.12,169.523 253.12,164 253.12,158.477 248.643,154 243.12,154L77.62,154C72.097,154 67.62,158.477 67.62,164 67.62,169.523 72.097,174 77.62,174z" />
|
||||
<GeometryDrawing Brush="#FF000000"
|
||||
Geometry="F1 M502,502z M0,0z M302.62,220L77.62,220C72.097,220 67.62,224.477 67.62,230 67.62,235.523 72.097,240 77.62,240L302.62,240C308.143,240 312.62,235.523 312.62,230 312.62,224.477 308.143,220 302.62,220z" />
|
||||
<GeometryDrawing Brush="#FF000000"
|
||||
Geometry="F1 M502,502z M0,0z M302.62,286L77.62,286C72.097,286 67.62,290.477 67.62,296 67.62,301.523 72.097,306 77.62,306L302.62,306C308.143,306 312.62,301.523 312.62,296 312.62,290.477 308.143,286 302.62,286z" />
|
||||
<GeometryDrawing Brush="#FF000000"
|
||||
Geometry="F1 M502,502z M0,0z M302.62,352L77.62,352C72.097,352 67.62,356.477 67.62,362 67.62,367.523 72.097,372 77.62,372L302.62,372C308.143,372 312.62,367.523 312.62,362 312.62,356.477 308.143,352 302.62,352z" />
|
||||
<GeometryDrawing Brush="#FF000000"
|
||||
Geometry="F1 M502,502z M0,0z M302.62,154L280.62,154C275.097,154 270.62,158.477 270.62,164 270.62,169.523 275.097,174 280.62,174L302.62,174C308.143,174 312.62,169.523 312.62,164 312.62,158.477 308.143,154 302.62,154z" />
|
||||
</DrawingGroup>
|
||||
</DrawingGroup>
|
||||
</DrawingGroup>
|
||||
</DrawingGroup>
|
||||
</DrawingImage.Drawing>
|
||||
</DrawingImage>
|
||||
</ResourceDictionary>
|
||||
<ResourceDictionary>
|
||||
<SolidColorBrush x:Key="ToolBarHorizontalBackground" Color="#FFEEF5FD" />
|
||||
<SolidColorBrush x:Key="ToolBarToggleButtonVerticalBackground" Color="#FFEEF5FD" />
|
||||
<SolidColorBrush x:Key="ToolBarButtonHover" Color="#210080FF" />
|
||||
<SolidColorBrush x:Key="ToolBarGripper" Color="#FF6D6D6D" />
|
||||
<Style x:Key="ToolBarVerticalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
<Setter Property="MinHeight" Value="0" />
|
||||
<Setter Property="MinWidth" Value="0" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
||||
<Border x:Name="Bd" SnapsToDevicePixels="true" CornerRadius="0,0,3,3"
|
||||
Background="{TemplateBinding Background}">
|
||||
<Canvas Width="7" VerticalAlignment="Bottom" SnapsToDevicePixels="true"
|
||||
Margin="2,7,2,2" Height="6" HorizontalAlignment="Right">
|
||||
<Path Data="M 1.5 1 L 1.5 6" Stroke="White" />
|
||||
<Path Data="M 0.5 0 L 0.5 5" Stroke="{TemplateBinding Foreground}" />
|
||||
<Path Data="M 3.5 0.5 L 7 3.5 L 4 6.5 Z" Fill="White" />
|
||||
<Path Data="M 3 -0.5 L 6 2.5 L 3 5.5 Z" Fill="{TemplateBinding Foreground}" />
|
||||
</Canvas>
|
||||
</Border>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsMouseOver" Value="true">
|
||||
<Setter Property="Background" TargetName="Bd"
|
||||
Value="{StaticResource ToolBarButtonHover}" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsKeyboardFocused" Value="true">
|
||||
<Setter Property="Background" TargetName="Bd"
|
||||
Value="{StaticResource ToolBarButtonHover}" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsEnabled" Value="false">
|
||||
<Setter Property="Foreground" Value="{StaticResource ToolBarGripper}" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true">
|
||||
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
<SolidColorBrush x:Key="ToolBarVerticalBackground" Color="#FFEEF5FD" />
|
||||
<SolidColorBrush x:Key="ToolBarToggleButtonHorizontalBackground" Color="#FFEEF5FD" />
|
||||
<Style x:Key="ToolBarHorizontalOverflowButtonStyle" TargetType="{x:Type ToggleButton}">
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
<Setter Property="MinHeight" Value="0" />
|
||||
<Setter Property="MinWidth" Value="0" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type ToggleButton}">
|
||||
<Border x:Name="Bd" SnapsToDevicePixels="true" CornerRadius="0,3,3,0"
|
||||
Background="{TemplateBinding Background}">
|
||||
<Canvas Width="6" VerticalAlignment="Bottom" SnapsToDevicePixels="true"
|
||||
Margin="7,2,2,2" Height="7" HorizontalAlignment="Right">
|
||||
<Path Data="M 1 1.5 L 6 1.5" Stroke="White" />
|
||||
<Path Data="M 0 0.5 L 5 0.5" Stroke="{TemplateBinding Foreground}" />
|
||||
<Path Data="M 0.5 4 L 6.5 4 L 3.5 7 Z" Fill="White" />
|
||||
<Path Data="M -0.5 3 L 5.5 3 L 2.5 6 Z" Fill="{TemplateBinding Foreground}" />
|
||||
</Canvas>
|
||||
</Border>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsMouseOver" Value="true">
|
||||
<Setter Property="Background" TargetName="Bd"
|
||||
Value="{StaticResource ToolBarButtonHover}" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsKeyboardFocused" Value="true">
|
||||
<Setter Property="Background" TargetName="Bd"
|
||||
Value="{StaticResource ToolBarButtonHover}" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsEnabled" Value="false">
|
||||
<Setter Property="Foreground" Value="{StaticResource ToolBarGripper}" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true">
|
||||
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
<SolidColorBrush x:Key="ToolBarMenuBorder" Color="#FFB6BDC5" />
|
||||
<SolidColorBrush x:Key="ToolBarSubMenuBackground" Color="#FFEEF5FD" />
|
||||
<Style x:Key="ToolBarThumbStyle" TargetType="{x:Type Thumb}">
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type Thumb}">
|
||||
<Border SnapsToDevicePixels="True" Padding="{TemplateBinding Padding}"
|
||||
Background="Transparent">
|
||||
<Rectangle>
|
||||
<Rectangle.Fill>
|
||||
<DrawingBrush ViewboxUnits="Absolute" ViewportUnits="Absolute"
|
||||
Viewport="0,0,4,4" Viewbox="0,0,4,4" TileMode="Tile">
|
||||
<DrawingBrush.Drawing>
|
||||
<DrawingGroup>
|
||||
<GeometryDrawing Brush="White" Geometry="M 1 1 L 1 3 L 3 3 L 3 1 z" />
|
||||
<GeometryDrawing Brush="{StaticResource ToolBarGripper}"
|
||||
Geometry="M 0 0 L 0 2 L 2 2 L 2 0 z" />
|
||||
</DrawingGroup>
|
||||
</DrawingBrush.Drawing>
|
||||
</DrawingBrush>
|
||||
</Rectangle.Fill>
|
||||
</Rectangle>
|
||||
</Border>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsMouseOver" Value="true">
|
||||
<Setter Property="Cursor" Value="SizeAll" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
</Style>
|
||||
<Style x:Key="ToolBarMainPanelBorderStyle" TargetType="{x:Type Border}">
|
||||
<Setter Property="Margin" Value="0,0,11,0" />
|
||||
<Setter Property="CornerRadius" Value="3,3,3,3" />
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true">
|
||||
<Setter Property="CornerRadius" Value="0,0,0,0" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
<Style x:Key="ToolBarStyle1" TargetType="{x:Type ToolBar}">
|
||||
<Setter Property="Background" Value="Transparent" />
|
||||
<Setter Property="Template">
|
||||
<Setter.Value>
|
||||
<ControlTemplate TargetType="{x:Type ToolBar}">
|
||||
<Grid x:Name="Grid" Margin="3,1,1,1" SnapsToDevicePixels="true">
|
||||
<Grid x:Name="OverflowGrid" HorizontalAlignment="Right">
|
||||
<ToggleButton x:Name="OverflowButton" ClickMode="Press" FocusVisualStyle="{x:Null}"
|
||||
IsChecked="{Binding IsOverflowOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
|
||||
IsEnabled="{TemplateBinding HasOverflowItems}"
|
||||
Style="{StaticResource ToolBarHorizontalOverflowButtonStyle}" />
|
||||
<Popup x:Name="OverflowPopup" AllowsTransparency="true" Focusable="false"
|
||||
IsOpen="{Binding IsOverflowOpen, RelativeSource={RelativeSource TemplatedParent}}"
|
||||
PopupAnimation="{DynamicResource {x:Static SystemParameters.ComboBoxPopupAnimationKey}}"
|
||||
Placement="Bottom" StaysOpen="false">
|
||||
<Border x:Name="ToolBarSubMenuBorder"
|
||||
BorderBrush="{StaticResource ToolBarMenuBorder}"
|
||||
BorderThickness="1"
|
||||
Background="{StaticResource ToolBarSubMenuBackground}"
|
||||
RenderOptions.ClearTypeHint="Enabled">
|
||||
<ToolBarOverflowPanel x:Name="PART_ToolBarOverflowPanel"
|
||||
KeyboardNavigation.DirectionalNavigation="Cycle"
|
||||
FocusVisualStyle="{x:Null}" Focusable="true"
|
||||
Margin="2"
|
||||
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
|
||||
KeyboardNavigation.TabNavigation="Cycle"
|
||||
WrapWidth="200" />
|
||||
</Border>
|
||||
</Popup>
|
||||
</Grid>
|
||||
<Border x:Name="MainPanelBorder" BorderBrush="{TemplateBinding BorderBrush}"
|
||||
BorderThickness="{TemplateBinding BorderThickness}"
|
||||
Background="{TemplateBinding Background}" Padding="{TemplateBinding Padding}"
|
||||
Style="{StaticResource ToolBarMainPanelBorderStyle}" HorizontalAlignment="Left"
|
||||
Margin="0" Width="532.6">
|
||||
<DockPanel KeyboardNavigation.TabIndex="1" KeyboardNavigation.TabNavigation="Local">
|
||||
<Thumb x:Name="ToolBarThumb" Margin="-3,-1,0,0" Padding="6,5,1,6"
|
||||
Style="{StaticResource ToolBarThumbStyle}" Width="10"
|
||||
Visibility="Collapsed" />
|
||||
<ContentPresenter x:Name="ToolBarHeader" ContentSource="Header"
|
||||
HorizontalAlignment="Center" Margin="4,0,4,0"
|
||||
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
|
||||
VerticalAlignment="Center" />
|
||||
<ToolBarPanel x:Name="PART_ToolBarPanel" IsItemsHost="true" Margin="0,1,2,2"
|
||||
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />
|
||||
</DockPanel>
|
||||
</Border>
|
||||
</Grid>
|
||||
<ControlTemplate.Triggers>
|
||||
<Trigger Property="IsOverflowOpen" Value="true">
|
||||
<Setter Property="IsEnabled" TargetName="ToolBarThumb" Value="false" />
|
||||
</Trigger>
|
||||
<Trigger Property="Header" Value="{x:Null}">
|
||||
<Setter Property="Visibility" TargetName="ToolBarHeader" Value="Collapsed" />
|
||||
</Trigger>
|
||||
<Trigger Property="ToolBarTray.IsLocked" Value="true">
|
||||
<Setter Property="Visibility" TargetName="ToolBarThumb" Value="Collapsed" />
|
||||
</Trigger>
|
||||
<Trigger Property="Orientation" Value="Vertical">
|
||||
<Setter Property="Margin" TargetName="Grid" Value="1,3,1,1" />
|
||||
<Setter Property="Style" TargetName="OverflowButton"
|
||||
Value="{StaticResource ToolBarVerticalOverflowButtonStyle}" />
|
||||
<Setter Property="Height" TargetName="ToolBarThumb" Value="10" />
|
||||
<Setter Property="Width" TargetName="ToolBarThumb" Value="Auto" />
|
||||
<Setter Property="Margin" TargetName="ToolBarThumb" Value="-1,-3,0,0" />
|
||||
<Setter Property="Padding" TargetName="ToolBarThumb" Value="5,6,6,1" />
|
||||
<Setter Property="Margin" TargetName="ToolBarHeader" Value="0,0,0,4" />
|
||||
<Setter Property="Margin" TargetName="PART_ToolBarPanel" Value="1,0,2,2" />
|
||||
<Setter Property="DockPanel.Dock" TargetName="ToolBarThumb" Value="Top" />
|
||||
<Setter Property="DockPanel.Dock" TargetName="ToolBarHeader" Value="Top" />
|
||||
<Setter Property="HorizontalAlignment" TargetName="OverflowGrid" Value="Stretch" />
|
||||
<Setter Property="VerticalAlignment" TargetName="OverflowGrid" Value="Bottom" />
|
||||
<Setter Property="Placement" TargetName="OverflowPopup" Value="Right" />
|
||||
<Setter Property="Margin" TargetName="MainPanelBorder" Value="0,0,0,11" />
|
||||
<Setter Property="Background" Value="{StaticResource ToolBarVerticalBackground}" />
|
||||
</Trigger>
|
||||
<Trigger Property="IsEnabled" Value="false">
|
||||
<Setter Property="Foreground"
|
||||
Value="{DynamicResource {x:Static SystemColors.GrayTextBrushKey}}" />
|
||||
</Trigger>
|
||||
</ControlTemplate.Triggers>
|
||||
</ControlTemplate>
|
||||
</Setter.Value>
|
||||
</Setter>
|
||||
<Style.Triggers>
|
||||
<DataTrigger Binding="{Binding Source={x:Static SystemParameters.HighContrast}}" Value="true">
|
||||
<Setter Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlBrushKey}}" />
|
||||
</DataTrigger>
|
||||
</Style.Triggers>
|
||||
</Style>
|
||||
</ResourceDictionary>
|
||||
</ResourceDictionary.MergedDictionaries>
|
||||
</ResourceDictionary>
|
||||
@@ -0,0 +1,20 @@
|
||||
<UserControl x:Class="ClassicAssist.UI.Views.Debug.DebugVendorBuyControl"
|
||||
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:local="clr-namespace:ClassicAssist.UI.Views.Debug"
|
||||
xmlns:debug="clr-namespace:ClassicAssist.Shared.UI.ViewModels.Debug;assembly=ClassicAssist.Shared"
|
||||
xmlns:resources="clr-namespace:ClassicAssist.Shared.Resources;assembly=ClassicAssist.Shared"
|
||||
xmlns:misc="clr-namespace:ClassicAssist.UI.Misc"
|
||||
mc:Ignorable="d"
|
||||
d:DesignHeight="450" d:DesignWidth="800">
|
||||
<UserControl.DataContext>
|
||||
<debug:DebugVendorBuyViewModel />
|
||||
</UserControl.DataContext>
|
||||
<DockPanel Margin="10">
|
||||
<CheckBox IsChecked="{Binding IsEnabled}" Content="{x:Static resources:Strings.Enabled}" DockPanel.Dock="Top"
|
||||
Margin="0,0,0,10" />
|
||||
<ListBox ItemsSource="{Binding Messages}" misc:ListBoxBehavior.ScrollOnNewItem="True" />
|
||||
</DockPanel>
|
||||
</UserControl>
|
||||
@@ -0,0 +1,15 @@
|
||||
using System.Windows.Controls;
|
||||
|
||||
namespace ClassicAssist.UI.Views.Debug
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for DebugVendorBuyControl.xaml
|
||||
/// </summary>
|
||||
public partial class DebugVendorBuyControl : UserControl
|
||||
{
|
||||
public DebugVendorBuyControl()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user