Merge pull request #673 from irihitech/resource
replace Color Resources
This commit is contained in:
@@ -4,6 +4,7 @@ using Avalonia.Data.Converters;
|
||||
|
||||
namespace Ursa.Converters;
|
||||
|
||||
[Obsolete("This converter is deprecated. Use CornerRadiusMixerConverter instead.")]
|
||||
[Flags]
|
||||
public enum CornerRadiusPosition
|
||||
{
|
||||
@@ -17,6 +18,7 @@ public enum CornerRadiusPosition
|
||||
Bottom = 12,
|
||||
}
|
||||
|
||||
[Obsolete("This converter is deprecated. Use CornerRadiusMixerConverter instead.")]
|
||||
public class CornerRadiusIncludeConverter(CornerRadiusPosition position) : IValueConverter
|
||||
{
|
||||
public static CornerRadiusIncludeConverter TopLeft { get; } = new( CornerRadiusPosition.TopLeft );
|
||||
@@ -47,6 +49,7 @@ public class CornerRadiusIncludeConverter(CornerRadiusPosition position) : IValu
|
||||
}
|
||||
}
|
||||
|
||||
[Obsolete("This converter is deprecated. Use CornerRadiusMixerConverter instead.")]
|
||||
public class CornerRadiusExcludeConverter : IValueConverter
|
||||
{
|
||||
public static CornerRadiusExcludeConverter TopLeft { get; } = new( CornerRadiusPosition.TopLeft );
|
||||
|
||||
@@ -4,6 +4,7 @@ using Avalonia.Data.Converters;
|
||||
|
||||
namespace Ursa.Converters;
|
||||
|
||||
[Obsolete("This converter is deprecated. Use ThicknessMixerConverter instead.")]
|
||||
[Flags]
|
||||
public enum ThicknessPosition
|
||||
{
|
||||
@@ -17,6 +18,7 @@ public enum ThicknessPosition
|
||||
BottomRight = 12,
|
||||
}
|
||||
|
||||
[Obsolete("This converter is deprecated. Use ThicknessMixerConverter instead.")]
|
||||
public class ThicknessExcludeConverter(ThicknessPosition position) : IValueConverter
|
||||
{
|
||||
public static ThicknessExcludeConverter Left { get; } = new( ThicknessPosition.Left );
|
||||
@@ -48,6 +50,7 @@ public class ThicknessExcludeConverter(ThicknessPosition position) : IValueConve
|
||||
}
|
||||
}
|
||||
|
||||
[Obsolete("This converter is deprecated. Use ThicknessMixerConverter instead.")]
|
||||
public class ThicknessIncludeConverter(ThicknessPosition position) : IValueConverter
|
||||
{
|
||||
public static ThicknessIncludeConverter Left { get; } = new( ThicknessPosition.Left );
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Avalonia" Version="$(AvaloniaVersion)"/>
|
||||
<PackageReference Include="Irihi.Avalonia.Shared" Version="0.2.3" />
|
||||
<PackageReference Include="Irihi.Avalonia.Shared.Contracts" Version="0.2.3" />
|
||||
<PackageReference Include="Irihi.Avalonia.Shared" Version="0.3.0" />
|
||||
<PackageReference Include="Irihi.Avalonia.Shared.Contracts" Version="0.3.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
||||
Reference in New Issue
Block a user