diff --git a/StructureHelper/Infrastructure/UI/DataContexts/PrimitiveBase.cs b/StructureHelper/Infrastructure/UI/DataContexts/PrimitiveBase.cs index b280374..39f4dbd 100644 --- a/StructureHelper/Infrastructure/UI/DataContexts/PrimitiveBase.cs +++ b/StructureHelper/Infrastructure/UI/DataContexts/PrimitiveBase.cs @@ -267,6 +267,7 @@ namespace StructureHelper.Infrastructure.UI.DataContexts OnPropertyChanged(nameof(Color)); OnPropertyChanged(nameof(CenterX)); OnPropertyChanged(nameof(CenterY)); + OnPropertyChanged(nameof(InvertedCenterY)); OnPropertyChanged(nameof(SetMaterialColor)); OnPropertyChanged(nameof(Triangulate)); OnPropertyChanged(nameof(PrimitiveWidth)); diff --git a/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Calculator.png b/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Calculator.png new file mode 100644 index 0000000..33374c6 Binary files /dev/null and b/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Calculator.png differ diff --git a/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Add_Circle.png b/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Circle.png similarity index 100% rename from StructureHelper/Infrastructure/UI/Icons/32х32_Border/Add_Circle.png rename to StructureHelper/Infrastructure/UI/Icons/32х32_Border/Circle.png diff --git a/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Move primitives to center.png b/StructureHelper/Infrastructure/UI/Icons/32х32_Border/MovePrimitivesToCenter.png similarity index 100% rename from StructureHelper/Infrastructure/UI/Icons/32х32_Border/Move primitives to center.png rename to StructureHelper/Infrastructure/UI/Icons/32х32_Border/MovePrimitivesToCenter.png diff --git a/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Edit_Add point.png b/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Point.png similarity index 100% rename from StructureHelper/Infrastructure/UI/Icons/32х32_Border/Edit_Add point.png rename to StructureHelper/Infrastructure/UI/Icons/32х32_Border/Point.png diff --git a/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Edit_Concrete beam.png b/StructureHelper/Infrastructure/UI/Icons/32х32_Border/RC_Beam.png similarity index 100% rename from StructureHelper/Infrastructure/UI/Icons/32х32_Border/Edit_Concrete beam.png rename to StructureHelper/Infrastructure/UI/Icons/32х32_Border/RC_Beam.png diff --git a/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Edit_Concrete column.png b/StructureHelper/Infrastructure/UI/Icons/32х32_Border/RC_Column.png similarity index 100% rename from StructureHelper/Infrastructure/UI/Icons/32х32_Border/Edit_Concrete column.png rename to StructureHelper/Infrastructure/UI/Icons/32х32_Border/RC_Column.png diff --git a/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Add_Rebar.png b/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Rebar.png similarity index 100% rename from StructureHelper/Infrastructure/UI/Icons/32х32_Border/Add_Rebar.png rename to StructureHelper/Infrastructure/UI/Icons/32х32_Border/Rebar.png diff --git a/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Run.png b/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Run.png new file mode 100644 index 0000000..d1d50e4 Binary files /dev/null and b/StructureHelper/Infrastructure/UI/Icons/32х32_Border/Run.png differ diff --git a/StructureHelper/StructureHelper.csproj b/StructureHelper/StructureHelper.csproj index 944f740..71ec422 100644 --- a/StructureHelper/StructureHelper.csproj +++ b/StructureHelper/StructureHelper.csproj @@ -25,6 +25,8 @@ + + @@ -33,10 +35,13 @@ + + + @@ -75,9 +80,12 @@ + + + Always @@ -89,8 +97,10 @@ + + diff --git a/StructureHelper/Windows/MainWindow/Calculator.png b/StructureHelper/Windows/MainWindow/Calculator.png new file mode 100644 index 0000000..33374c6 Binary files /dev/null and b/StructureHelper/Windows/MainWindow/Calculator.png differ diff --git a/StructureHelper/Windows/MainWindow/Circle.png b/StructureHelper/Windows/MainWindow/Circle.png new file mode 100644 index 0000000..5b22c6e Binary files /dev/null and b/StructureHelper/Windows/MainWindow/Circle.png differ diff --git a/StructureHelper/Windows/MainWindow/MainView.xaml b/StructureHelper/Windows/MainWindow/MainView.xaml index 17084c4..c9e1d42 100644 --- a/StructureHelper/Windows/MainWindow/MainView.xaml +++ b/StructureHelper/Windows/MainWindow/MainView.xaml @@ -11,6 +11,7 @@ xmlns:local="clr-namespace:StructureHelper.Windows.MainWindow" xmlns:enums="clr-namespace:StructureHelper.Infrastructure.Enums" xmlns:i="http://schemas.microsoft.com/expression/2010/interactivity" + xmlns:sys="clr-namespace:System;assembly=mscorlib" mc:Ignorable="d" d:DataContext="{d:DesignInstance local:MainViewModel}" Title="StructureHelper" Height="700" Width="1000" MinHeight="400" MinWidth="600"> @@ -21,7 +22,6 @@ - @@ -33,50 +33,72 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -96,7 +118,7 @@ + + + + + + + + @@ -188,14 +226,7 @@ - - - -