-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Created GraphLib project and moved functionality from ScenariumEditor…
….NET Extracted various UI elements and their functionality from ScenariumEditor.NET into a new project named GraphLib. The Node, controls, and Util classes now reside in GraphLib under corresponding namespaces. The movement also included xaml style files and adjustments in namespaces and ProjectReferences in csproj files where necessary.
- Loading branch information
Showing
17 changed files
with
100 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>net8.0-windows</TargetFramework> | ||
<LangVersion>latest</LangVersion> | ||
<UseWPF>true</UseWPF> | ||
<ImplicitUsings>enable</ImplicitUsings> | ||
<Nullable>disable</Nullable> | ||
<RootNamespace>GraphLib</RootNamespace> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Page Update="Styles\Basic.xaml"> | ||
<Generator>MSBuild:Compile</Generator> | ||
</Page> | ||
<Page Update="Styles\Styles.xaml"> | ||
<Generator>MSBuild:Compile</Generator> | ||
</Page> | ||
<Page Update="Styles\Button.xaml"> | ||
<Generator>MSBuild:Compile</Generator> | ||
</Page> | ||
<Page Update="Controls\NodeControl.xaml"> | ||
<Generator>MSBuild:Compile</Generator> | ||
<XamlRuntime>Wpf</XamlRuntime> | ||
<SubType>Designer</SubType> | ||
</Page> | ||
</ItemGroup> | ||
|
||
</Project> |
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
...ScenariumEditor.NET/Utils/BindingProxy.cs → ...Editor.NET/GraphLib/Utils/BindingProxy.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ET/ScenariumEditor.NET/Utils/Xtensions.cs → ...iumEditor.NET/GraphLib/Utils/Xtensions.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,4 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" | ||
xmlns:system="clr-namespace:System;assembly=System.Runtime"> | ||
|
||
<BooleanToVisibilityConverter x:Key="BoolToVis" /> | ||
<Brush x:Key="HighlightOverlayBrush">#6FFF</Brush> | ||
|
||
<Brush x:Key="Yellow">#E9BB35</Brush> | ||
<Brush x:Key="Green">#53A957</Brush> | ||
<Brush x:Key="Blue">#34A0F6</Brush> | ||
<Brush x:Key="Red">#ED5353</Brush> | ||
|
||
<Brush x:Key="LiteYellow">#FFDD80</Brush> | ||
<Brush x:Key="LiteGreen">#80FF84</Brush> | ||
<Brush x:Key="LiteBlue">#80C8FF</Brush> | ||
<Brush x:Key="LiteRed">#FF8080</Brush> | ||
|
||
<Brush x:Key="DarkYellow">#996A34</Brush> | ||
<Brush x:Key="DarkGreen">#376E37</Brush> | ||
<Brush x:Key="DarkBlue">#2A68A9</Brush> | ||
<Brush x:Key="DarkRed">#A32A2A</Brush> | ||
|
||
<Brush x:Key="DarkWhite">#BCBCBC</Brush> | ||
<Brush x:Key="Gray">#333333</Brush> | ||
|
||
<Brush x:Key="DarkerGray">#222</Brush> | ||
<Brush x:Key="DarkGray">#131313</Brush> | ||
|
||
|
||
<CornerRadius x:Key="CornerRadius">5</CornerRadius> | ||
|
||
<Style TargetType="Border" > | ||
<Setter Property="SnapsToDevicePixels" Value="True" /> | ||
</Style> | ||
|
||
|
||
<Style TargetType="Label"> | ||
<Setter Property="Margin" Value="2"></Setter> | ||
<Setter Property="Padding" Value="0"></Setter> | ||
<Setter Property="Foreground" Value="#D5D5D5"></Setter> | ||
</Style> | ||
|
||
|
||
|
||
<Style TargetType="Path" x:Key="DefaultPath"> | ||
<Setter Property="Stretch" Value="Fill" /> | ||
<Setter Property="StrokeThickness" Value="1.5" /> | ||
<Setter Property="Stroke" Value="MediumVioletRed" /> | ||
</Style> | ||
|
||
|
||
<Style TargetType="Path" x:Key="CrossPath" BasedOn="{StaticResource DefaultPath}"> | ||
<Setter Property="Data" Value="M 0,0 L 1,1 M 0,1 L 1,0" /> | ||
</Style> | ||
|
||
<Style TargetType="Path" BasedOn="{StaticResource DefaultPath}" /> | ||
|
||
|
||
</ResourceDictionary> | ||
Source="pack://application:,,,/GraphLib;component/Styles/Styles.xaml" /> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | ||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | ||
<ResourceDictionary.MergedDictionaries> | ||
<ResourceDictionary Source="Basic.xaml" /> | ||
<ResourceDictionary Source="Button.xaml" /> | ||
<ResourceDictionary Source="Window.xaml" /> | ||
</ResourceDictionary.MergedDictionaries> | ||
</ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters